ImageGear .NET v25.0 - Updated
DespeckleMode Property




ImageGear.OCR Assembly > ImageGear.OCR Namespace > ImGearOCRPreprocessingSettings Class : DespeckleMode Property
Gets or sets a value indicating whether the adaptive noise removal algorithm is to be activated during image pre-processing, auto-zoning or recognition.
Syntax
'Declaration
 
Public Property DespeckleMode As Boolean
'Usage
 
Dim instance As ImGearOCRPreprocessingSettings
Dim value As Boolean
 
instance.DespeckleMode = value
 
value = instance.DespeckleMode
public bool DespeckleMode {get; set;}
public: __property bool get_DespeckleMode();
public: __property void set_DespeckleMode( 
   bool value
);
public:
property bool DespeckleMode {
   bool get();
   void set (    bool value);
}

Property Value

Boolean value.
Remarks

This property specifies the image despeckle mode setting, i.e. whether the adaptive noise removal algorithm is to be activated during image pre-processing, auto-zoning or recognition. The noise removal algorithm runs only on bitonal images with a resolution of 280 DPI or higher.

Note: When despeckle runs as part of the preprocessing (rather than called explicitly), it works on an internal secondary image, so its result is not available for exporting back to the application. Use Despeckle method for explicit despeckling. See The Recognition Process section for explanation of the "secondary image" term.

This setting might influence the accuracy of the recognition.

See Also

Reference

ImGearOCRPreprocessingSettings Class
ImGearOCRPreprocessingSettings Members
Despeckle Method
Preprocess Method
Recognize Method
LocateZones Method
LocateZones(ImGearRectangle) Method