ImageGear Professional v18.4 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Image Processing Functions > IG_REC_reduction_brightness_set |
Fine tunes the threshold calculation in the automatic adaptive image conversion mode (i.e., when IG_REC_IMG_CONVERSION_AUTO has been specified).
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_reduction_brightness_set( AT_INT Brightness ); |
Name | Type | Description |
Brightness | AT_INT | 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. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; AT_INT nBrightness = 75; ErrCount = IG_REC_reduction_brightness_set(nBrightness); |
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.