Skip to main content

Parametric image filters supported by the Android Document Scanner SDK

Overview

You can enhance your scanned pages or raw images by applying a variety of filters and rotation adjustments. This improves their readability for humans and machines alike and streamlines further processing in your backend.

List of available filters

You can try out the SDK's image filters in your browser with this web demo to experience how they work in real-time.

Here is the complete list of all the supported filters:

  • Color Document Filter: Color document filter. This filter is a good starting point for most use cases.
  • Scanbot Binarization Filter: Automatic binarization filter. This filter is a good starting point for most use cases. It has an OutputMode parameter that can be set to binary or antialiased.
  • Custom Binarization Filter: Customizable binarization filter. It has a few presets for specific use cases:
    • Binarization Filter Preset.preset1: Usually performs well if there are no shadows.
    • Binarization Filter Preset.preset2, Binarization Filter Preset.preset3, Binarization Filter Preset.preset4: Usually perform well even if there are shadows.
  • Brightness Filter: Filter for adjusting the image's brightness.
  • Contrast Filter: Filter for adjusting the image's contrast.
  • Grayscale Filter: Converts color images to grayscale, optionally applying auto-contrast.
  • White Black Point Filter: Maps the image value channel so that all the pixels darker than the black point are set to 0, all the pixels brighter than the white point are set to 255, and the pixels in between are linearly scaled.
  • LegacyFilter: Applies a filter used for compatibility with older versions of the Scanbot SDK. It takes one of the old filter types as a parameter:
    • None: Does not apply an image filter and keeps the original colors.
    • Color: Optimizes the colors, contrast and brightness.
    • Gray: Grayscale filter.
    • Binarized: Standard binarization filter with contrast optimization. Creates an 8-bit grayscale image with mostly black or white pixels.
    • Color Document: MagicColor filter. Fixes the white balance and cleans up the background.
    • Pure Binarized: A filter for binarizing the image. Creates an image with pixel values set to either pure black or pure white.
    • Black And White: Black-and-white filter with background cleaning. Creates an 8-bit grayscale image with mostly black or white pixels.
    • Background Clean: Cleans up the background and tries to preserve photos within the image.
    • OTSU Binarization: A filter for black-and-white conversion using Otsu binarization.
    • Deep Binarization: A filter for black-and-white conversion primary used for low-contrast documents.
    • Edge Highlight: A filter that enhances edges in low-contrast documents.
    • Low Light Binarization: Binarization filter primarily intended to use on low-contrast documents with hard shadows.
    • Low Light Binarization 2: Binarization filter primarily intended to use on low-contrast documents with hard shadows.
    • Sensitive Binarization: Binarization filter for poor-quality printed papers.

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get your free Trial License

On this page