public void GetBlobsLeftAndRightEdges( Blob blob, out List<IntPoint> leftEdge, out List<IntPoint> rightEdge )
Public Sub GetBlobsLeftAndRightEdges ( blob As Blob, <OutAttribute> ByRef leftEdge As List(Of IntPoint), <OutAttribute> ByRef rightEdge As List(Of IntPoint) )
|No image was processed before, so blob can not be extracted.|
The method scans each line of the blob and finds the most left and the most right points for it adding them to appropriate lists. The method may be very useful in conjunction with different routines from Accord.Math.Geometry, which allow finding convex hull or quadrilateral's corners.
|Both lists of points are sorted by Y coordinate - points with smaller Y value go first.|