| Cv2FitEllipseAMS Method (IEnumerablePoint2f) |
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 Approximate Mean Square(AMS) proposed by @cite Taubin1991 is used.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static RotatedRect FitEllipseAMS(
IEnumerable<Point2f> points
)
Public Shared Function FitEllipseAMS (
points As IEnumerable(Of Point2f)
) As RotatedRect
public:
static RotatedRect FitEllipseAMS(
IEnumerable<Point2f>^ points
)
static member FitEllipseAMS :
points : IEnumerable<Point2f> -> RotatedRect
Parameters
- points
- Type: System.Collections.GenericIEnumerablePoint2f
Input 2D point set
Return Value
Type:
RotatedRect[Missing <returns> documentation for "M:OpenCvSharp.Cv2.FitEllipseAMS(System.Collections.Generic.IEnumerable{OpenCvSharp.Point2f})"]
See Also