|
ConvexHullDefectsFindDefects Method
|
Finds the convexity defects in a contour given a convex hull.
Namespace:
Accord.Math.Geometry
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public List<ConvexityDefect> FindDefects(
List<IntPoint> contour,
List<IntPoint> convexHull
)
Public Function FindDefects (
contour As List(Of IntPoint),
convexHull As List(Of IntPoint)
) As List(Of ConvexityDefect)
Request Example
View SourceParameters
- contour
- Type: System.Collections.GenericListIntPoint
The contour. - convexHull
- Type: System.Collections.GenericListIntPoint
The convex hull of the contour.
Return Value
Type:
ListConvexityDefectA list of
ConvexityDefects containing each of the
defects found considering the convex hull of the contour.
See Also