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.10.1935 (2.4.10.1935)

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
)
F#
static member cvConvexityDefects : 
        contour : IntPtr * 
        convexhull : IntPtr * 
        storage : IntPtr -> IntPtr 

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

Type: IntPtr
Pointer to the sequence of the CvConvexityDefect structures.

See Also