Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- MinLength
- An integer from 26 to 20,000 which represents the minimum pixel length of a line to meet removal criteria. The default value is 50.
- MaxThickness
- An integer from 1 to 50 which represents the maximum pixel thickness of a line meeting the removal criteria. The default value is 20.
- MinAspectRatio
- A double value which represents the ratio of the line length to the line width. Lines below this aspect ratio are removed. The ratio range is any floating point number between 1 and 1000. The default value is 10. This provides a ratio of 100 pixels in length for every 10 pixels in width.
- MaxGap
- An integer value which represents the maximum allowed gap in a line for the line to still be considered one object. This value should be an integer from 1 to 20. The default value is 1.
- MaxCharRepairSize
- An integer value from 0 to 100 which represents the maximum character size to reconstruct intersected characters within the given size after performing line removal. This value should be a positive integer including zero. The default value is 20.
Line removal is the process of detecting and removing vertical and horizontal lines from an image. This method examines the current image to find lines and modifies the image to remove them.
Note: Available in Professional edition.