iDRS™ SDK 16
Loading...
Searching...
No Matches
CDarkBordersRemoval Class Reference

The CDarkBordersRemoval class provides dark borders removal capabilities. More...

#include <idrs_common.h>

Inheritance diagram for CDarkBordersRemoval:
CImageOperation CObjPtr CObj CObjPtr CObj CObj CObj

Detailed Description

The CDarkBordersRemoval class provides dark borders removal capabilities.

It features an algorithm for automatic dark border detection and removal in all types of images: monochrome, grayscale or color.

The integrator can also specify threshold under which the border pixels are considered "dark" by the dark border removal algorithm. If not, the algorithm will use the following predefined values for the definition of "dark" borders:

  • threshold under which the border pixels are considered "dark": 0x7A
  • threshold under which the pixels connected to the border pixels are considered "dark": 0x7A
  • value indicating the maximum difference in greyscale levels between 2 adjacent pixels: 0x1E

    Requirements:
    IDRS::Module::Prepro
See also
Module::Prepro for information about the preprocessing library