(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 improve the appearance of scanned documents by removing dots, blobs, lines, borders, hole punches, inverted page, inverted text, bumps, and nicks. These classes are listed in the following table:
Leadtools.ImageProcessing.Core Class | WCF Support | Description |
SmoothCommand | Smooth | Smoothes the bumps and fills in the nicks of a 1-bit black and white image. |
BorderRemoveCommand | BorderRemove | Removes the black borders in a 1-bit black and white image. |
LineRemove | Removes horizontal and vertical lines in a 1-bit black and white image. | |
Finds and removes dots and specks of various sizes. | ||
Finds and removes hole punches. | ||
InvertedTextCommand | InvertedText | Finds and modifies areas of inverted text in a 1-bit black and white image. |
InvertedPageCommand | InvertedPage | Checks and auto-correct an inverted image (1-bit or color). |
HighQualityRotateCommand | HighQualityRotate | Performs high quality rotation on a 1-bit black and white image. |
Each of these classes utilizes flags that allow you to obtain a LEAD region (Leadtools.ImageProcessing.Core only) or a Windows region (all three) 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.
Images can be straightened by using the following commands:
Leadtools.ImageProcessing.Core Class | WCF Support | Description |
DeskewCommand | Deskewing. |
For information about pre-processing color images, see Pre-processing Images for OCR.
Products |
Support |
Feedback: Cleaning Up 1 Bit Images |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.