User`s guide
FUNCTIONS
SDK SECTION 11
Page 184
PostProcessNoiseFilter
unsigned int WINAPI PostProcessNoiseFilter(at_32 * InputImage, at_32 * OutputImage, int
OutputBufferSize, int Baseline, int Mode, float Threshold, int Height, int Width)
Description
This function will apply a filter to the input image and return the processed image in the
output buffer. The filter applied is chosen by the user by setting Mode to a permitted
value.
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 Baseline: The baseline associated with the image.
int Mode: The mode to use to process the data. Valid options are:
1 – Use Median Filter.
2 – Use Level Above Filter.
3 – Use Interquartile Range Filter.
4 – Use Noise Threshold Filter.
float Threshold: This is the Threshold multiplier for the Median, Interquartile
and Noise Threshold filters. For the Level Above filter this is
Threshold count above the baseline.
int Height: The height of the image.
int Width: The width of the image.
Return
unsigned int
DRV_SUCCESS
DRV_NOT_SUPPORTED
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_P1INVALID
DRV_P2INVALID
DRV_P4INVALID
DRV_P5INVALID
DRV_P6INVALID
DRV_P7INVALID
DRV_P8INVALID
DRV_ERROR_BUFFSIZE
Acquisition prepared.
Camera does not support Noise filter processing.
System not initialized.
Acquisition in progress.
Invalid pointer (i.e. NULL).
Invalid pointer (i.e. NULL).
Baseline less than zero.
Invalid Filter mode.
Threshold value not valid for selected mode.
Height less than zero.
Width less than zero.
Output buffer size too small.
See also