VCEANCB_setSaturation
The VCEANCB_setSaturation sets saturation adjustment level.
VCEANCB_Error VCEANCB_setSaturation ( HANDLE hVCEANCB, // Handle to card signed char saturation // Saturation level );
Parameter:
- hVCEANCB
- [in] Handle to FrameGrabber.
- contrast
- [in] Saturation 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 sets saturation adjustment level.
Constant | Value | Description |
---|---|---|
VCEANCB_SaturationMax | 127 | Maximum saturation level (equal to 1.984) |
VCEANCB_SaturationMin | 0 | Minimum saturation level (equal to 0.0) |
VCEANCB_SaturationDef | 64 | ITU saturation level (equal to 1.0) |