Is_Setgamma - THORLABS DCU223x Operation Manual And Sdk

Cdd and cmos cameras
Hide thumbs Also See for DCU223x:
Table of Contents

Advertisement

DCx Cameras

4.3.86 is_SetGamma

USB 2.0
USB 3.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.
Notes
1. When the color format is set to Raw Bayer the gamma correction can not be used.
2. Typical values for gamma range between 1.6 and 2.2.
Input parameters
hCam
nGamma
IS_GET_GAMMA
Return values
When used with
IS_GET_GAMMA
IS_CANT_COMMUNICATE_WITH_DRIVER
IS_CANT_OPEN_DEVICE
IS_INVALID_CAMERA_HANDLE
IS_INVALID_PARAMETER
IS_IO_REQUEST_FAILED
IS_NO_SUCCESS
IS_NOT_SUPPORTED
IS_SUCCESS
See also:
Basics:
Characteristics and LUT
Basics:
Color filter (Bayer filter)
Programming:
is_SetColorConverter()
332
USB 2.0
USB 3.0
GigE
39
26
315
Camera handle
Gamma value to be set, multiplied by 100
(Range: 1...1000.
Default = 100, corresponds to a gamma value of 1.0)
Returns the current setting.
Current setting
Communication with the driver failed because no driver
has been loaded.
An attempt to initialize or select the camera failed (no
camera connected or initialization error).
Invalid camera handle
One of the submitted parameters is outside the valid
range or is not supported for this sensor or is not
available in this mode.
An IO request from the uc480 driver failed. Possibly the
versions of the uc480_api.dll (API) and the driver file
(uc480_usb.sys) do not match.
General error message
The camera model used here does not support this
function or setting.
Function executed successfully
© 2013 Thorlabs GmbH

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents