Finds all convexity defects of the input contour and returns a sequence of the CvConvexityDefect structures.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
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