
58 Chapter 4: Matrox Radient eCL hardware reference
Color space converter and pixel formatter
The color space converter and pixel formatter can convert data being transferred
off-board as follows:
•
Resizing.
Image data can be cropped (ROI capture) and/or subsampled. This can
be useful to implement custom software-based motion detection because at a
reduced scale, image comparison is faster. The color space converter and pixel
formatter can subsample in the horizontal direction by integer factors of 1 to 16;
whereas, there is no restriction in the vertical direction; subsampling occurs using
nearest-neighbor interpolation.
•
Flipping.
Image data can be flipped vertically.
•
Color space conversion.
Image data can be converted as follows:
The equations for the YUV16 conversion are described in the following table. The
value of
depth
is either 8 or 16 when converting BGR24 or BGR48 data,
respectively. Note that while performing BGR48-to-YUV color space conversion,
the operations are carried out on 16-bit data; then each resulting YUV component
is bit-shifted right by 8 bits ( >> (
depth
- 8) where the value of
depth
is 16).
In
Out
8-bit
monochrome
16-bit
monochrome
24-bit
packed
BGR
32-bit
packed
BGRa
48-bit
packed
BGR
16-bit
YUV
(YUYV)
24-bit
RGB
planar
48-bit
RGB
planar
8-bit monochrome
yes
yes
yes
yes
yes
16-bit monochrome
yes
yes
yes
yes
yes
yes
yes
yes
24-bit packed BGR
yes
yes
yes
yes
yes
48-bit packed BGR
yes
yes
yes
yes
yes
yes
yes
yes
Color space conversion
Equations
BGR-to-YUV
• Y = (0.114B + 0.587G +0.299R) >>(depth - 8)
• U = (0.500B - 0.331G - 0.169R + 2
(depth-1)
) >>(depth - 8)
• V = (-0.081B - 0.419G + 0.500R + 2
(depth-1)
) >>(depth - 8)
Содержание Radient eCL-DF
Страница 1: ...Matrox Radient eCL Installation and Hardware Reference Manual no Y11144 101 0200 February 5 2014 ...
Страница 6: ......
Страница 18: ...18 Chapter 1 Introduction ...
Страница 28: ...28 Chapter 2 Hardware installation ...
Страница 60: ...60 Chapter 4 Matrox Radient eCL hardware reference ...
Страница 66: ...66 Appendix A Glossary ...
Страница 86: ...86 Appendix B Technical information ...
Страница 95: ...Limited warranty Refer to the warranty statement that came with your product ...
Страница 96: ......