Accusoft.ImagXpress13.Net
DocumentLineRemoval Method




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.
An integer from 1 to 50 which represents the maximum pixel thickness of a line meeting the removal criteria. The default value is 20.
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.
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.
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.
Automatically detects and removes lines from the current image.
Syntax
'Declaration
 
Public Sub DocumentLineRemoval( _
   Optional ByVal MinLength As Integer, _
   Optional ByVal MaxThickness As Short, _
   Optional ByVal MinAspectRatio As Double, _
   Optional ByVal MaxGap As Short, _
   Optional ByVal MaxCharRepairSize As Short _
) 
'Usage
 
Dim instance As Processor
Dim MinLength As Integer
Dim MaxThickness As Short
Dim MinAspectRatio As Double
Dim MaxGap As Short
Dim MaxCharRepairSize As Short
 
instance.DocumentLineRemoval(MinLength, MaxThickness, MinAspectRatio, MaxGap, MaxCharRepairSize)
public void DocumentLineRemoval( 
   int MinLength,
   short MaxThickness,
   double MinAspectRatio,
   short MaxGap,
   short MaxCharRepairSize
)
public: void DocumentLineRemoval( 
   int MinLength,
   short MaxThickness,
   double MinAspectRatio,
   short MaxGap,
   short MaxCharRepairSize
) 
public:
void DocumentLineRemoval( 
   int MinLength,
   short MaxThickness,
   double MinAspectRatio,
   short MaxGap,
   short MaxCharRepairSize
) 

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.
Remarks

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.

See Also

Reference

Processor Class
Processor Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback