Setting The Gain - Basler A102K User Manual

Hide thumbs Also See for A102K:
Table of Contents

Advertisement

Operation and Features

3.6.1 Setting the Gain

When the gain is set to default, the
sensor's linear output range directly
matches the input voltage range of the
ADC. Thus, with the default gain of 0 dB,
a gray value of 1 is produced when the
pixels are exposed to no light and a gray
value of 255 (8-bit mode) or 1023 (10-bit
mode) is produced when the pixels are
exposed to bright light.
The 0 dB default gain is achieved when
gain is programmed to a decimal value
of 240. (Due to tolerances in the
electronic components in your camera,
you may find that the 0 dB default gain is
achieved with a slightly different setting.)
Increasing the gain setting to more than
240 maps a smaller portion of the
sensor's linear output range to the
ADC's input.
Increasing the gain is useful when at your brightest exposure, a gray value lower than 255 (8-bit
mode) or 1023 (10-bit mode) is reached. For example, if you found that at your brightest exposure
your gray values were no higher than 127 (8-bit mode), you could increase the gain to 6 dB
(amplification factor of 2) and thus reach gray values of 254 (see Figure 3-13).
Gain is adjustable and can be programmed on a decimal scale that ranges from 240 to 1023
(hex 0x00F0 to 0x03FF).
The degree of amplication that can be achieved with a gain setting depends on whether
vertical binning is active.
If Vertical Binning is disabled on your camera, refer to Section 3.6.1.1.
If Vertical Binning is enabled on your camera, refer to Section 3.6.1.2.
Due to the sensor characteristics, if the gain is set to 768 decimal (hex 0x0300) or
higher, the first 16 pixels in each line may vary in their sensitivity. To avoid variation,
you can use the Area of Interest feature and set column 17 as the Area of Interest Start-
ing Column (see page 3-25).
3-16
DRAFT
Figure 3-13: Gain Settings in dB
k
BASLER A102

Advertisement

Table of Contents
loading

Table of Contents