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.2.1.1150 (2.2.1.1150)

Syntax

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

Parameters

contour
IntPtr
Input contour
convexhull
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
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