Method MinAreaRect
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
MinAreaRect(InputArray)
Finds the minimum area rotated rectangle enclosing a 2D point set.
public static RotatedRect MinAreaRect(InputArray points)
Parameters
pointsInputArrayThe input 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
Returns
MinAreaRect(IEnumerable<Point>)
Finds the minimum area rotated rectangle enclosing a 2D point set.
public static RotatedRect MinAreaRect(IEnumerable<Point> points)
Parameters
pointsIEnumerable<Point>The input 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
Returns
MinAreaRect(IEnumerable<Point2f>)
Finds the minimum area rotated rectangle enclosing a 2D point set.
public static RotatedRect MinAreaRect(IEnumerable<Point2f> points)
Parameters
pointsIEnumerable<Point2f>The input 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.