USB 2.0 USB 3.x GigE |
USB 2.0 USB 3.x GigE |
Syntax
INT is_SetSaturation (HIDS hCam, INT ChromU, INT ChromV)
Description
Using is_SetSaturation(), you can set the software color saturation.
In the YUV format, color information (i.e. the color difference signals) is provided by the U and V channels. In the U channel, this information results from the difference between the blue level and Y (luminance), in the V channel from the difference between the red level and Y.
For use in other color formats than YUV, U and V are converted using a driver matrix.
To control color saturation in UI-1007XS, use the is_Saturation() function. |
Input parameters
hCam |
Camera handle |
ChromU |
U saturation: value multiplied by 100. This is the default value which corresponds to a factor of 1.0. Range: [IS_MIN_SATURATION … IS_MAX_SATURATION] |
IS_GET_SATURATION_U |
Returns the current value for the U saturation. |
ChromV |
V saturation: value multiplied by 100. This is the default value which corresponds to a factor of 1.0. Range: [IS_MIN_SATURATION … IS_MAX_SATURATION] |
IS_GET_SATURATION_V |
Returns the current value for the V saturation. |
Return values
When used with |
Current setting |
IS_INVALID_CAMERA_HANDLE |
Invalid camera handle |
IS_INVALID_PARAMETER |
One of the submitted parameters is outside the valid range or is not supported for this sensor or is not available in this mode. |
IS_NO_SUCCESS |
General error message |
IS_SUCCESS |
Function executed successfully |
Related functions