Cv2MinAreaRect Method (IEnumerablePoint)
|
Finds the minimum area rotated rectangle enclosing a 2D point set.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static RotatedRect MinAreaRect(
IEnumerable<Point> points
)
Public Shared Function MinAreaRect (
points As IEnumerable(Of Point)
) As RotatedRect
public:
static RotatedRect MinAreaRect(
IEnumerable<Point>^ points
)
static member MinAreaRect :
points : IEnumerable<Point> -> RotatedRect
OpenCvSharp.Cv2.MinAreaRect = function(points);
Parameters
- points
- Type: System.Collections.GenericIEnumerablePoint
The input 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
Return Value
Type:
RotatedRect
See Also