Table of Contents

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

points InputArray

The input 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.

Returns

RotatedRect

MinAreaRect(IEnumerable<Point>)

Finds the minimum area rotated rectangle enclosing a 2D point set.

public static RotatedRect MinAreaRect(IEnumerable<Point> points)

Parameters

points IEnumerable<Point>

The input 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.

Returns

RotatedRect

MinAreaRect(IEnumerable<Point2f>)

Finds the minimum area rotated rectangle enclosing a 2D point set.

public static RotatedRect MinAreaRect(IEnumerable<Point2f> points)

Parameters

points IEnumerable<Point2f>

The input 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.

Returns

RotatedRect