convexHull2f function

Mat convexHull2f(
  1. VecPoint2f points, {
  2. Mat? hull,
  3. bool clockwise = false,
  4. bool returnPoints = true,
})

ConvexHull finds the convex hull of a point set.

For further details, please see: https:///docs.opencv.org/master/d3/dc0/group__imgproc__shape.html#ga014b28e56cb8854c0de4a211cb2be656

Implementation

Mat convexHull2f(VecPoint2f points, {Mat? hull, bool clockwise = false, bool returnPoints = true}) {
  hull ??= Mat.empty();
  cvRun(() => cimgproc.cv_convexHull2f(points.ref, hull!.ref, clockwise, returnPoints, ffi.nullptr));
  return hull;
}