UINT32 GevGetBayerAsRGBPixelType(UINT32 pixelType);

Description

Returns a color (RGB) pixel type corresponding to the output of a simple Bayer to color conversion function. Color component bit depth are preserved. It is intended to assist in allocating space for a converted image and to provide an output format for the Bayer conversion function to use.  

(If the input pixel type is not recognized as Bayer, then fmtRGBA8Packed will be returned.)

Parameters

pixelType

GigE Vision pixel data format (packed).

Return Value

UINT32

The RGB pixel format corresponding to the input format when it is converted.

(e.g. fmtBayerBG12 becomes fmtRGB12Packed)

Related Topics

Utility Functions