Please enable JavaScript to view this site.

IDS Software Suite 4.96.1

Windows_Logo
Linux_Logo

USB 2.0

USB 3.x

GigE

USB 2.0

USB 3.x

GigE

Syntax

INT is_SetHardwareGamma (HIDS hCam, INT nMode)

Description

is_SetHardwareGamma() enables the hardware gamma correction with a fixed gamma value which is supported by some sensors.

For further information on gamma correction see Characteristics and LUT.

hint_info

Hardware gamma correction is currently supported by the following models:

UI-122x/UI-322x/UI-522x

UI-124x/UI-324x/UI-524x

UI-125x/UI-325x/UI-525x

UI-1007XS

hint_attention

After enabling/disabling hardware sensor gamma correction, the white balance needs to be readjusted for color sensors (see is_SetAutoParameter()).

Input parameters

hCam

Camera handle

Return values

When used with

IS_GET_HW_GAMMA

Current setting

When used with

IS_GET_HW_SUPPORTED_GAMMA

IS_SET_HW_GAMMA_ON
The camera supports hardware gamma correction.

IS_SET_HW_GAMMA_OFF
The camera does not support hardware gamma correction.

IS_CANT_COMMUNICATE_WITH_DRIVER

Communication with the driver failed because no driver has been loaded.

IS_CANT_OPEN_DEVICE

An attempt to initialize or select the camera failed (no camera connected or initialization error).

IS_INVALID_CAMERA_HANDLE

Invalid camera handle

IS_INVALID_MODE

Camera is in standby mode, function not allowed

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_IO_REQUEST_FAILED

An IO request from the uEye driver failed. Possibly the versions of the ueye_api.dll (API) and the driver file (ueye_usb.sys or ueye_eth.sys) do not match.

IS_NO_SUCCESS

General error message

IS_NOT_SUPPORTED

The camera model used here does not support this function or setting.

IS_NULL_POINTER

Invalid array

IS_SUCCESS

Function executed successfully

Related functions

is_Gamma()

© 2022 IDS Imaging Development Systems GmbH