Publisher review:Stable Direct Least Squares Ellipse Fit - Numerically stable fitting of data to an ellipse, not a hyperbola or parabola. ELLIPSEFIT Stable Direct Least Squares Ellipse Fit to Data.[Xc,Yc,A,B,Phi,P]=ELLIPSEFIT(X,Y) finds the least squares ellipse that best fits the data in X and Y. X and Y must have at least 5 data points.Xc and Yc are the x- and y-axis center of the ellipse respectively.A and B are the major and minor axis of the ellipse respectively.Phi is the radian angle of the major axis with respect to the x-axis.P is a vector containing the general conic parameters of the ellipse.The conic representation of the ellipse is given by:P(1)*x^2 P(2)*x*y P(3)*y^2 P(4)*x P(5)*y P(6) = 0S=ELLIPSEFIT(X,Y) returns the output data in a structure with field names equal to the variable names given above, e.g., S.Xc, S.Yc, S.A, S.B, S.Phi and S.PReference: R. Halif and J. Flusser, "Numerically Stable Direct Least Squares FItting of Ellipses," Department of Software Engineering, Charles University, Czech Republic, 2000.Conversion from conic to conventional ellipse equation inspired by fit_ellipse.m on MATLAB Central
Stable Direct Least Squares Ellipse Fit is a Matlab script for Mathematics scripts design by Duane Hanselman.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris