http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
The function cvConvexHull2 finds convex hull of 2D point set using Sklansky's algorithm.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static IntPtr cvConvexHull2( IntPtr input, IntPtr hullStorage, ORIENTATION orientation, int returnPoints ) |
Visual Basic |
---|
Public Shared Function cvConvexHull2 ( _ input As IntPtr, _ hullStorage As IntPtr, _ orientation As ORIENTATION, _ returnPoints As Integer _ ) As IntPtr |
Visual C++ |
---|
public: static IntPtr cvConvexHull2( IntPtr input, IntPtr hullStorage, ORIENTATION orientation, int returnPoints ) |
Parameters
- input
- Type: System..::..IntPtr
Sequence or array of 2D points with 32-bit integer or floating-point coordinates
- hullStorage
- Type: System..::..IntPtr
The destination array (CvMat*) or memory storage (CvMemStorage*) that will store the convex hull. If it is array, it should be 1d and have the same number of elements as the input array/sequence. On output the header is modified so to truncate the array downto the hull size
- orientation
- Type: Emgu.CV.CvEnum..::..ORIENTATION
Desired orientation of convex hull: CV_CLOCKWISE or CV_COUNTER_CLOCKWISE
- returnPoints
- Type: System..::..Int32
If non-zero, the points themselves will be stored in the hull instead of indices if hull_storage is array, or pointers if hull_storage is memory storage