© 2016 Thorlabs Scientific Imaging216
DCx Camera Functional Description and SDK Manual
4.3.30 is_Gamma
Syntax
INT is_Gamma(HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
is_Gamma() 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.
When the color format is set to Raw Bayer the gamma correction can not be used.
Typical values for gamma range between 1.6 and 2.2.
The nCommand input parameter is used to select the function mode. The pParam input parameter
depends on the selected function mode. If you select functions for setting or returning a value,
pParam contains a pointer to a variable of the UINT type. The size of the memory area to which
pParam refers is specified in the cbSizeOfParam input parameter.
Note: The following function is obsolete by the is_Gamma() function:
is_SetGamma()
See also: Obsolete functions
Input parameters
Gamma value to be set, multiplied by 100
(Range: 1…1000)
Example 1
Returns the standard gamma value (Default =
100, corresponds to a gamma value of 1.0)
Example 2
Returns the current set gamma value
Example 3
Pointer to a function parameter, whose
function depends on nCommand.
Size (in bytes) of the memory area to
which pParam refers.