UINT32 GevGetConvertedPixelType(int convertBayer, UINT32 pixelType);

Description

Returns the converted pixel type that will result from the default processing applied during the acquisition process. If convertBayer is 1 (True), then the output converted pixel type for both Bayer and PackedBayer formats will be a corresponding RGB format.  If convertBayer is 0 (False), then the output converted pixel type for both Bayer and PackedBayer formats will be the Bayer format itself. Packed Monochrome formats will output their unpacked equivalent.

(This is a combination of the previous functions GevGetUnpackedPixelType and GevGetBayerAsRGBPixelType)

Parameters

pixelType

GigE Vision pixel data format (packed).

Return Value

UINT32

The converted pixel type that the acquisition process will supply.

(e.g. fmtBayerBG12Packed becomes fmtBayerBG12)

Related Topics

Utility Functions