| Cv2FitEllipseDirect Method (InputArray) |
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(
InputArray points
)
Public Shared Function FitEllipseDirect (
points As InputArray
) As RotatedRect
public:
static RotatedRect FitEllipseDirect(
InputArray^ points
)
static member FitEllipseDirect :
points : InputArray -> RotatedRect
Parameters
- points
- Type: OpenCvSharpInputArray
Input 2D point set
Return Value
Type:
RotatedRect[Missing <returns> documentation for "M:OpenCvSharp.Cv2.FitEllipseDirect(OpenCvSharp.InputArray)"]
See Also