Package io.scanbot.sdk.intelligence
Class ImageProcessorBitmapBinarizer
-
- All Implemented Interfaces:
-
io.scanbot.sdk.ocr.intelligence.OcrPdfRenderer.BitmapBinarizer
public final class ImageProcessorBitmapBinarizer implements OcrPdfRenderer.BitmapBinarizer
Uses ImageProcessor to binarize images.
-
-
Constructor Summary
Constructors Constructor Description ImageProcessorBitmapBinarizer()
-
Method Summary
Modifier and Type Method Description Bitmap
binarizeBitmap(Bitmap bitmap, Boolean recycle)
Applies binarization filter to Bitmap. -
-
Method Detail
-
binarizeBitmap
Bitmap binarizeBitmap(Bitmap bitmap, Boolean recycle)
Applies binarization filter to Bitmap. Old bitmap is recycled if stated.
- Parameters:
bitmap
- bitmap to binarizerecycle
- if the original bitmap should be recycled afterwards
-
-
-
-