Skip to main content

Filters and image Processing

The Scanbot SDK enables users to enhance their scanned pages or raw images by applying a variety of filters and rotation adjustments. Users can refine the visual quality of their documents with built-in filters or rotate images to achieve the correct orientation, ensuring professional and clear document presentation.

Supported parametric image filters

You can try out our filters directly on our 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.

Applying filters and rotation to a scanned page

Processing Scanned Page
loading...

Applying filters and rotation to an image

Processing an image
loading...

Want to scan longer than one minute?

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

Get your free Trial License

What do you think of this documentation?