ImageGear for C and C++ on Windows v19.4 - Updated
IG_REC_reduction_threshold_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Image Processing Functions > IG_REC_reduction_threshold_get

Inquires the current value of the image conversion threshold setting.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_reduction_threshold_get(
   LPAT_INT pThreshold
);

Arguments:

Name Type Description
pThreshold LPAT_INT Address of the variable that will hold the current threshold value.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
AT_ERRCOUNT ErrCount = 0;
AT_INT nThreshold = 0;
ErrCount = IG_REC_reduction_threshold_get(&nThreshold);