AW00011916000
Pixel Data Formats
Basler scout GigE
209
11.3.3 Bayer BG 16 Format
(Equivalent to DCAM Raw 16)
When a color camera is set for the Bayer BG 16 pixel data format, it outputs 16 bits of data per pixel
with 12 bits effective. The 12 bits of effective pixel data fill from the least significant bit. The four
unused most significant bits are filled with zeros.
With the Bayer BG 16 the pixel data is not processed or interpolated in any way. So, for each pixel
covered with a red lens, you get 12 effective bits of red data. For each pixel covered with a green
lens, you get 12 effective bits of green data. And for each pixel covered with a blue lens, you get 12
effective bits of blue data. (This type of pixel data is sometimes referred to as "raw" output.)
The "BG" in the name Bayer BG 16 refers to the alignment of the colors in the Bayer filter to the
pixels in the acquired images. For even lines in the images, pixel one will be blue, pixel two will be
green, pixel three will be blue, pixel four will be green, etc. For odd lines in the images, pixel one
will be green, pixel two will be red, pixel three will be green, pixel four will be red, etc.
For more information about the Bayer filter, see Section 11.3.1 on
page 205
.
The tables below describe how the data for the even lines and for the odd lines of a received frame
will be ordered in the image buffer in your PC when the camera is set for Bayer BG 16 output. Note
that the data is placed in the image buffer in
little endian format
.
The following standards are used in the tables:
P
0
= the first pixel transmitted by the camera for a line
P
n
= the last pixel transmitted by the camera for a line
B
0
= the first byte of data for a line
B
m
= the last byte of data for a line
Even Lines
Odd Lines
Byte
Data
Byte
Data
B
0
Low byte of blue value for P
0
B
0
Low byte of green value for P
0
B
1
High byte of blue value for P
0
B
1
High byte of green value for P
0
B
2
Low byte of green value for P
1
B
2
Low byte of red value for P
1
B
3
High byte of green value for P
1
B
3
High byte of red value for P
1
B
4
Low byte of blue value for P
2
B
4
Low byte of green value for P
2
B
5
High byte of blue value for P
2
B
5
High byte of green value for P
2
B
6
Low byte of green value for P
3
B
6
Low byte of red value for P
3
B
7
High byte of green value for P
3
B
7
High byte of red value for P
3
B
m-7
Low byte of blue value for P
n-3
B
m-7
Low byte of green value for P
n-3
B
m-6
High byte of blue value for P
n-3
B
m-6
High byte of green value for P
n-3
Summary of Contents for scout GigE
Page 4: ......
Page 50: ...Specifications Requirements and Precautions AW00011916000 40 Basler scout GigE...
Page 52: ...Installation AW00011916000 42 Basler scout GigE...
Page 66: ...Basler Network Drivers and Parameters AW00011916000 56 Basler scout GigE...
Page 80: ...Network Related Camera Parameters and Managing Bandwidth AW00011916000 70 Basler scout GigE...
Page 184: ...Image Acquisition Control AW00011916000 174 Basler scout GigE...
Page 206: ...Color Creation and Enhancement AW00011916000 196 Basler scout GigE...
Page 232: ...Pixel Data Formats AW00011916000 222 Basler scout GigE...
Page 354: ...Chunk Features AW00011916000 344 Basler scout GigE...
Page 358: ...Troubleshooting and Support AW00011916000 348 Basler scout GigE...
Page 367: ...AW00011916000 Revision History Basler scout GigE 357...
Page 368: ...Revision History AW00011916000 358 Basler scout GigE...