Please enable JavaScript to view this site.

uEye DirectShow 4.97

Syntax

SetRGB8ColorMode (long lMode)

Description

SetRGB8ColorMode sets the color mode that is used if RGB8 was selected as the media type.

hint_info

DirectShow does not support the Raw Bayer format. Monochrome image data is stored in the RGB8 image format (media type). To access image data in the Raw Bayer format with uEye color cameras, you can use the SetRGB8ColorMode function to select whether the image data is to be saved in the Raw Bayer format or monochrome format.

hint_info

With monochrome cameras, RGB8ColorMode must be set to Y8 (lmode = 6).

After calling up SetRGB8ColorMode, the media type must be set to RGB8 with IAMStreamConfig::SetFormat (see IAMStreamConfig).

Parameter

lMode

Sets the color mode:

11 = Raw Bayer (for color cameras only)

6 = Y8/monochrome (for color and monochrome cameras)

Interface

IuEyeCapturePin

Related functions

GetRGB8ColorMode