http://www.emgu.com
Finds all convexity defects of the input contour and returns a sequence of the CvConvexityDefect structures.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static IntPtr cvConvexityDefects(
	IntPtr contour,
	IntPtr convexhull,
	IntPtr storage
)
Visual Basic
Public Shared Function cvConvexityDefects ( _
	contour As IntPtr, _
	convexhull As IntPtr, _
	storage As IntPtr _
) As IntPtr
Visual C++
public:
static IntPtr cvConvexityDefects(
	IntPtr contour, 
	IntPtr convexhull, 
	IntPtr storage
)

Parameters

contour
Type: System..::..IntPtr
Input contour
convexhull
Type: System..::..IntPtr
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: System..::..IntPtr
Container for output sequence of convexity defects. If it is NULL, contour or hull (in that order) storage is used

Return Value

Pointer to the sequence of the CvConvexityDefect structures.

See Also