Home > C: Programming > Function Descriptions > History back  Previous chapter  Next chapter  Print  

is_SetSaturation

uEye Camera Manual Version 3.80

is_SetSaturation

Windows_Logo

Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_SetSaturation (HIDS hCam, INT ChromU, INT ChromV)

Description

Using is_SetSaturation(), you can set the software color saturation.

Hinweis

To control color saturation in USB uEye XS cameras, use the is_Saturation() function.

Hinweis

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.

Input Parameters

hCam

Camera handle

ChromU

U saturation: value multiplied by 100.

Range: [IS_MIN_SATURATIONIS_MAX_SATURATION]

IS_GET_SATURATION_U

Returns the current value for the U saturation.

ChromV

V saturation: value multiplied by 100.

Range: [IS_MIN_SATURATIONIS_MAX_SATURATION]

IS_GET_SATURATION_V

Returns the current value for the V saturation.

Return Values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Current setting when used together with
IS_GET_SATURATION_U
IS_GET_SATURATION_V


IS_INVALID_PARAMETER

Invalid value for the ChromU or ChromV parameter.

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!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com