betaFeedback

WorksComputer Science

Which Ellipses Are Outlines of a Given Ellipsoid? A Ratio Test with Unknown Focal Length

Abstract

When is an image ellipse the outline of a given ellipsoid with semi-axes a<=b<=c?Foracamerawithsquarepixels,zeroskewandknownprincipalpoint,weshowthatitisanoutlineatfocallengtha <= b <= c? For a camera with square pixels, zero skew and known principal point, we show that it is an outline at focal length fexactlywhenaconeratiokappa(f),computedfromtwoeigenvalues,isatmosta/c;themiddlesemi−axisbplaysnorole.Withfunknown,theadmissiblefocallengthsformaninterval;whetheritisemptyisdecidedbythesmallestconeratioover exactly when a cone ratio kappa(f), computed from two eigenvalues, is at most a/c; the middle semi-axis b plays no role. With f unknown, the admissible focal lengths form an interval; whether it is empty is decided by the smallest cone ratio over f$, which, when attained, is obtained from an explicit quartic. The interval is bounded above only when the principal point is closer to the long axis of the ellipse than to its short axis. Thus one ellipse can rule out ellipsoids that are too round, never ones that are too elongated, and none if the principal point is unknown. Simulations and 45 Cassini images of Saturn's moons support the test.

Introduction

Ellipsoids model objects that appear as image ellipses in object-level mapping [26, 21], relocalization [12, 13, 34], and horizon-based navigation and calibration [5, 25]. Before computing a pose, one may ask three questions. Can this ellipse be the outline of this ellipsoid? If so, at which focal lengths? And what does a single ellipse reveal about the shape? The answers can be used to reject wrong hypotheses or correspondences early, to bound an unknown focal length (zoom lenses, archival images), and to initialize pose solvers. These are questions of realizability, not reconstruction: we ask whether some pose and focal length produce the ellipse, not which one did.

The ratio test. Let the ellipsoid have semi-axes a≥b≥ca \ge b \ge c, and let the camera have square pixels, zero skew, no lens distortion and known principal point pp. In homogeneous pixel coordinates x=(u,v,1)T\mathbf{x} = (u,v,1)^{\mathsf{T}} centered at pp, write the image ellipse EE as xTCx=0\mathbf{x}^{\mathsf{T}}C\mathbf{x}=0, with CC signed so that its upper-left 2×22 \times2 block is positive definite. For a focal length ff, put Kf=diag⁡(f,f,1)K_f = \operatorname{diag}(f,f,1) and Qf=KfCKfQ_f = K_f C K_f. The rays from the camera center through the points of EE form the cone of rays dTQfd=0\mathbf{d}^{\mathsf{T}}Q_f\mathbf{d}=0, where d=(u/f,v/f,1)T\mathbf{d}=(u/f,v/f,1)^{\mathsf{T}} is the direction of the ray through (u,v)(u,v). The matrix QfQ_f has two positive eigenvalues μ−≤μ+\mu_- \le\mu_+, which depend on the scale of CC; their cone ratio κ(f)=μ+/μ−\kappa(f)=\sqrt{\mu_+/\mu_-} does not. Our first result (Theorem 3) is

E is an outline at focal length f⟺κ(f)≤a/c.E\text{ is an outline at focal length }f \Longleftrightarrow\kappa(f) \le a/c.

Assumptions. The theory needs a central projection and the exact conic of the outline, although the outline itself need not be fully visible. Any known calibration reduces to square pixels and zero skew (Remark 19). In practice the conic is fitted to noisy edges, predicted by a detector [34] or, for moons, fitted to the sunlit limb; Remark 17 handles a bounded error in it.

Contributions.

  1. The ratio test (§ 3): one symmetric 3×33 \times3 eigenvalue problem, independent of bb; its constructive proof gives the poses (Remark 5).

  1. Where the camera can be (§ 4): one inequality between two confocal coordinates of the camera center with respect to EE.

  1. Unknown focal length (§ 5), our main contribution: κ(f)\kappa(f) is quasiconvex, so the admissible ff form an interval (Theorem 9); its emptiness is decided by κmin⁡\kappa_{\min}, obtained when attained from a quartic (Theorem 15); it is bounded above only in the long-axis wedge (Proposition 10); Algorithm 1 computes it.

  1. What one ellipse reveals (§ 6): only too-round ellipsoids are ruled out, none if pp is unknown; error bounds for noisy ellipses; general calibrations.

  1. Experiments (§ 7): simulations and 45 Cassini images.

Proofs are in section A.

Related work. Pose from conics and quadric outlines goes back to [8, 20]; pose from one ellipse has been computed for spheroids [31] and ellipsoids [13], whose existence condition [13 Thm. 1], with a free scalar parameter, is equivalent to our test for a calibrated camera (section B); Proposition 6 corrects a remark there on circular tangent cones.

