Multiple exposures in one frame¶
Some of the XIMEA cameras support multiple exposures exposed into a single frame. The number of exposures can be defined using the XiApi parameter XI_PRM_EXPOSURE_BURST_COUNT. The readout of the frame starts after the last exposure period has finished.
It can operate in two modes:
Exposure defined by XiApi parameter "XI_PRM_EXPOSURE"¶
In this mode the trigger defines the start of the exposure but the length of the exposure is defined by the XI_PRM_EXPOSURE xiApi parameter. Set exposure length using XI_PRM_EXPOSURE parameter and set XI_PRM_TRG_SELECTOR to XI_TRG_SEL_EXPOSURE_START.
// Set exposure
xiSetParamInt(xiH, XI_PRM_EXPOSURE, 1000);
// Set the number of times of exposure in one frame
xiSetParamInt(xiH, XI_PRM_EXPOSURE_BURST_COUNT, 5);
// Set trigger selector
xiSetParamInt(xiH, XI_PRM_TRG_SELECTOR, XI_TRG_SEL_EXPOSURE_START);
Exposure defined by length of the trigger pulse¶
In this mode both the start of the exposure as well as the length of the exposure is defined by the trigger pulse. Set XI_PRM_TRG_SELECTOR to XI_TRG_SEL_EXPOSURE_ACTIVE. The exposure length will be defined by trigger pulse length.
// Set the number of times of exposure in one frame
xiSetParamInt(xiH, XI_PRM_EXPOSURE_BURST_COUNT, 5);
// Set trigger selector
xiSetParamInt(xiH, XI_PRM_TRG_SELECTOR, XI_TRG_SEL_EXPOSURE_ACTIVE);
Note: In both of the above modes there is a short period (FOT) after each exposure during which the next exposure cannot start. In case of the cameras with IMX sensors this period is 11*line_period (the line_period depends on various other parameters, see Line Period in the Camera performance calculator).
Note2: None of the above two modes support start of exposure during readout (trigger overlap feature).
Note3: Limitations of the IMX sensors in multi-exposure mode leads to increase in noise in comparison to single exposure frame.
Note4: The multi exposure mode does not work ideally when ultra short exposure times are used (<15us).