| TesseractOcrImageAdaptiveThresholdingSettings Class | 
Namespace: DevScope.Ocr.Tesseract.Windows
The TesseractOcrImageAdaptiveThresholdingSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| TesseractOcrImageAdaptiveThresholdingSettings | 
Initializes a new instance of the TesseractOcrImageAdaptiveThresholdingSettings class.
  | 
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type.   (Inherited from Object.) | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| ToString | Returns a string that represents the current object.  (Inherited from Object.) | 
| Name | Description | |
|---|---|---|
| Enabled | 
Gets or Sets a value indicating whether adaptive thresholding (a.k.a. local or dynamic thresholding) should be used when thresholding the page image.
  | |
| HalfLocalWindow | 
Gets or Sets the Local window half size. Must always be greater than 3. The default value is 10.
  | |
| WeightingFactor | 
Gets or Sets the pixel value intensity Weighting factor. The default value is 0.15.
  | 
Thresholding is the simplest way to segment objects from a background.
If that background is relatively uniform, then you should leave the Enabled setting to false (which is the default behaviour) and a global threshold value will be used to binarize the image by pixel-intensity.
If there’s large variation in the background intensity (like a camera image), however, adaptive thresholding (a.k.a. local or dynamic thresholding) may produce better results.
This algorithm uses a custom implementation of the Sauvola method.