Package 

Enum ImageFilterType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      SENSITIVE_BINARIZATION

      Binarization filter for poor quality printed papers.

      LOW_LIGHT_BINARIZATION_2

      Binarization filter primary intended to use on low-contrast documents with heavy shadows.

      LOW_LIGHT_BINARIZATION

      Binarization filter primary intended to use on low-contrast documents with heavy shadows.

      EDGE_HIGHLIGHT

      A filter that enhances edges in low-contrast documents.

      DEEP_BINARIZATION

      A filter for black and white conversion primary used for low-contrast documents.

      OTSU_BINARIZATION

      A filter for black and white conversion using OTSU binarization.

      BLACK_AND_WHITE

      Black and white filter with background cleaning. Creates a grayscaled 8-bit image with mostly black or white pixels. Usecase: Textual documents or documents with black and white illustrations.

      BACKGROUND_CLEAN

      Cleans up the background and tries to preserve photos within the image. Usecase: magazine pages, flyers.

      PURE_BINARIZED

      A filter for binarizing an image. Creates an 8-bit image with pixel values set to eiter 0 or 255. Usecase: Preparation for optical character recognition.

      COLOR_DOCUMENT

      Fixes white-balance and cleans up the background. Usecase: images of paper documents.

      BINARIZED

      Standard binarization filter with contrast optimization. Creates a grayscaled 8-bit image with mostly black or white pixels. Usecase: Preparation for optical character recognition.

      GRAYSCALE

      Standard grayscale filter. Creates a grayscaled 8-bit image.

      COLOR_ENHANCED

      Optimizes colors, contrast and brightness. Usecase: photos.

      NONE

      Passthrough filter. Does not alter the image.