
AW00118501000 Features
Basler racer Camera Link 81
8.2.2 Black Level
Adjusting the camera’s black level will result in an offset to the pixel values output from the camera.
The camera’s black level is determined by the Black Level Raw parameter with the black Level
selector set to All. All pixels in the sensor are affected by this setting.
If the camera is set for a pixel data format with an 8 bit depth, an increase of 16 in a black level
setting will result in a positive offset of 1 in the pixel values output from the camera. And a decrease
of 16 in a black level setting will result in a negative offset of 1 in the pixel values output from the
camera.
If the camera is set for a pixel data format with a 12 bit depth, an increase of 1 in a black level setting
will result in a positive offset of 1 in the pixel values output from the camera. A decrease of 1 in a
black level setting will result in a negative offset of 1 in the pixel values output from the camera.
Setting the Black Level Using Basler pylon
To set the Black Level Raw All value:
Set the Black Level Selector to All.
Set the Black Level Raw parameter to your desired value.
You can set the Black Level Selector and the Black Level Raw parameter values 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 Black Level Raw All
Camera.BlackLevelSelector.SetValue ( BlackLevelSelector_All );
Camera.BlackLevelRaw.SetValue( 64 );
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 15.
Setting the Black Level Using Direct Register Access
To the black level via direct register access:
Set the value of the Black Level All register.
For more information about direct register access, see Section 3.2 on page 16.
Comentarios a estos manuales