Click or drag to resize

DESPECKLE_METHOD Enumeration

Despeckling types.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public enum DESPECKLE_METHOD
Members
  Member nameValueDescription
DESPECKLE_AUTO0 The applied method is determined automatically.
DESPECKLE_NORMAL1 Black noise is removed, contours are smoothed. Level can be set between 1 and 4.
DESPECKLE_INVERSE2 White noise is removed, contours are smoothed. Level can be set between 1 and 4.
DESPECKLE_HALFTONE3 Despeckle half-tone image. Level can be set between 1 and 4.
DESPECKLE_MEDIAN4 3*3 median filtering. Level is not used.
DESPECKLE_SMOOTHEDGE5 Remove small noise from contours. level is not used.
DESPECKLE_PEPPER8 Remove black dots whose width and height are less or equal to the given size. The contours of the other objects are not smoothed. The level parameter specifies the size, it must be between 1 and 256.
DESPECKLE_SALT16 Remove white dots whose width and height are less or equal to the given size. The contours of the other objects are not smoothed. The level parameter specifies the size, it must be between 1 and 256.
DESPECKLE_PEPPERANDSALT24 Remove both black and white dots whose width and height are less or equal to the given size.
Remarks

Adaptive noise removal works on black-and-white images only.

This function is useful for images which originally had a grayed or colored background that was not completely removed by preprocessing. It can be useful also for faxed pages or those with a spotted background.

The algorithm will run at any resolution, however, it is optimized for images with at least 280 dpi resolution.

See Also