8.Features
© 2023 China Daheng Group, Inc. Beijing Image Vision Technology Branch 122
BayerRG10/BayerRG12
When the pixel format is set to BayerRG10 or BayerRG12, the value of each pixel in the output image of
the camera is 16 bits. According to the location difference, the three components of red, green and blue
are respectively represented. The format in the memory is as follows:
R00
G01
R02
G03
R04
……
G10
B11
G12
B13
G14
……
……
Each pixel is the same as BayerRG8, the difference is that each pixel is made up of two bytes, the first
byte is the low 8 bits of the pixel value, and the second byte is the high 8 bits of the pixel value.
BayerGR8
Figure 8-38 BayerGR8 pixel format
When the pixel format is set to BayerGR8, the value of each pixel in the output image of the camera is 8
bits. According to the location difference, the three components of red, green and blue are respectively
represented. The format in the memory is as follows:
G00
R01
G02
R03
G04
……
B10
G11
B12
G13
B14
……
……
Where G00 is the first pixel value of the first row (for the green component), R01 represents the second
pixel value (for the red component), and so on, so that the first row pixel values are arranged. B10 is the
first pixel value of the second row (for the blue component), the G11 is the second pixel value (for the
green component), and so on, and the second row of pixel values are arranged.
BayerGR10/BayerGR12
When the pixel format is set to BayerGR10 or BayerGR12, the value of each pixel in the output image of
the camera is 16 bits. According to the location difference, the three components of red, green and blue
are respectively represented. The format in the memory is as follows: