Mono12Packed; Mono16 - Smartek UCC User Manual

Twentynine camera family
Table of Contents

Advertisement

5.7.4 Mono12Packed

In an image with the pixel format Mono12Packed each two pixel values P are represented by three bytes or
24 bits. The Mono12Packed pixel format in SMARTEK Vision digital cameras is specified as shown below:
The memory layout of the image with Mono12Packed pixel format is shown in Figure 56. Starting from the
upper left of the image, byte 0 and first 4 bits of byte 1 represents the value of pixel P(1, 1). Second half of
bits in byte 1 together with all bits from byte 2 represent 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 0 and the most significant bit
to bit 11.
Byte 0
4

5.7.5 Mono16

In an image with pixel format Mono16 each pixel value P is represented by two bytes or 16 bits. The Mono16
pixel format in SMARTEK Vision digital cameras is specified as shown below:
The two bytes are arranged in little-endian order, which means that the Least Significant Byte (LSB) is
arranged first, the most significant byte second. The memory layout of the image with the Mono16 pixel
format is shown in Figure 57. Starting with the upper left of the image, byte 0 and byte 1 represent the value
of pixel P(1, 1), byte 2 and byte 3 represent the value of pixel P(1, 2) and so on. The least significant bit is
assigned to bit 0 of the first byte, the most significant bit to bit 7 of the second byte.
PixelFormat
Description
Pixel size
Value range
Table 42: Specification PixelFormat Mono12Packed
P (1, 2)
P (1, 1)
Byte 1
...
11
0 ... 3
0 ... 3
4
Figure 56: Image layout with pixel format Mono12Packed
PixelFormat
Description
Pixel size
Value range
Table 43: Specification PixelFormat Mono16
Mono12Packed
12-bit packed monochrome
unsigned
3 bytes for two pixels
0 . . . 4095
Byte 3
Byte 2
Byte 3
(MSB)
...
11
Mono16
16-bit monochrome unsigned
2 byte
0 . . . 65535
77
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