cv.convexHull - MATLAB File Help
cv.convexHull

Finds the convex hull of a point set

hull = cv.convexHull(points)
hull = cv.convexHull(points, 'OptionName', optionValue, ...)

Input

Output

Options

The function cv.convexHull finds the convex hull of a 2D point set using the Sklansky's algorithm [Sklansky82] that has O(N logN) complexity in the current implementation. See the sample convexhull_demo.m that demonstrates the usage of the function.

References

[Sklansky82]:

Jack Sklansky. "Finding the convex hull of a simple polygon". Pattern Recognition Letters, 1(2):79-83, 1982.

See also