UINT32 GevGetPixelDepthInBits(UINT32 pixelType);

Description

Returns the number of bits taken up by a single color component in a pixel for the input raw (GigE Vision) image format. It is intended for simplifying display and LUT functions.

Note: YUV composite color pixel formats need to be converted to an RGB equivalent. The various Y/U/V packed combinations may be (incorrectly) treated as 8 bit data.

Parameters

pixelType

GigE Vision pixel data format.

Return Value

UINT32

The depth of the pixel in bits

Related Topics

Utility Functions