Bayergr8 / Bayerrg8 / Bayergb8 / Bayerbg8 - Smartek UCC User Manual

Twentynine camera family
Table of Contents

Advertisement

Byte 0
(LSB)
0
...

5.7.6 BayerGR8 / BayerRG8 / BayerGB8 / BayerBG8

In an image with one of the Bayer8 pixel formats, each pixel value P is represented by one byte or 8 bits.
The "GR", "RG", "GB" or "BG" notation describes the layout of the Bayer pattern on the image sensor, used
in the camera. For detailed description about color imaging and the Bayer filter, please refer to chapter 4.2
- Color Imaging with Bayer Pattern .
The Bayer8 pixel formats in SMARTEK Vision digital cameras are specified like shown below:
PixelFormat
Description
Pixel size
Value range
The memory layout of the image with this pixel formats is shown in Figure 58. Starting from the upper left
of the image, byte 0 represents the value of pixel P(1, 1), byte 1 represents the value of pixel P(1, 2) and so
on. In each byte the bitorder is by default little endian; the least significant bit is assigned to bit number 0
and the most significant bit is assigned to bit number 7.
P (1, 1)
Byte 1
(MSB)
7
8
...
15
Figure 57: Image layout with pixel format Mono16
BayerGR8, BayerRG8, BayerGB8, BayerBG8
Table 44: Specification PixelFormat Bayer8
P (1, 1)
Byte 0
0
...
Figure 58: Image Layout with pixel format GR8/RG8/GB8/BG8
P (1, 2)
Byte 2
Byte 3
Byte 3
(LSB)
(MSB)
(MSB)
8-bit monochrome unsigned
1 byte
0 . . . 255
P (1, 2)
Byte 1
...
7
78
User Manual - twentynine
Byte 3
...
...
(MSB)
SMARTEK Vision | User Manual - twentynine | Doc. v1.0.2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gcc

Table of Contents