Bayer Bg 12 Packed Format - Basler ace acA640-90gm User Manual

Gige cameras
Table of Contents

Advertisement

9.3.3

Bayer BG 12 Packed Format

When a color camera is set for the Bayer BG 12 Packed pixel data format, it outputs 12 bits of data
per pixel. Every three bytes transmitted by the camera contain data for two pixels.
With the Bayer BG 12 Packed coding, the pixel data is not processed or interpolated in any way.
So, for each pixel covered with a red lens in the sensor's Bayer filter, you get 12 bits of red data.
For each pixel covered with a green lens in the filter, you get 12 bits of green data. And for each
pixel covered with a blue lens in the filter, you get 12 bits of blue data. (This type of pixel data is
sometimes referred to as "raw" output.)
For more information about the Bayer filter, see Section 9.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 BG12 Packed
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
Data
B
Blue value for P
0
B
Green value for P
1
B
Green value for P
2
B
Blue value for P
3
B
Green value for P
4
B
Green value for P
5
B
Blue value for P
6
B
Green value for P
7
B
Green value for P
8
B
Blue value for P
m-5
B
Green value for P
m-4
B
Green value for P
m-3
B
Blue value for P
m-2
B
Green value for P
m-1
B
Green value for P
m
Basler ace GigE
bits 11 ... 4
0
bits 3 ... 0
Blue value for P
1
bits 11 ... 4
1
bits 11 ... 4
2
bits 3 ... 0
Blue value for P
3
bits 11 ... 4
3
bits 11 ... 4
4
bits 3 ... 0
Blue value for P
5
bits 11 ... 4
5
bits 11 ... 4
n-3
bits 3 ... 0
Blue value for P
n-2
bits 11 ... 4
n-2
bits 11 ... 4
n-1
bits 3 ... 0
Blue value for P
n
bits 11 ... 4
n
page
171.
bits 3 ... 0
0
bits 3 ... 0
2
bits 3 ... 0
4
bits 3 ... 0
n-3
bits 3 ... 0
n-1
Pixel Data Formats
175

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ace aca640-90gcAce aca640-100gmAce aca640-100gc

Table of Contents