| Cv2FitEllipseDirect Method (IEnumerablePoint) |
Fits an ellipse around a set of 2D points.
The function calculates the ellipse that fits a set of 2D points.
It returns the rotated rectangle in which the ellipse is inscribed.
The Direct least square(Direct) method by @cite Fitzgibbon1999 is used.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static RotatedRect FitEllipseDirect(
IEnumerable<Point> points
)
Public Shared Function FitEllipseDirect (
points As IEnumerable(Of Point)
) As RotatedRect
public:
static RotatedRect FitEllipseDirect(
IEnumerable<Point>^ points
)
static member FitEllipseDirect :
points : IEnumerable<Point> -> RotatedRect
Parameters
- points
- Type: System.Collections.GenericIEnumerablePoint
Input 2D point set
Return Value
Type:
RotatedRect[Missing <returns> documentation for "M:OpenCvSharp.Cv2.FitEllipseDirect(System.Collections.Generic.IEnumerable{OpenCvSharp.Point})"]
See Also