Interface OcrPdfRenderer.BitmapBinarizer

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Bitmap binarizeBitmap(Bitmap bitmap, Boolean recycle) Applies binarization filter to Bitmap.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • binarizeBitmap

         abstract Bitmap binarizeBitmap(Bitmap bitmap, Boolean recycle)

        Applies binarization filter to Bitmap. Old bitmap is recycled if stated.

        Parameters:
        bitmap - bitmap to binarize
        recycle - if the original bitmap should be recycled afterwards