VCEANCB_setGamma

ImperX VCEANCB Functions

VCEANCB_setGamma

The VCEANCB_setGamma sets gamma correction.

VCEANCB_Error VCEANCB_setGamma (
  HANDLE hVCEANCB, // Handle to card
  float gamma // Gamma correction level
);

Parameter:

hVCEANCB
[in] Handle to FrameGrabber.
gamma
[in] Gamma correction level

Return values:

If function succeeds, the return value is VCEANCB_Err_Success.

If function fails, the return value can be one of the following values.

VCEANCB_Err_badArgument hVCEANCB handle or pCameraConfig pointer is bad (possibly NULL).
VCEANCB_Err_UnknownError Error is unknown (possibly system error). To get extended error information, call VCEANCB_SystemLastError.

Remarks:

This function rebuilds lookup table with new gamma correction.

 
Constant Value Description
VCEANCB_SaturationDef 1.0f Normal gamma correction.

See also:

VCEANCB_Prepare, VCEANCB_CameraConfig