ClearImage .NET API
ReconstructLines Method (CiRepair)





Inlite.ClearImage Namespace > CiRepair Class : ReconstructLines Method
Find and straighten image lines
Syntax
'Declaration
 
Public Function ReconstructLines( _
   ByVal Direction As ELineDirection _
) As System.Integer
'Usage
 
Dim instance As CiRepair
Dim Direction As ELineDirection
Dim value As System.Integer
 
value = instance.ReconstructLines(Direction)
public System.int ReconstructLines( 
   ELineDirection Direction
)
public function ReconstructLines( 
    Direction: ELineDirection
): System.Integer; 
public function ReconstructLines( 
   Direction : ELineDirection
) : System.int;
public:
System.int ReconstructLines( 
   ELineDirection Direction
) 

Parameters

Direction
Remarks

Lines are identified based on values of pLineCurvature, pMinLineLength, pMaxLineGap  and pMaxLineAngle  properties.
After lines are deleted straight lines of the same length, thickness and angle are drawn on the image.

Method requires bi-tonal image (object.Image.BitsPerPixel = 1).

See Also

Reference

CiRepair Class
CiRepair Members