Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.21
Cleaning Up 1-Bit Images

(Document/Medical) Scanned documents often contain a number of undesirable elements, including dots, blobs, lines, borders and hole punches. LEADTOOLS provides a number of classes that will improve the appearance of scanned documents by removing dots, blobs, lines, borders, hole punches, inverted text, bumps and nicks. These classes are listed below:

SmoothCommand

LineRemoveCommand

DotRemoveCommand

HolePunchRemoveCommand

InvertedTextCommand

Each of these classes utilizes flags that allow you to obtain a LEAD region or a Windows region that contains all the elements removed from a document. In addition, event handlers allow you to provide customized region processing, as well as create your own composite of the removed regions.

Note that deskewing can be performed by using the DeskewCommand, DeskewCheckCommand, or DeskewExtendedCommand class and specifying high speed rotation in the Flags property. For more information, refer to Deskewing.