3.5.1
Non-combined mode
In the non-combined mode both images are read out from the sensor and are transported to the host PC memory. Depending on the used
image data format, these images can be either passed directly to the application or can be merged into a single linear output with extended
dynamic range. The merging is performed in the xiAPI library running on the host computer’s CPU and is optimized for processor’s with
x86 architecture.
Figure 58: Dual ADC non-combined with merging
In case of RAW8X2, RAW16X2 or TRANSPORT_DATA image data format, for each pixel a sequence of LG and the HG channel values are
passed to the application ([pixel 0 LG val, pixel 0 HG val, pixel 1 LG val, pixel 1 HG val, …])
// Use X2 or transport format to deliver values from HG and LG channels
xiSetParamInt(xiH, XI_PRM_IMAGE_DATA_FORMAT,XI_RAW16X2);
// Set ADC bitdepth to desired value
xiSetParamInt(xiH, XI_PRM_SENSOR_DATA_BIT_DEPTH,12);
// Set image data bitdepth to desired value
xiSetParamInt(xiH, XI_PRM_IMAGE_DATA_BIT_DEPTH,12);
In case of all other image data formats, the data from the LG and HG channels are merged into a single linear output with extended dynamic
range.
// or use any other formats to other to deliver merged from HG and
xiSetParamInt(xiH, XI_PRM_IMAGE_DATA_FORMAT,XI_RAW16);
// Set ADC bitdepth to desired value
xiSetParamInt(xiH, XI_PRM_SENSOR_DATA_BIT_DEPTH,12);
// Set image data bitdepth to desired value
xiSetParamInt(xiH, XI_PRM_IMAGE_DATA_BIT_DEPTH,16);
XIMEA Technical Manual, Version: v230927
59