Sphere outlines are well studied [7, 2, 32, 33]; with pp known, one sphere image fixes ff [23, 17, 22], which is the case a=ca=c of our test. With the pose known, one image of an ellipsoid can fix ff and pp [25]; we assume the pose unknown and pp known. One outline of a generic algebraic surface of degree at least three determines it up to projectivity [11]; quadrics are the exception.

The geometry is classical: tangent cones of quadrics are described by confocal quadrics [27], [28 Ch. VIII], the cone over an ellipse is circular exactly from its focal hyperbola [14], and the tangent cone from OO has dual matrix D−OOTD-O O^{\mathsf{T}}, D=diag⁡(a2,b2,c2)D=\operatorname{diag}(a^2,b^2,c^2) [18 Sec. 8.3], so interlacing [15] gives κ≤a/c\kappa\le a/c, in the orthographic limit the classical range of projected axis ratios [29, 3]. New here are the converse of this bound, in closed form and without a free parameter, the region of camera centers, and the analysis with ff unknown.

Setting and notation

The camera is as in section 1; its focal length ff is given in section 3 and unknown from section 5 on. With the image plane at z=0z=0, the camera center is O=(p,f)O=(p,f), at height ff above pp (Figure 1). The ellipsoid has unknown pose and known shape: its semi-axes a≥b≥ca\ge b\ge c are known up to a common factor, since one image cannot separate size from distance. It is triaxial if a>b>ca>b>c, and a spheroid if two semi-axes are equal: prolate if a>b=ca>b=c, oblate if a=b>ca=b>c.

Figure 1. The rays from the camera center OO that are tangent to the ellipsoid form its tangent cone (shaded). They touch the ellipsoid along the contour generator (red) and meet the image plane in the outline EE (blue). The perspective scene is drawn in an orthographic view.

The image ellipse EE has semi-axes aE≥bEa_E\ge b_E and conic matrix

C=(AEβEβETγE)C=\begin{pmatrix} A_E & \beta_E \\ \beta_E^{\mathsf{T}} & \gamma_E \end{pmatrix}

in coordinates centered at pp, signed so that AEA_E is positive definite; its eigenvalues 0<α1≤α20<\alpha_1\le\alpha_2 satisfy α2/α1=aE2/bE2\alpha_2/\alpha_1=a_E^2/b_E^2. The entry γE\gamma_E is positive, zero or negative as pp lies outside, on or inside EE. Since EE is a real nondegenerate ellipse, det⁡C=det⁡AE(γE−βETAE−1βE)<0\det C=\det A_E(\gamma_E-\beta_E^{\mathsf{T}}A_E^{-1}\beta_E)<0, so CC has one negative and two positive eigenvalues, and, by Sylvester’s law of inertia, so does QfQ_f for every f>0f>0. Table 1 lists the main notation.

a≥b≥ca \ge b \ge c; Λ\Lambdasemi-axes of the ellipsoid; diag⁡(a−2,b−2,c−2)\operatorname{diag}(a^{-2}, b^{-2}, c^{-2})
EE, aE≥bEa_E \ge b_E; CCimage ellipse and its semi-axes; its conic matrix, centered at pp, with blocks AEA_E (eigenvalues α1≤α2\alpha_1 \le\alpha_2), βE\beta_E, γE\gamma_E
pp, ff, OO; KfK_f, QfQ_fprincipal point, focal length, camera center; diag⁡(f,f,1)\operatorname{diag}(f, f, 1), KfCKfK_f C K_f (cone of rays)
(x,y)(x,y); dEd_E, eEe_Eposition of pp in the frame of EE; distances from the center of EE to pp and to a focus
−μ0<0<μ−≤μ+-\mu_0 < 0 < \mu_- \le\mu_+; κ\kappaeigenvalues of QfQ_f; cone ratio μ+/μ−\sqrt{\mu_+/\mu_-}
κmin⁡\kappa_{\min}, f∗f^*; κ∞\kappa_\infty, κ0\kappa_0inf⁡fκ\inf_f \kappa and, when the infimum is attained, its minimizer; limits of κ\kappa as f→∞f \to\infty (=aE/bE=a_E/b_E) and f→0f \to0 (pp inside EE)
λi\lambda_i; θi\theta_iconfocal coordinates of OO with respect to the ellipsoid; to EE
ρ\rho; I(ρ)I(\rho)hypothesized a/ca/c; interval {f>0:κ(f)≤ρ}\{f > 0 : \kappa(f) \le\rho\} of admissible focal lengths

Table 1. Main notation; other symbols are defined where they are used.

