| Cv2FitEllipseAMS 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 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<Point> points
)
Public Shared Function FitEllipseAMS (
points As IEnumerable(Of Point)
) As RotatedRect
public:
static RotatedRect FitEllipseAMS(
IEnumerable<Point>^ points
)
static member FitEllipseAMS :
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.FitEllipseAMS(System.Collections.Generic.IEnumerable{OpenCvSharp.Point})"]
See Also