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.1.0.649 (2.1.0.649)

Syntax

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

Parameters

points
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