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

is_SetGamma

uEye Camera Manual Version 3.80

is_SetGamma

Windows_Logo

Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_SetGamma (HIDS hCam, INT nGamma)

Description

is_SetGamma() enables digital gamma correction which applies a gamma characteristic to the image. When hardware color conversion is used on GigE uEye HE cameras the gamma correction is performed in the camera hardware as well. When the color conversion is performed in the PC (software conversion) the gamma correction is performed in software.

Hinweis

When the color format is set to Raw Bayer the gamma correction can not be used.

Hinweis

Typical values for gamma range between 1.6 and 2.2.

Input Parameters

hCam

Camera handle

nGamma

Gamma value to be set, multiplied by 100
(Range: 1…1000.
Default = 100, corresponds to a gamma value of 1.0)

IS_GET_GAMMA

Returns the current setting.

Return Values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Current setting when used together with
IS_GET_GAMMA


Related Functions

is_SetHardwareGamma()

See also:

Programming: 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