TcVnPixelFormat
Contains detailed information about the pixel format.
Syntax
Definition:
TYPE TcVnPixelFormat :
STRUCT
bSupported : BIT;
bSigned : BIT;
bPlanar : BIT;
bFloat : BIT;
nChannels : BYTE;
ePixelEncoding : ETcVnPixelEncoding;
ePixelPackMode : ETcVnPixelPackMode;
nElementSize : UINT;
nTotalSize : UINT;
END_STRUCT
END_TYPE
Parameters
Name |
Type |
Description |
---|---|---|
bSupported |
BIT |
If false, the pixel format is not supported. |
bSigned |
BIT |
If true, pixel intensities are signed values. |
bPlanar |
BIT |
If true, the image channels are stored planar instead of interleaved (e.g. RRRRRGGGGGBBBBB instead of RGBRGBRGBRGBRGB). |
bFloat |
BIT |
If true, the pixel format is floating point. |
nChannels |
BYTE |
Number of channels |
ePixelEncoding |
Pixel encoding | |
ePixelPackMode |
Pixel pack mode | |
nElementSize |
UINT |
Size (bit) of a single pixel channel |
nTotalSize |
UINT |
Size (bit) of all pixel channels |