38
Pixel depth: In general, pixel depth denes the number of possible different values for
each color channel. Mostly this will be 8 bit, which means 2
8
different "col-
ors".
For RGB or BGR these 8 bits per channel equal 24 bits overall.
Two bytes are needed for transmitting more than 8 bits per pixel - even if the
second byte is not completely lled with data. In order to save bandwidth, the
packed formats were introduced to Baumer VEX cameras. In this formats,
the unused bits of one pixel are lled with data from the next pixel.
8 bit:
12 bit:
Packed:
Byte 1 Byte 2 Byte 3
8.1.2.2 Pixel Formats VEXG
Camera Type
Mono8
Mono10
Mono12
Mono12p
Bayer RG8
Bayer RG10
Bayer RG12
Bayer RG129
Monochrome
VEXG-02M ■ ■ □ □ □ □ □ □
VEXG-13M ■ ■ □ □ □ □ □ □
VEXG-25M ■ ■ □ □ □ □ □
VEXG-52M.R ■ □ ■ ■ □ □ □ □
VEXG-100M.R ■ □ ■ ■ □ □ □ □
Color
VEXG-02C □ □ □ □ ■ ■ □ □
VEXG-13C □ □ □ □ ■ ■ □ □
VEXG-25C □ □ □ □ ■ ■ □ □
VEXG-52C.R □ □ □ □ ■ □ ■ ■
VEXG-100C.R □ □ □ □ ■ □ ■ ■
Figure13►
Bit string of Mono 8 bit
and RGB 8 bit.
Figure14►
Spreading of Mono 12
bit over two bytes.
Figure15►
Spreading of two pix-
els in Mono 12 bit over
three bytes (packed
mode).