ImageGear PDF v25.2 - Updated
ReductionThreshold Property




ImageGear.OCR Assembly > ImageGear.OCR Namespace > ImGearOCRPreprocessingSettings Class : ReductionThreshold Property
Gets or sets threshold used when reducing image to bitonal.
Syntax
'Declaration
 
Public Property ReductionThreshold As Integer
'Usage
 
Dim instance As ImGearOCRPreprocessingSettings
Dim value As Integer
 
instance.ReductionThreshold = value
 
value = instance.ReductionThreshold
public int ReductionThreshold {get; set;}
public: __property int get_ReductionThreshold();
public: __property void set_ReductionThreshold( 
   int value
);
public:
property int ReductionThreshold {
   int get();
   void set (    int value);
}

Property Value

Integer in the range 0-255. A value of 0 tunes the conversion to give a lighter image, while a value of 255 results in a darker image.
Remarks
This property fine tunes the threshold calculation in the automatic adaptive image conversion mode (i.e. when AUTO has been specified). This influences the brightness/darkness of the resulting bitonal image.

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

See Also

Reference

ImGearOCRPreprocessingSettings Class
ImGearOCRPreprocessingSettings Members

Is this page helpful?
Yes No
Thanks for your feedback.