Supported by ...


All Pixelink cameras.


Description


Gamma controls the contrast in the image and is typically used in microscopy to improve the perceived dynamic range. The linear output of the camera is modified by translating pixel values according to a logarithmic curve.  Gamma with a value of one is a linear translation and is perceived as having too much contrast.  For images viewed on a LCD monitor, a gamma of 2.2 improves the image contrast.


High or low values of gamma will result in missing codes in the image histogram.


The Gamma curve is applied internally in the camera in the form of a calculated look up table – the same table used by the Look Up Table feature.  When the Gamma feature is activated, the Look Up Table feature is disabled and vice versa.


API Control

PxLGetFeaturePxLSetFeature


Feature IDNumber of ParamsParametersUnitsRestrictions
FEATURE_GAMMA

Gamma Correction

1
fValue
N/A
N/A


Feature Flags



CameraPresenceRead Only
AutoManualOne-time AutoOffCiD
All Cameras
Yes
No
No
Yes
No
Yes
No


Parameters


CameraParameterUnitTypeMinMaxDefaultStep Size
All Cameras
Gamma
None
Absolute0.1
4
2.2
0.01