LineRemove method (Main Control)
Visual Basic
Example
Visual
C++ 4.0 example
Syntax short LineRemove (long uFlags, long iMinLineLength, long iMaxLineWidth, long iWall, long iMaxWallPercent, long iGapLength, long iVariance, long uRemoveFlags);
Overview: Refer to Cleaning - up 1-Bit Images
Remarks
(Document/Medical) Removes horizontal and vertical lines in a 1-bit black and white image.
This method removes horizontal and vertical lines from scanned text documents. If the lines pass through text, the parameters can be set to remove or preserve the text.
This method works only on 1-bit black and white images.
If a region is selected, only the selected region will be changed by this method. If no region is selected, the whole image will be processed.
The behavior of this method can be further modified by using the LineRemoveEvent event.
To "fine-tune" the performance of this method, try modifying the values for iWall, iGapLength and iVariance.
This method triggers both the LineRemoveEvent event and the ProgressStatus event.
See Also
Elements: LineRemoveEvent event