Pylon::SPixelData#
Describes the data of one pixel.
#include <pylon/PixelData.h>
Public Types#
Name | |
---|---|
enum | EPixelDataType |
Public Functions#
Name | |
---|---|
SPixelData() Construct and clear. | |
~SPixelData() | |
bool | operator==(const SPixelData & rhs) Compares pixel data. |
bool | operator!=(const SPixelData & rhs) Compares pixel data. |
Public Attributes#
Name | |
---|---|
EPixelDataType | PixelDataType The type of pixel data held. |
uint32_t | BitDepth The bit depth of the data held. |
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. |
int | Y Brightness. |
int | U Chroma U. |
int | V Chroma V. |
struct Pylon::SPixelData::@0::@1 | YUV Pixel data of YUV images. |
int | R Red. |
int | G Green. |
int | B Blue. |
struct Pylon::SPixelData::@0::@2 | RGB Pixel data of RGB or BGR images. |
int | A Transparency. |
struct Pylon::SPixelData::@0::@3 | RGBA Pixel data of RGB or BGR images with an alpha channel. |
union Pylon::SPixelData::@0 | Data Holds all types of pixel data. |
Public Types Documentation#
enum EPixelDataType#
Enumerator | Value | Description |
---|---|---|
PixelDataType_Unknown | Will be returned, if the pixel data cannot be determined. | |
PixelDataType_Mono | Pixel data of monochrome images. | |
PixelDataType_YUV | Pixel data of YUV images. | |
PixelDataType_RGB | Pixel data of RGB or BGR images. | |
PixelDataType_RGBA | Pixel data of RGB or BGR images with alpha channel. | |
PixelDataType_BayerR | Pixel data of a red pixel of bayer images. | |
PixelDataType_BayerG | Pixel data of a green pixel of bayer images. | |
PixelDataType_BayerB | Pixel data of a blue pixel of bayer images. |
Lists the possible pixel data types. Do not confound this enumeration with the Pylon::PixelType enumeration that lists all pixel formats.
Public Functions Documentation#
SPixelData#
inline SPixelData()
Construct and clear.
~SPixelData#
inline ~SPixelData()
operator==#
inline bool operator==(
const SPixelData & rhs
)
Compares pixel data.
operator!=#
inline bool operator!=(
const SPixelData & rhs
)
Compares pixel data.
Public Attributes Documentation#
PixelDataType#
EPixelDataType PixelDataType;
The type of pixel data held.
BitDepth#
uint32_t BitDepth;
The bit depth of the data held.
Mono#
int Mono;
Pixel data of monochrome images.
BayerR#
int BayerR;
Pixel data of a red pixel of bayer images.
BayerG#
int BayerG;
Pixel data of a green pixel of bayer images.
BayerB#
int BayerB;
Pixel data of a blue pixel of bayer images.
Y#
int Y;
Brightness.
U#
int U;
Chroma U.
V#
int V;
Chroma V.
YUV#
struct Pylon::SPixelData::@0::@1 YUV;
Pixel data of YUV images.
R#
int R;
Red.
G#
int G;
Green.
B#
int B;
Blue.
RGB#
struct Pylon::SPixelData::@0::@2 RGB;
Pixel data of RGB or BGR images.
A#
int A;
Transparency.
RGBA#
struct Pylon::SPixelData::@0::@3 RGBA;
Pixel data of RGB or BGR images with an alpha channel.
Data#
union Pylon::SPixelData::@0 Data;
Holds all types of pixel data.
Updated on 5 July 2022 at 15:30:01