is_SetSaturation

uEye Camera Manual Version 4.92


is_SetSaturation

Windows_Logo
Linux_Logo

USB 2.0

USB 3.0

GigE

USB 2.0

USB 3.0

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.

hint_info

To control color saturation in UI-3013XC, 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
IS_GET_SATURATION_U
IS_GET_SATURATION_V

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

•is_SetColorMode()

•is_SetColorCorrection()

•is_SetHardwareGamma()

•is_SetColorConverter()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!
For technical questions please contact your local distributor or use the support form on our website.


© 2019 IDS Imaging Development Systems GmbH
https://en.ids-imaging.com