Definition 1 (outline). EE is an outline (or apparent contour) of the ellipsoid at focal length ff if the ellipsoid can be rotated, translated and uniformly scaled into the open half-space z<fz<f, in front of the camera’s principal plane z=fz=f, so that the boundary of its central projection from OO onto the image plane z=0z=0 is EE.

References

  1. [1]C. Acton, N. Bachman, B. Semenov, and E. Wright, A look towards the future in the handling of space science mission geometry, Planet. Space Sci., 150 (2018), pp. 9–12, doi:10.1016/j.pss.2017.02.013.
  2. [2]M. Agrawal and L. S. Davis, Camera calibration using spheres: A semi-definite programming approach, in Proc. Ninth IEEE International Conference on Computer Vision (ICCV), vol. 2, 2003, pp. 782–789, doi:10.1109/ICCV.2003.1238248.
  3. [3]J. Binney, Testing for triaxiality with kinematic data, Mon. Not. R. Astron. Soc., 212 (1985), pp. 767–781, doi:10.1093/mnras/212.4.767.DOI
  4. [4]Cassini Imaging Science Subsystem Team, Cassini ISS Saturn tour images, raw (PDS volumes COISS_2xxx) and calibrated products. NASA Planetary Data System, Cartography and Imaging Sciences Node and Ring-Moon Systems Node; retrieved through OPUS, https://opus.pds-rings.seti.org. Accessed November 20, 2026.
  5. [5]J. A. Christian, A tutorial on horizon-based optical navigation and attitude determination with space imaging systems, IEEE Access, 9 (2021), pp. 19819–19853, doi:10.1109/ACCESS.2021.3051914.DOI
  6. [6]G. Cross and A. Zisserman, Quadric reconstruction from dual-space geometry, in Proc. Sixth International Conference on Computer Vision (ICCV), 1998, pp. 25–31, doi:10.1109/ICCV.1998.710697.
  7. [7]N. Daucher, M. Dhome, and J. T. Lapresté, Camera calibration from spheres images, in Computer Vision — ECCV ’94, J.-O. Eklundh, ed., vol. 800 of Lecture Notes in Computer Sci., Berlin, Heidelberg, 1994, Springer, pp. 447–454, doi:10.1007/3-540-57956-7_49.DOI
  8. [8]M. Ferri, F. Mangili, and G. Viano, Projective pose estimation of linear and quadratic primitives in monocular computer vision, CVGIP: Image Underst., 58 (1993), pp. 66–84, doi:10.1006/cviu.1993.1033.DOI
  9. [9]M. A. Fischler and R. C. Bolles, Random sample consensus: A paradigm for model fitting with applications to image analysis and automated cartography, Commun. ACM, 24 (1981), pp. 381–395, doi:10.1145/358669.358692.DOI
  10. [10]A. Fitzgibbon, M. Pilu, and R. B. Fisher, Direct least square fitting of ellipses, IEEE Trans. Pattern Anal. Mach. Intell., 21 (1999), pp. 476–480, doi:10.1109/34.765658.DOI
  11. [11]D. A. Forsyth, Recognizing algebraic surfaces from their outlines, Int. J. Comput. Vis., 18 (1996), pp. 21–40.DOI
  12. [12]V. Gaudillière, G. Simon, and M.-O. Berger, Perspective-2-ellipsoid: Bridging the gap between object detections and 6-DoF camera pose, IEEE Robot. Autom. Lett., 5 (2020), pp. 5189–5196, doi:10.1109/LRA.2020. 3005387.DOI
  13. [13]V. Gaudillière, G. Simon, and M.-O. Berger, Perspective-1-ellipsoid: Formulation, analysis and solutions of the camera pose estimation prob- lem from one ellipse-ellipsoid correspondence, Int. J. Comput. Vis., 131 (2023), pp. 2446–2470, doi:10.1007/s11263-023-01794-x. Extended ver- sion: arXiv:2208.12513v3.DOI
  14. [14]G. Glaeser, H. Stachel, and B. Odehnal, The Universe of Conics, Springer, Berlin, Heidelberg, 2016, doi:10.1007/978-3-662-45450-3.DOI
  15. [15]G. H. Golub, Some modified matrix eigenvalue problems, SIAM Rev., 15 (1973), pp. 318–334, doi:10.1137/1015032.DOI
  16. [16]R. Halír and J. Flusser, Numerically stable direct least squares fitting of ellipses, in Proc. 6th International Conference in Central Europe on Computer Graphics and Visualization (WSCG), 1998, pp. 125–132.
  17. [17]K. Han, K.-Y. K. Wong, and X. Tan, Single view 3D reconstruction under an uncalibrated camera and an unknown mirror sphere, in Proc. Fourth International Conference on 3D Vision (3DV), 2016, pp. 408–416, doi:10.1109/3DV.2016.50.DOI
  18. [18]R. Hartley and A. Zisserman, Multiple View Geometry in Computer Vision, Cambridge University Press, Cambridge, 2nd ed., 2004, doi:10. 1017/CBO9780511811685.DOI
  19. [19]B. Knowles, R. West, P. Helfenstein, A. Verbисer, D. Wilson, and C. Porco, End-of-mission calibration of the Cassini Imaging Science Subsystem, Planet. Space Sci., 185 (2020), p. 104898, doi:10.1016/j.pss. 2020.104898.DOI
  20. [20]S. D. Ma, Conics-based stereo, motion estimation, and pose determination, Int. J. Comput. Vis., 10 (1993), pp. 7–25, doi:10.1007/BF01440844.DOI
  21. [21]L. Nicholson, M. Milford, and N. Sünderhauf, QuadricSLAM: Dual quadrics from object detections as landmarks in object-oriented SLAM, IEEE Robot. Autom. Lett., 4 (2019), pp. 1–8, doi:10.1109/LRA.2018. 2866205.arxiv.org/abs/1804.04011
  22. [22]E. Ozgur, M. Alkhаtib, Y. Mezouar, and A. Bartoli, Recon- structing a sphere and the camera focal length from a single view by fit- ting planes, Int. J. Comput. Vis., 134 (2026), p. Art. 151, doi:10.1007/ s11263-025-02697-9.DOI
  23. [23]R. Penne, B. Ribbens, L. Mertens, and P. Levrie, What does one image of one ball tell us about the focal length?, in Advanced Concepts for Intelligent Vision Systems (ACIVS), S. Battiato, J. Blanc-Talon, G. Gallo, W. Philips, D. Popescu, and P. Scheunders, eds., vol. 9386 of Lecture Notes in Comput. Sci., Cham, 2015, Springer, pp. 501–509, doi:10.1007/978–3–319–25903–1_43.DOI
  24. [24]C. C. Porco et al., Cassini imaging science: Instrument characteristics and anticipated scientific investigations at Saturn, Space Sci. Rev., 115 (2004), pp. 363–497, doi:10.1007/s11214–004–1456–7.
  25. [25]K. R. D. Rivera and M. A. Peck, Camera calibration from a single imaged ellipsoid: A moon calibration algorithm. Preprint, arXiv:2307.00689 [cs.CV], 2023.arxiv.org/abs/2307.00689
  26. [26]C. Rubino, M. Crocco, and A. Del Bue, 3D object localisation from multi-view image detections, IEEE Trans. Pattern Anal. Mach. Intell., 40 (2018), pp. 1281–1294, doi:10.1109/TPAMI.2017.2701373.DOI
  27. [27]G. Salmon, A Treatise on the Analytic Geometry of Three Dimensions, Hodges, Figgis, Dublin, 4th ed., 1882.
  28. [28]C. Smith, An Elementary Treatise on Solid Geometry, Macmillan, London, 2nd ed., 1907. First edition 1884; 11th impression of the 2nd edition.
  29. [29]A. A. Stark, Triaxial models of the bulge of M31, Astrophys. J., 213 (1977), pp. 368–373, doi:10.1086/155164.DOI
  30. [30]P. C. Thomas, Sizes, shapes, and derived properties of the saturnian satellites after the Cassini nominal mission, Icarus, 208 (2010), pp. 395–401, doi:10.1016/j.icarus.2010.01.025.DOI
  31. [31]D. S. Wokes and P. L. Palmer, Perspective reconstruction of a spheroid from an image plane ellipse, Int. J. Comput. Vis., 90 (2010), pp. 369–379, doi:10.1007/s11263–010–0368–0.DOI
  32. [32]X. Yung and H. Zha, Geometric interpretations of the relation between the image of the absolute conic and sphere images, IEEE Trans. Pattern Anal. Mach. Intell., 28 (2006), pp. 2031–2036, doi:10.1109/TPAMI.2006.245.
  33. [33]H. Zhang, K.-Y. K. Wong, and G. Zhang, Camera calibration from images of spheres, IEEE Trans. Pattern Anal. Mach. Intell., 29 (2007), pp. 499–502, doi:10.1109/TPAMI.2007.45.DOI
  34. [34]M. Zins, G. Simon, and M.-O. Berger, Object-based visual camera pose estimation from ellipsoidal model and 3D-aware ellipse prediction, Int. J. Comput. Vis., 130 (2022), pp. 1107–1126, doi:10.1007/s11263-022-01585-w.DOI

Paper details

vlnc:W_yueu5ycc
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 7

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Claude Opus 5.5 (bare)

View statement
Looking for related papers…
Contents