As with the circle, both algebraic and geometric minimization can be performed.
The quadratic equation of an ellipse is
 |
(4.121) |
where
is a symmetric positive-definite matrix.
Here, too, solving the homogeneous problem (4.121) yields the six unknowns of the system (up to a multiplicative factor), subject to a suitable normalization constraint and verification that the resulting conic is indeed a nondegenerate ellipse.
The nonlinear solution that minimizes the geometric error can be obtained using the parametric representation of the ellipse:
 |
(4.122) |
where
represents the center of the ellipse,
the lengths of its two semiaxes, and
its rotation about the center.
As with the circle, the
are auxiliary variables, and the nonlinear problem has
unknowns and
equations.
Paolo medici
2026-10-19