Black Level - Basler DART BCON SERIES User Manual

Table of Contents

Advertisement

Features
You can set the Gain parameter value from within your application software by using the Basler
pylon API. The following code snippet illustrates using the API to set the parameter value:
// Set the gain to 0.0359
camera.Gain.SetValue(0.0359);

11.3 Black Level

On daA1280-54bm/bc cameras, the black level settings are applied to the pixel
data after the gain settings have been applied.
On all other dart BCON cameras, the black level settings are applied before the
gain settings.
Adjusting the camera's black level will result in an offset to the pixel values output by the camera.
Increasing the black level setting will result in a positive offset (+1) in the pixel values output for the
pixels. Decreasing the black level setting will result in a negative offset (-1) in the pixel values output
for the pixels.
The black level can be adjusted by changing the value of the BlackLevel parameter.
The range of the allowed settings for the BlackLevel parameter value in DN varies by pixel format
as shown in
Table
33.
Min Allowed Black
Level Setting
0
Table 33: Minimum and Maximum Black Level Settings [DN]
You can set the BlackLevel parameter value from within your application software by using the
Basler pylon API. The following code snippet illustrates using the API to set the parameter value:
// Set the black level to 1.0
camera.BlackLevel.SetValue(1.0);
84
Max Allowed Black Level Setting
(8-bit pixel format)
32
AW00136902000
Max Allowed Black Level Setting
(12-bit pixel format)
512
Basler dart BCON

Advertisement

Table of Contents
loading

Table of Contents