http://www.emgu.com
Calculates ellipse that fits best (in least-squares sense) to a set of 2D points. The meaning of the returned structure fields is similar to those in cvEllipse except that size stores the full lengths of the ellipse axises, not half-lengths

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static MCvBox2D cvFitEllipse2(
	IntPtr points
)
Visual Basic
Public Shared Function cvFitEllipse2 ( _
	points As IntPtr _
) As MCvBox2D
Visual C++
public:
static MCvBox2D cvFitEllipse2(
	IntPtr points
)

Parameters

points
Type: System..::..IntPtr
Sequence or array of points

Return Value

The ellipse that fits best (in least-squares sense) to a set of 2D points

See Also