ImageGear Professional v18.2 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Image Processing Functions > IG_REC_reduction_threshold_set |
Specifies the threshold parameter of an image conversion to a bi-tonal image.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_reduction_threshold_set( AT_INT Threshold ); |
Name | Type | Description |
Threshold | AT_INT | The image conversion threshold value to be set. Its range is between zero (0) and 255, default: 128. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; AT_INT nThreshold = 100; ErrCount = IG_REC_reduction_threshold_set(nThreshold); |
This parameter has an effect only when the IG_REC_IMG_CONVERSION_SET image conversion mode has been set.