Skip to content

Pylon::SPixelData#

Module: Image Handling Support

Describes the data of one pixel.

#include <pylon/PixelData.h>

Public Types#

Name
enum EPixelDataType

Public Functions#

Name
SPixelData()
Construct and clear.
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#

function SPixelData#

inline SPixelData()

Construct and clear.

function operator==#

inline bool operator==(
    const SPixelData & rhs
)

Compares pixel data.

function operator!=#

inline bool operator!=(
    const SPixelData & rhs
)

Compares pixel data.

Public Attributes Documentation#

variable PixelDataType#

EPixelDataType PixelDataType;

The type of pixel data held.

variable BitDepth#

uint32_t BitDepth;

The bit depth of the data held.

variable Mono#

int Mono;

Pixel data of monochrome images.

variable BayerR#

int BayerR;

Pixel data of a red pixel of bayer images.

variable BayerG#

int BayerG;

Pixel data of a green pixel of bayer images.

variable BayerB#

int BayerB;

Pixel data of a blue pixel of bayer images.

variable Y#

int Y;

Brightness.

variable U#

int U;

Chroma U.

variable V#

int V;

Chroma V.

variable YUV#

struct Pylon::SPixelData::@0::@1                     YUV;

Pixel data of YUV images.

variable R#

int R;

Red.

variable G#

int G;

Green.

variable B#

int B;

Blue.

variable RGB#

struct Pylon::SPixelData::@0::@2                     RGB;

Pixel data of RGB or BGR images.

variable A#

int A;

Transparency.

variable RGBA#

struct Pylon::SPixelData::@0::@3                     RGBA;

Pixel data of RGB or BGR images with an alpha channel.

variable Data#

union Pylon::SPixelData::@0             Data;

Holds all types of pixel data.