Mono8; Mono10Packed - Smartek UCC User Manual

Twentynine camera family
Table of Contents

Advertisement

5.7.2 Mono8

In an image with the pixel format Mono8 each pixel value P is represented by one byte or 8 bits. The Mono8
pixel format in SMARTEK Vision digital cameras is specified as shown below:
The memory layout of the image with Mono8 pixel format is shown in Figure 54. 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 0 and the
most significant bit to bit 7.

5.7.3 Mono10Packed

In an image with the pixel format Mono10Packed each two pixel values are represented by three bytes or
24 bits. The Mono10Packed pixel format in SMARTEK Vision digital cameras is specified as shown below:
The memory layout of the image with Mono10Packed pixel format is shown in Figure 55. Starting from the
upper left of the image, byte 0 and first 2 bits of byte 1 represents the value of pixel P(1, 1). Bits 5 and 6
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 9.
Byte 0
2
PixelFormat
Description
Pixel size
Value range
Table 40: Specification PixelFormat Mono8
P (1, 1)
Byte 0
0
...
Figure 54: Image layout with pixel format Mono8
PixelFormat
Description
Pixel size
Value range
Table 41: Specification PixelFormat Mono10Packed
P (1, 2)
P (1, 1)
Byte 1
0 1 x x 0 1 x x
...
9
2
Figure 55: Image layout with pixel format Mono10Packed
Mono8
8-bit monochrome unsigned
1 byte
0 . . . 255
P (1, 2)
Byte 1
...
7
Mono10Packed
10-bit packed monochrome
unsigned
3 bytes for two pixels
0 . . . 1023
Byte 3
Byte 2
Byte 3
(MSB)
...
9
76
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