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

Retrieves the current value of the threshold fine tuning setting.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_reduction_brightness_get(
   LPAT_INT pBrightness
);

Arguments:

Name Type Description
pBrightness LPAT_INT Address of the variable to get the current brightness setting.

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 nBrightness = 0;
ErrCount = IG_REC_reduction_brightness_get(&nBrightness);