ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_reduction_brightness_set
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Image Processing Functions > IG_REC_reduction_brightness_set

Glossary Item Box

Fine tunes the threshold calculation in the automatic adaptive image conversion mode (i.e., when IG_REC_IMG_CONVERSION_AUTO has been specified).

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_reduction_brightness_set(
   AT_INT Brightness
);

Arguments:

Brightness Brightness control of the automatic image conversion algorithm. The value range is between zero (0) and 100. A value of 0 tunes the conversion to give a lighter image, while a value of 100 results in a darker image. The default value is 50.

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.

Remarks:

This function influences both the primary and the secondary image conversions. It has an effect only when the IG_REC_IMG_CONVERSION_AUTO image conversion mode has been specified.

Example:

  Copy Code
AT_ERRCOUNT ErrCount = 0;
AT_INT nBrightness = 75;
ErrCount = IG_REC_reduction_brightness_set(nBrightness);

©2012. Accusoft Corporation. All Rights Reserved.