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.0.1.0 (2.0.1.0)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function cvConvexityDefects ( _
contour As IntPtr, _
convexhull As IntPtr, _
storage As IntPtr _
) As 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
Pointer to the sequence of the CvConvexityDefect structures.
See Also