AW00118302000 Standard Features
Basler racer GigE 165
256 corresponds to 0 dB and gain will not be modified and a parameter value of 2047 corresponds
to 18.058 dB and an amplification factor of approximately 7.996.
You can use the formula below to calculate the dB of gain that will result from the Gain Raw
parameter values:
Note that due to the nature of digital gain certain gray values will be absent in the image ("missing
codes") if digital gain is set to a value larger than 256.
You can use the remove parameter limits feature to remove to lower limit for digital gain parameter
values. When you use the remove parameter limits feature you can also set digital gain parameter
values in the range from 0 to 255. This corresponds to a range of amplification factors from 0 to
approximately 0.99.
For more information about the remove parameter limits feature, see Section 10.2 on page 168.
Setting the Digital Gain
To set the Gain All parameter value:
Set the Gain Selector to All.
Set the Gain parameter to your desired value.
You can set the Gain Selector and the Gain parameter value from within your application software
by using the pylon API. The following code snippet illustrates using the API to set the selector and
the parameter value:
// Set Gain Digital All
Camera.GainSelector.SetValue( GainSelector_All );
Camera.GainRaw.SetValue( 264 );
For detailed information about using the pylon API, refer to the Basler pylon Programmer’s Guide
and API Reference.
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon Viewer, see Section 3.1 on page 23.
If the digital gain parameter value is set below 256 using the remove parameter
limits feature: In this case, regardless of the brightness of illumination, the camera
will not be able to reach the maximum gray values that otherwise could be
reached. For example, if the camera is set to a 12 bit pixel data format, the
maximum gray value of 4095 can not be reached if the digital gain parameter value
is set below 256.
Gain dB 20
10
log
Gain Raw
256
--------------------------
=
Gain dB 20
10
log Gain Raw48.165–=
Commentaires sur ces manuels