![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
Represents a pixel with a given bit depth. More...
#include <pixel_format.hpp>
Public Types | |
using | representation = typename PixelRepresentation< BitDepth >::type |
The integral type used to represent pixel values at this bit depth. | |
Static Public Member Functions | |
static constexpr uint64_t | max () |
Returns the maximum representable pixel value for this bit depth. | |
static constexpr uint64_t | min () |
Returns the minimum representable pixel value (always zero). | |
Represents a pixel with a given bit depth.
Provides the underlying integral representation type for the pixel data, along with compile-time constants for minimum and maximum representable values.
BitDepth | Number of bits per pixel. |
Definition at line 77 of file pixel_format.hpp.
using irsol::camera::Pixel< BitDepth >::representation = typename PixelRepresentation<BitDepth>::type |
The integral type used to represent pixel values at this bit depth.
Definition at line 80 of file pixel_format.hpp.
|
inlinestaticconstexpr |
Returns the maximum representable pixel value for this bit depth.
Computed as (2^BitDepth) - 1.
Definition at line 89 of file pixel_format.hpp.
|
inlinestaticconstexpr |
Returns the minimum representable pixel value (always zero).
Definition at line 99 of file pixel_format.hpp.