CvConvexityDefects Method (CvArr, CvArr, CvMemStorage) OpenCvSharp Class Library
Finds convexity defects of contour

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static CvSeq<CvConvexityDefect> ConvexityDefects(
	CvArr contour,
	CvArr convexhull,
	CvMemStorage storage
)

Parameters

contour
Type: OpenCvSharpCvArr
Input contour.
convexhull
Type: OpenCvSharpCvArr
Convex hull obtained using cvConvexHull2 that should contain pointers or indices to the contour points, not the hull points themselves, i.e. return_points parameter in cvConvexHull2 should be 0.
storage
Type: OpenCvSharpCvMemStorage
Container for output sequence of convexity defects. If it is null, contour or hull (in that order) storage is used.

Return Value

Type: CvSeqCvConvexityDefect

[Missing <returns> documentation for "M:OpenCvSharp.Cv.ConvexityDefects(OpenCvSharp.CvArr,OpenCvSharp.CvArr,OpenCvSharp.CvMemStorage)"]

See Also

Reference