com.aspose.ocr.filters

Class RemoveNoiseFilter



  • public class RemoveNoiseFilter
    extends Filter

    Represents remove noise filtration.


     
     [C#]
     OcrEngine ocrEngine = new OcrEngine();
     // Add remove noise filtration
     ocrEngine.Config.CorrectionFilters.Add(new RemoveNoiseFilter());
     

    • Constructor Detail

      • RemoveNoiseFilter

        public RemoveNoiseFilter()

        Initializes a new instance of the RemoveNoiseFilter class.

    • Method Detail

      • correct

        public com.aspose.enhence.ocr.sharedlibrary.bitmap.GrayBitmap correct(com.aspose.enhence.ocr.sharedlibrary.bitmap.GrayBitmap bitmap)

        Applies correction to image

        Specified by:
        correct in class Filter
        Parameters:
        bitmap - input image
        Returns:
        corrected image