Digital Shift With 8 Bit Pixel Formats - Basler acA2040-55 User Manual

Basler ace
Table of Contents

Advertisement

Features
Shift by 4
When the camera is set to shift by 4, the
output from the camera will include bit 7
through bit 0 from the ADC along with 4
zeros as LSBs.
The result of shifting 4 times is that the
output of the camera is effectively
multiplied by 16.
When the camera is set to shift by 4, the 4
least significant bits output from the
camera for each pixel value will be 0. This means that the gray value scale will only include every
16th gray value, for example, 16, 32, 48, 64, and so on.
If the pixel values being output by the camera's sensor are high enough to set bit 8, bit 9, bit 10, or
bit 11 to 1, we recommend not using shift by 4. If you do nonetheless, all bits output from the camera
will automatically be set to 1. Therefore, you should only use the shift by 4 setting when your pixel
readings with a 12 bit pixel format selected and with digital shift disabled are all less than 256.
7.5.2

Digital Shift with 8 Bit Pixel Formats

No Shift
As mentioned in the Functional Description section of
this manual, the camera uses a 12 bit ADC to digitize
the output from the imaging sensor. When the camera
is set for a pixel format that outputs pixel data at 8 bit
effective depth, by default, the camera drops the 4
least significant bits from the ADC and transmits the 8
most significant bits (bit 11 through 4).
Shift by 1
When the camera is set to shift by 1, the output from
the camera will include bit 10 through bit 3 from the
ADC.
The result of shifting once is that the output of the
camera is effectively multiplied by 2. For example,
assume that the camera is set for no shift, that it is
viewing a uniform white target, and that under these
conditions the reading for the brightest pixel is 10. If
you changed the digital shift setting to shift by 1, the
reading would increase to 20.
If the pixel values being output by the camera's sensor are high enough to set bit 11 to 1, we
recommend not using shift by 1. If you do nonetheless, all bits output from the camera will
204
ADC
bit
bit
bit
bit
bit
bit
bit
11
10
9
8
7
6
5
M
S
B
bit
bit
bit
11
10
9
M
S
B
Not Shifted
bit
bit
bit
11
10
9
M
S
B
AW00123409000
bit
bit
bit
bit
bit
"0" "0" "0" "0"
4
3
2
1
0
Shifted Four Times
ADC
bit
bit
bit
bit
bit
bit
bit
8
7
6
5
4
3
2
L
S
B
ADC
bit
bit
bit
bit
bit
bit
bit
8
7
6
5
4
3
2
L
S
B
Shifted Once
Basler ace USB 3.0
L
S
B
bit
bit
1
0
bit
bit
1
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aca2440-35Aca2040-120Aca2440-75

Table of Contents