Pixel Data Output Formats For Color Cameras; Bayer Bg 8 Format - Basler GIGE VISION ace acA640-100gm/gc Manual

Area scan cameras
Table of Contents

Advertisement

8.3
8.3.1
When a color camera is set for the Bayer BG 8 pixel data format, it outputs 8 bits of data per pixel
and the pixel data is not processed or interpolated in any way. So, for each pixel covered with a red
lens, you get 8 bits of red data. For each pixel covered with a green lens, you get 8 bits of green
data. And for each pixel covered with a blue lens, you get 8 bits of blue data. (This type of pixel data
is sometimes referred to as "raw" output.)
The "BG" in the name Bayer BG 8 refers to the alignment of the colors in the Bayer filter to the pixels
in the acquired images. For even rows 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 rows 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 8.3.1 on
The tables below describe how the data for the even rows and for the odd rows of a received frame
will be ordered in the image buffer in your PC when the camera is set for Bayer BG 8 output.
The following standards are used in the tables:
P
= the first pixel transmitted by the camera for a row
0
P
= the last pixel transmitted by the camera for a row
n
B
= the first byte of data for a row
0
B
= the last byte of data for a row
m
Even Rows
Byte
B
0
B
1
B
2
B
3
B
4
B
5
²
²
²
B
m-5
B
m-4
Basler ace
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Pixel Data Output Formats for
Color Cameras

Bayer BG 8 Format

Data
Blue value for P
0
Green value for P
1
Blue value for P
2
Green value for P
3
Blue value for P
4
Green value for P
5
Blue value for P
n-5
Green value for P
n-4
page
Odd Rows
Byte
Data
B
Green value for P
0
B
Red value for P
1
B
Green value for P
2
B
Red value for P
3
B
Green value for P
4
B
Red value for P
5
²
²
²
B
Green value for P
m-5
B
Red value for P
m-4
Pixel Data Formats
115.
0
1
2
3
4
5
n-5
n-4
115

Advertisement

Table of Contents
loading

Table of Contents