|
BlobCounterBaseGetBlobsEdgePoints Method
|
Get list of object's edge points.
Namespace:
Accord.Imaging
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public List<IntPoint> GetBlobsEdgePoints(
Blob blob
)
Public Function GetBlobsEdgePoints (
blob As Blob
) As List(Of IntPoint)
Request Example
View SourceParameters
- blob
- Type: Accord.ImagingBlob
Blob to collect edge points for.
Return Value
Type:
ListIntPointReturns unsorted list of blob's edge points.
Exceptions Exception | Condition |
---|
ApplicationException | No image was processed before, so blob
can not be extracted. |
Remarks The method scans each row and column of the blob and finds the
most top/bottom/left/right points. The method returns similar result as if results of
both GetBlobsLeftAndRightEdges(Blob, ListIntPoint, ListIntPoint) and GetBlobsTopAndBottomEdges(Blob, ListIntPoint, ListIntPoint)
methods were combined, but each edge point occurs only once in the list.
Note |
---|
Edge points in the returned list are not ordered. This makes the list unusable
for visualization with methods, which draw polygon or poly-line. But the returned list
can be used with such algorithms, like convex hull search, shape analyzer, etc. |
See Also