Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

contour
Type: System.Collections.GenericListIntPoint
The contour.
convexHull
Type: System.Collections.GenericListIntPoint
The convex hull of the contour.

Return Value

Type: ListConvexityDefect
A list of ConvexityDefects containing each of the defects found considering the convex hull of the contour.
See Also