Describes the data of one pixel. More...
#include <pylon/PixelData.h>
Public Member Functions | |
SPixelData () | |
Construct and clear. | |
bool | operator== (const SPixelData &rhs) |
Compares pixel data. | |
bool | operator!= (const SPixelData &rhs) |
Compares pixel data. | |
Public Attributes | |
EPixelDataType | PixelDataType |
The type of pixel data held. | |
uint32_t | BitDepth |
The bit depth of the data held. | |
union { | |
int Mono | |
Pixel data of monochrome images. | |
int BayerR | |
Pixel data of a red pixel of bayer images. | |
int BayerG | |
Pixel data of a green pixel of bayer images. | |
int BayerB | |
Pixel data of a blue pixel of bayer images. | |
struct { | |
int Y | |
Brightness. | |
int U | |
Chroma U. | |
int V | |
Chroma V. | |
} YUV | |
Pixel data of YUV images. | |
struct { | |
int R | |
Red. | |
int G | |
Green. | |
int B | |
Blue. | |
} RGB | |
Pixel data of RGB or BGR images. | |
struct { | |
int R | |
Red. | |
int G | |
Green. | |
int B | |
Blue. | |
int A | |
Transparency. | |
} RGBA | |
Pixel data of RGB or BGR images with an alpha channel. | |
} | Data |
Holds all types of pixel data. | |
Describes the data of one pixel.
Lists the possible pixel data types. Do not confound this enumeration with the Pylon::PixelType enumeration that lists all pixel formats.