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

is_SetSaturation

uEye Camera Manual Version 4.00

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.

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_SATURATION … IS_MAX_SATURATION]

IS_GET_SATURATION_U

Returns the current value for the U saturation.

ChromV

V saturation: value multiplied by 100.

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 you local distributor or use the support form on our website.


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