User`s guide
FUNCTIONS
SDK SECTION 11
Page 183
PostProcessCountConvert
unsigned int WINAPI PostProcessCountConvert(at_32 * InputImage, at_32 * OutputImage, int
OutputBufferSize, int NumImages, int Baseline, int Mode, int EmGain, float QE, float Sensitivity, int
Height, int Width)
Description
This function will convert the input image data to either Photons or Electrons based on
the mode selected by the user. The input data should be in counts.
Parameters
at32* InputImage: The input image data to be processed.
at32* OutputImage: The output buffer to return the processed image.
int OutputBufferSize: The size of the output buffer.
int NumImages: The number of images if a kinetic series is supplied as the input
data.
int Baseline: The baseline associated with the image.
int Mode: The mode to use to process the data. Valid options are:
1 – Convert to Electrons
2 – Convert to Photons
int EmGain: The gain level of the input image.
float QE: The Quantum Efficiency of the sensor.
float Sensitivity: The Sensitivity value used to acquire the image.
int Height: The height of the image.
int Width: The width of the image.
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_P1INVALID
DRV_P2INVALID
DRV_P4INVALID
DRV_P5INVALID
DRV_P6INVALID
DRV_P7INVALID
DRV_P8INVALID
DRV_P9INVALID
DRV_P10INVALID
DRV_P11INVALID
DRV_ERROR_BUFFSIZE
Acquisition prepared.
System not initialized.
Acquisition in progress.
Invalid pointer (i.e. NULL).
Invalid pointer (i.e. NULL).
Number of images less than zero.
Baseline less than zero.
Invalid count convert mode.
EMGain less than zero.
QE less than zero.
Sensitivity less than zero.
Height less than zero.
Width less than zero.
Output buffer size too small.
See also