Skip to main content

Using Zebra Radient eV-CL with Aurora Imaging Library

To use Zebra Radient eV-CL, you must allocate it as an Aurora Imaging Library Radient eV-CL system (using MsysAlloc with M_SYSTEM_RADIENTEVCL). This allocation opens communications with your Zebra Radient eV-CL and allows Aurora Imaging Library to use its resources.

You can allocate an Aurora Imaging Library Radient eV-CL system for your board in multiple processes (executables). If more than one process allocates a digitizer for the same acquisition path, grabs from the different processes will be queued in the order that they arrive (first in, first out).

Zebra Radient eV-CL features at least one quadrature decoder that can decode input from a linear or rotary encoder with quadrature output. For more information on this feature, refer to Using quadrature input from a rotary encoder. This chapter also provides information on how to configure and use the I/O signals.

Zebra Radient eV-CL provides a GenICam CLProtocol driver to communicate with your Camera Link camera using the GenICam SFNC standard. For information regarding using Aurora Imaging Library to access the GenICam SFNC-compatible features of your camera, see Using Aurora Imaging Library with GenICam.

Grabbing and the buffer formats to use for each camera pixel format on Zebra Radient eV-CL

For Zebra Radient eV-CL, the following table outlines which Aurora Imaging Library buffer format to use with each supported camera pixel format. Note that these are the officially supported camera pixel formats for Zebra Radient eV-CL.

Camera pixel format1Aurora Imaging Library buffer format (type and attribute)Operation
Mono8, Mono10, Mono12, Mono14, Mono16, Mono321-band 8-bit, 1-band 16-bit, 1-band 32-bit, 3-band 8-bit2, 3-band 16-bit3Data will automatically be bit-shifted to have most-significant bits (MSB) in destination buffer
BayerXX8, BayerXX10, BayerXX12, BayerXX14, BayerXX16 where XX = GR, GB, BG or RG1-band 8-bit, 1-band 16-bitDemosaicing followed by RGB to Y (bit shift for MSB)
3-band 8-bit, 3-band 16-bitDemosaicing (bit shift for MSB)
3-band YUV16 + M_PACKEDDemosaicing followed by RGB to YUV
RGB8, RGBA8,1-band 8-bitRGB to Y
3-band 8-bitDirect copy
3-band YUV16 + M_PACKEDRGB to YUV
RGB10, RGBA10, RGB12, RGBA12, RGB14, RGBA14, RGB16, RGBA161-band 8-bitRGB to Y (bit shift for MSB)
1-band 16-bitRGB to Y
3-band 16-bit M_PLANARPacked destination buffers are not supported
YUV422_8, YCbCr601_422_8, YCbCr709_422_81-band 8-bitOnly Y band
3-band YUV16 + M_PACKEDDirect copy

Performing Bayer color conversion in hardware

When Zebra Radient eV-CL boards grab color images from a video source with a Bayer color filter (as specified by the DCF), it performs Bayer color conversion in hardware, as it transfers the images to the Host. If the images require white balancing, Zebra Radient eV-CL boards can perform this automatically if white balancing is enabled using MdigControl with M_WHITE_BALANCE set to M_ENABLE. If performing white balancing, you can use the default white balance coefficients, automatically have them calculated (using MdigControl with M_WHITE_BALANCE set to M_CALCULATE), or set explicit coefficients (M_BAYER_COEFFICIENTS_ID). For information on Bayer color conversion, refer to Using images acquired with a Bayer color filter.

If you don't want to perform Bayer color conversion in hardware, disable it using MdigControl with M_BAYER_CONVERSION set to M_DISABLE.

The M_BAYER... control types of MdigControl can only be used when grabbing from a camera that has a Bayer color filter (as specified by the DCF); otherwise, an error will be generated.

Using frame burst with a multi-frame buffer

All version of Zebra Radient eV-CL support frame burst technology. This technology allows you to grab a group of sequential frames into a multi-frame buffer with one grab command (MdigGrab, or one grab of MdigProcess); the defined number of frames are stored contiguously in the same buffer. The end-of-grab event only occurs once the entire group of frames has been grabbed, reducing the number of events that need to be handled. This is useful in cases where you have a high frame rate and need to ensure that no frames are missed. Note that a user-defined function hooked to the end-of-grab event (MdigProcess, or MdigHookFunction with M_GRAB_END) is executed only once the entire group of frames has been grabbed. For information on creating a multi-frame image buffer to store sequential frames, see Specifying the dimensions of a multi-frame image buffer.

Using on-board flat-field correction

Zebra Radient eV-CL supports flat-field correction on-board without Host intervention. Images taken in environments with uneven lighting can affect the quality of your processing. To correct this, an on-board flat-field correction can be applied to images so that the intensity across the image is even before processing begins. To use flat-field correction, you need to specify an on-board buffer that contains the gain values, and optionally another that contains the offset values, using MdigControl with M_SHADING_CORRECTION_GAIN_ID and M_SHADING_CORRECTION_OFFSET_ID, respectively. The buffers should be the same size as the grabbed image, and the gain values should be in the specified fixed point format (M_SHADING_CORRECTION_GAIN_FIXED_POINT). The aggregate bandwidth to read the gain buffer and offset buffer from on-board memory cannot be bigger than the internal maximum bandwidth of the DMA port. There is a line limitation of 64 K pixels per line and 1 M lines per frame. Once you have set the buffers, enable the correction using MdigControl with M_SHADING_CORRECTION.

Note: Note that for Zebra Radient eV-CL, flat-field correction is not supported on Zebra Radient eV-CL SB.

Footnotes

  1. All of the values available for RGB are also available in BGR format.

  2. 3-band 8-bit buffers can be in any of the following formats: M_RGB24+ M_PLANAR, M_RGB24 + M_PACKED, M_BGR24 +M_PACKED, or M_BGR32 + M_PACKED.

  3. 3-band 16-bit buffers can be in either an M_RGB48+ M_PLANAR or M_RGB48 + M_PACKED format.

Copyright © 2026 Zebra Technologies.