Lookup Tables; Color Space Converter And Image Formatter - Matrox Rapixo CXP Installation And Hardware Reference

Table of Contents

Advertisement

Data conversion
45

Lookup tables

Matrox Rapixo CXP has on-board lookup tables (LUTs) that can precondition
input data at acquisition time, before it is stored in memory.
The on-board programmable lookup tables (LUTs) can map 8-bit, 10-bit, and
12-bit data (monochrome or color). When a link is receiving color data, all bands
of the data use the same specified LUT mapping. As soon as one link is receiving
12-bit data, all links (CoaXPress connections) share the same specified LUT
mapping. Data of other depths are mapped through transparent LUTs. The LUTs
are programmed using the MIL-Lite function MdigControl() with M_LUT_ID.

Color space converter and image formatter

As data from memory is transmitted to the Host, it passes through the color space
converter and image formatter. The color space converter and image formatter
can convert data in the following ways:
• Subsampling. Image data can be subsampled.
The color space converter and image formatter can subsample in the horizontal
and vertical directions by integer factors of 1 to 16. The color space converter and
image formatter uses nearest-neighbor interpolation.
You can use any of the following MIL-Lite functions to subsample image data:
- MdigControl() with M_GRAB_SCALE_X/Y and the subsampling factor.
- MimResize() with ScaleFactorX and ScaleFactorY and the subsampling factor.
- MbufTransfer() with M_COPY + M_SCALE and setting the destination
buffer size smaller than the original image.
Note that Matrox Rapixo CXP does not support cropping in hardware. However,
you can have image data cropped during transfer to Host using MdigControl()
with M_SOURCE_SIZE_X/Y and M_SOURCE_OFFSET_X/Y.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Matrox Rapixo CXP and is the answer not in the manual?

Table of Contents