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 ≥ c a \ge b \ge c a ≥ b ≥ c , and let the camera have square pixels, zero skew, no lens distortion and known principal point p p p . In homogeneous pixel coordinates x = ( u , v , 1 ) T \mathbf{x} = (u,v,1)^{\mathsf{T}} x = ( u , v , 1 ) T centered at p p p , write the image ellipse E E E as x T C x = 0 \mathbf{x}^{\mathsf{T}}C\mathbf{x}=0 x T C x = 0 , with C C C signed so that its upper-left 2 × 2 2 \times2 2 × 2 block is positive definite. For a focal length f f f , put K f = diag ( f , f , 1 ) K_f = \operatorname{diag}(f,f,1) K f = diag ( f , f , 1 ) and Q f = K f C K f Q_f = K_f C K_f Q f = K f C K f . The rays from the camera center through the points of E E E form the cone of rays d T Q f d = 0 \mathbf{d}^{\mathsf{T}}Q_f\mathbf{d}=0 d T Q f d = 0 , where d = ( u / f , v / f , 1 ) T \mathbf{d}=(u/f,v/f,1)^{\mathsf{T}} d = ( u / f , v / f , 1 ) T is the direction of the ray through ( u , v ) (u,v) ( u , v ) . The matrix Q f Q_f Q f has two positive eigenvalues μ − ≤ μ + \mu_- \le\mu_+ μ − ≤ μ + , which depend on the scale of C C C ; their cone ratio κ ( f ) = μ + / μ − \kappa(f)=\sqrt{\mu_+/\mu_-} κ ( f ) = μ + / μ − 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. E is an outline at focal length f ⟺ κ ( f ) ≤ 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.
The ratio test (§ 3 ): one symmetric 3 × 3 3 \times3 3 × 3 eigenvalue problem, independent of b b b ; its constructive proof gives the poses (Remark 5).
Where the camera can be (§ 4 ): one inequality between two confocal coordinates of the camera center with respect to E E E .
Unknown focal length (§ 5 ), our main contribution: κ ( f ) \kappa(f) κ ( f ) is quasiconvex, so the admissible f f f form an interval (Theorem 9 ); its emptiness is decided by κ min \kappa_{\min} κ m i n , obtained when attained from a quartic (Theorem 15 ); it is bounded above only in the long-axis wedge (Proposition 10 ); Algorithm 1 computes it.
What one ellipse reveals (§ 6 ): only too-round ellipsoids are ruled out, none if p p p is unknown; error bounds for noisy ellipses; general calibrations.
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 p p p known, one sphere image fixes f f f [23 , 17 , 22 ] , which is the case a = c a=c a = c of our test. With the pose known, one image of an ellipsoid can fix f f f and p p p [25 ] ; we assume the pose unknown and p p p 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 O O O has dual matrix D − O O T D-O O^{\mathsf{T}} D − O O T , D = diag ( a 2 , b 2 , c 2 ) D=\operatorname{diag}(a^2,b^2,c^2) D = diag ( a 2 , b 2 , c 2 ) [18 Sec. 8.3] , so interlacing [15 ] gives κ ≤ a / c \kappa\le a/c κ ≤ 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 f f f unknown.
Setting and notation
The camera is as in section 1; its focal length f f f is given in section 3 and unknown from section 5 on. With the image plane at z = 0 z=0 z = 0 , the camera center is O = ( p , f ) O=(p,f) O = ( p , f ) , at height f f f above p p p (Figure 1 ). The ellipsoid has unknown pose and known shape: its semi-axes a ≥ b ≥ c a\ge b\ge c a ≥ b ≥ c are known up to a common factor, since one image cannot separate size from distance. It is triaxial if a > b > c a>b>c a > b > c , and a spheroid if two semi-axes are equal: prolate if a > b = c a>b=c a > b = c , oblate if a = b > c a=b>c a = b > c .
Figure 1. The rays from the camera center O O O 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 E E E (blue). The perspective scene is drawn in an orthographic view.
The image ellipse E E E has semi-axes a E ≥ b E a_E\ge b_E a E ≥ b E and conic matrix
C = ( A E β E β E T γ E ) C=\begin{pmatrix} A_E & \beta_E \\ \beta_E^{\mathsf{T}} & \gamma_E \end{pmatrix} C = ( A E β E T β E γ E )
in coordinates centered at p p p , signed so that A E A_E A E is positive definite; its eigenvalues 0 < α 1 ≤ α 2 0<\alpha_1\le\alpha_2 0 < α 1 ≤ α 2 satisfy α 2 / α 1 = a E 2 / b E 2 \alpha_2/\alpha_1=a_E^2/b_E^2 α 2 / α 1 = a E 2 / b E 2 . The entry γ E \gamma_E γ E is positive, zero or negative as p p p lies outside, on or inside E E E . Since E E E is a real nondegenerate ellipse, det C = det A E ( γ E − β E T A E − 1 β E ) < 0 \det C=\det A_E(\gamma_E-\beta_E^{\mathsf{T}}A_E^{-1}\beta_E)<0 det C = det A E ( γ E − β E T A E − 1 β E ) < 0 , so C C C has one negative and two positive eigenvalues, and, by Sylvester’s law of inertia, so does Q f Q_f Q f for every f > 0 f>0 f > 0 . Table 1 lists the main notation.
Table 1. Main notation; other symbols are defined where they are used.
Definition 1 (outline). E E E is an outline (or apparent contour) of the ellipsoid at focal length f f f if the ellipsoid can be rotated, translated and uniformly scaled into the open half-space z < f z<f z < f , in front of the camera’s principal plane z = f z=f z = f , so that the boundary of its central projection from O O O onto the image plane z = 0 z=0 z = 0 is E E E .
The frame of E E E . We place the origin at the center of E E E , the first axis along its long axis and the third axis vertical, so that O = ( x , y , f ) O=(x,y,f) O = ( x , y , f ) , where ( x , y ) (x,y) ( x , y ) is the position of p p p . The axis lines of E E E are its two lines of symmetry. The long-axis wedge of E E E is the region ∣ x ∣ > ∣ y ∣ |x|>|y| ∣ x ∣ > ∣ y ∣ : the points closer to the long axis line than to the short axis line. Let d E d_E d E be the distance from the center of E E E to p p p and, for a E > b E a_E>b_E a E > b E , let e E = a E 2 − b E 2 e_E=\sqrt{a_E^2-b_E^2} e E = a E 2 − b E 2 be the distance from the center to a focus. The focal hyperbola of E E E is x 2 / e E 2 − z 2 / b E 2 = 1 x^2/e_E^2-z^2/b_E^2=1 x 2 / e E 2 − z 2 / b E 2 = 1 , y = 0 y=0 y = 0 ; it passes through the foci of E E E , and the cone of rays through E E E is circular (κ = 1 \kappa=1 κ = 1 ) exactly when the camera center lies on it [14 ] (see also Proposition 7 and Remark 4).
The ratio test
Let − μ 0 < 0 < μ − ≤ μ + -\mu_0 < 0 < \mu_- \leq\mu_+ − μ 0 < 0 < μ − ≤ μ + be the eigenvalues of Q f Q_f Q f , the matrix of the cone of rays from the camera center through E E E . Its cone axis is the eigenvector of − μ 0 -\mu_0 − μ 0 , and its cone ratio κ = μ + / μ − ≥ 1 \kappa= \sqrt{\mu_+/\mu_-} \geq1 κ = μ + / μ − ≥ 1 is the ratio of the semi-axes of its cross-sections perpendicular to the cone axis; in general κ ≠ a E / b E \kappa\ne a_E/b_E κ = a E / b E . In this section we work in the ellipsoid frame and also write O O O for the camera center in that frame.
Tangent cones
Through each point outside the ellipsoid pass three quadrics confocal with it; their parameters are the confocal coordinates of the point. Classically, the tangent cone from the point has its axes along the normals of these quadrics, and its eigenvalues are determined by the confocal coordinates [27 ] , [28 Ch. VIII] . This reduces the test to bounds on confocal coordinates.
Lemma 2 (tangent cones and confocal quadrics). Let the ellipsoid be X T Λ X = 1 \mathbf{X}^{\mathsf{T}}\Lambda\mathbf{X}=1 X T Λ X = 1 with a ≥ b ≥ c a \geq b \geq c a ≥ b ≥ c , and let O = ( O 1 , O 2 , O 3 ) O=(O_1,O_2,O_3) O = ( O 1 , O 2 , O 3 ) lie outside it, so that ς = O T Λ O − 1 > 0 \varsigma=O^{\mathsf{T}}\Lambda O^{-1}>0 ς = O T Λ O − 1 > 0 . Then:
(i) the tangent cone from O O O is d T M d = 0 \mathbf{d}^{\mathsf{T}}M\mathbf{d}=0 d T M d = 0 , with M = ς Λ − Λ O O T Λ M=\varsigma\Lambda-\Lambda OO^{\mathsf{T}}\Lambda M = ς Λ − Λ O O T Λ ;
(ii) the equation
O 1 2 a 2 + λ + O 2 2 b 2 + λ + O 3 2 c 2 + λ = 1 , (1) \frac{O_1^2}{a^2+\lambda}+\frac{O_2^2}{b^2+\lambda}+\frac{O_3^2}{c^2+\lambda}=1, \tag*{(1)} a 2 + λ O 1 2 + b 2 + λ O 2 2 + c 2 + λ O 3 2 = 1 , (1) with denominators cleared, has three real roots, the confocal coordinates λ 1 > 0 \lambda_1>0 λ 1 > 0 , − b 2 ≤ λ 2 ≤ − c 2 -b^2\leq\lambda_2\leq-c^2 − b 2 ≤ λ 2 ≤ − c 2 and − a 2 ≤ λ 3 ≤ − b 2 -a^2\leq\lambda_3\leq-b^2 − a 2 ≤ λ 3 ≤ − b 2 of O O O , with strict inequalities when a > b > c a>b>c a > b > c and O O O lies off the coordinate planes;
(iii) M M M has eigenvalues − ς / λ i -\varsigma/\lambda_i − ς / λ i , i = 1 , 2 , 3 i=1,2,3 i = 1 , 2 , 3 . Hence its cone ratio is λ 3 / λ 2 ∈ [ 1 , a / c ] \sqrt{\lambda_3/\lambda_2}\in[1,a/c] λ 3 / λ 2 ∈ [ 1 , a / c ] .
When the ellipsoid lies in front of the principal plane (Definition 1 ), the image plane cuts its tangent cone from O O O in an ellipse, the outline E E E . The cone touches the ellipsoid along the contour generator (Figure 1 ), the ellipse in which the polar plane of O O O meets the ellipsoid [18 Sec. 8.3] .
The test
By Lemma 2, no tangent cone has cone ratio above a / c a/c a / c . The converse, proved in section A, is that every real elliptic cone with cone ratio at most a / c a/c a / c is, after a rigid motion and up to a positive factor, a tangent cone of the ellipsoid. Together they give the test.
Theorem 3 (the ratio test). Let the ellipsoid have semi-axes a ≥ b ≥ c a \geq b \geq c a ≥ b ≥ c , and let the camera have square pixels, zero skew and known principal point p p p . Let C C C be the conic matrix of E E E in coordinates centered at p p p , signed as in § 2 , so
that Q f = K f C K f Q_f = K_f C K_f Q f = K f C K f , K f = diag ( f , f , 1 ) K_f = \operatorname{diag}(f,f,1) K f = diag ( f , f , 1 ) , has two positive eigenvalues μ − ≤ μ + \mu_- \le\mu_+ μ − ≤ μ + , and let κ ( f ) = μ + / μ − \kappa(f) = \sqrt{\mu_+/\mu_-} κ ( f ) = μ + / μ − . Then:
(i) E E E is an outline of the ellipsoid at focal length f f f (Definition 1 ) if and only if κ ( f ) ≤ a / c \kappa(f) \le a/c κ ( f ) ≤ a / c ;
(ii) for fixed p p p and f f f , the set of outlines depends on ( a , b , c ) (a,b,c) ( a , b , c ) only through a / c a/c a / c .
The converse is the substantial direction of (i): every real elliptic cone satisfying the bound is a tangent cone of the given ellipsoid, and the proof constructs the pose (Remark 5). By (ii), for example, a prolate and an oblate spheroid with the same a / c a/c a / c , such as a rugby ball and a lentil, have the same outlines.
Why b b b drops out. Up to rotation and scale, an elliptic cone has two invariants: its squared cone ratio μ + / μ − \mu_+/\mu_- μ + / μ − and its aperture μ 0 / μ − \mu_0/\mu_- μ 0 / μ − . For a tangent cone these are λ 3 / λ 2 \lambda_3/\lambda_2 λ 3 / λ 2 and ∣ λ 3 ∣ / λ 1 \lvert\lambda_3\rvert/\lambda_1 ∣ λ 3 ∣ / λ 1 (Lemma 2 ). Since ∣ λ 2 ∣ \lvert\lambda_2\rvert ∣ λ 2 ∣ ranges over [ c 2 , b 2 ] [c^2,b^2] [ c 2 , b 2 ] and ∣ λ 3 ∣ \lvert\lambda_3\rvert ∣ λ 3 ∣ over [ b 2 , a 2 ] [b^2,a^2] [ b 2 , a 2 ] , the ratio λ 3 / λ 2 \lambda_3/\lambda_2 λ 3 / λ 2 takes every value in [ 1 , a 2 / c 2 ] [1,a^2/c^2] [ 1 , a 2 / c 2 ] , whatever b b b is; the free coordinate λ 1 > 0 \lambda_1>0 λ 1 > 0 then matches the aperture, and the proof of Theorem 3 gives the point O O O with these coordinates in closed form. Thus b b b drops out of the set of outlines, but not out of the poses that produce them (Remark 5).
Remark 4 (special cases). Spheres. If a = c a=c a = c , the test reads κ = 1 \kappa=1 κ = 1 . With Proposition 7 below this gives the classical description of sphere outlines [7 , 23 , 17 ] : E E E is an outline of a sphere at focal length f > 0 f>0 f > 0 if and only if either a E > b E a_E>b_E a E > b E , p p p lies on the long axis line of E E E beyond a focus (d E > e E d_E>e_E d E > e E ) and f 2 = b E 2 ( d E 2 − e E 2 ) / e E 2 f^2 = b_E^2(d_E^2-e_E^2)/e_E^2 f 2 = b E 2 ( d E 2 − e E 2 ) / e E 2 , that is, the camera center lies on the focal hyperbola of E E E ; or E E E is a circle centered at p p p , and f > 0 f>0 f > 0 is arbitrary. Hence, if p p p may be chosen, every ellipse is a sphere outline at every f > 0 f>0 f > 0 . Since a / c ≥ 1 a/c\ge1 a / c ≥ 1 , a sphere outline is, for the same p p p and f f f , an outline of every ellipsoid.
Orthographic limit. As f → ∞ f\to\infty f → ∞ , κ → a E / b E \kappa\to a_E/b_E κ → a E / b E , and the test becomes a E / b E ≤ a / c a_E/b_E\le a/c a E / b E ≤ a / c , the classical range of axis ratios of orthographic outlines [29 , 3 ] ; the supplementary materials derive it directly by interlacing.
Remark 5 (recovering the pose). The proof of Theorem 3 is constructive. Let a > b > c a>b>c a > b > c and κ ( f ) ≤ a / c \kappa(f)\le a/c κ ( f ) ≤ a / c for a known f f f . The interval [ max ( c 2 μ + , b 2 μ − ) , min ( b 2 μ + , a 2 μ − ) ] [\max(c^2\mu_+,b^2\mu_-),\min(b^2\mu_+,a^2\mu_-)] [ max ( c 2 μ + , b 2 μ − ) , min ( b 2 μ + , a 2 μ − )] is then nonempty. For each τ \tau τ in it, Step 2 of that proof, applied to ( λ 1 , λ 2 , λ 3 ) = ( τ / μ 0 , − τ / μ + , − τ / μ − ) (\lambda_1,\lambda_2,\lambda_3)=(\tau/\mu_0,-\tau/\mu_+,-\tau/\mu_-) ( λ 1 , λ 2 , λ 3 ) = ( τ / μ 0 , − τ / μ + , − τ / μ − ) , gives a camera center in the ellipsoid frame, and Step 3 gives the rotation. The poses form a one-parameter family when 1 < κ < a / c 1<\kappa<a/c 1 < κ < a / c ; when κ = a / c \kappa=a/c κ = a / c the pose is determined up to the symmetries of the ellipsoid, and when κ = 1 \kappa=1 κ = 1 up to a rotation about the cone axis.
Extreme viewpoints
For fixed f f f , the smooth image map sends a placement of the ellipsoid in front of the principal plane (center, rotation and uniform scale: a 7-dimensional manifold) to the conic of its outline, a point of the 5-dimensional manifold of real ellipses (conic matrices up to a positive factor).
Proposition 6 (where κ = a / c \kappa= a/c κ = a / c and κ = 1 \kappa= 1 κ = 1 ). For a triaxial ellipsoid, κ = a / c \kappa= a/c κ = a / c exactly from the points of the middle axis outside it (O 1 = O 3 = 0 O_1 = O_3 = 0 O 1 = O 3 = 0 , ∣ O 2 ∣ > b \lvert O_2\rvert> b ∣ O 2 ∣ > b ), and for every fixed f f f the outlines seen from these points are critical values of the image map; κ = 1 \kappa= 1 κ = 1 exactly from those points outside it that lie on its focal hyperbola O 2 = 0 O_2 = 0 O 2 = 0 , O 1 2 a 2 − b 2 − O 3 2 b 2 − c 2 = 1 \frac{O_1^2}{a^2-b^2} - \frac{O_3^2}{b^2-c^2} = 1 a 2 − b 2 O 1 2 − b 2 − c 2 O 3 2 = 1 [28 Ch. VIII] . For a spheroid, κ = a / c \kappa= a/c κ = a / c exactly from the points of its equatorial plane outside it, and κ = 1 \kappa= 1 κ = 1 exactly from the points of its symmetry axis outside it.
In particular, a triaxial ellipsoid has circular tangent cones (Figure 2 ), contrary to a remark in [13 Sec. 6.1] ; the supplementary materials give an explicit example and locate the gap in that remark.
Figure 2. The 3:2:1 ellipsoid cut by the plane O 2 = 0 O_2 = 0 O 2 = 0 . From the points of its focal hyperbola (red; dotted inside the ellipsoid) the tangent cone is circular; ◦: where the hyperbola meets a sphere of radius 6 (dashed). ×: the middle axis (normal to this section), from whose points outside the ellipsoid κ = a / c \kappa= a/c κ = a / c . Maps of κ \kappa κ over viewing spheres are in the supplementary materials.
Where the camera can be
The test depends on p p p and f f f only through the camera center O = ( p , f ) O = (p, f) O = ( p , f ) , so it defines a region of admissible camera centers, which we now describe. In the frame of E E E , let E E E be x 2 a E 2 + y 2 b E 2 = 1 \frac{x^2}{a_E^2} + \frac{y^2}{b_E^2} = 1 a E 2 x 2 + b E 2 y 2 = 1 in the plane z = 0 z = 0 z = 0 , with a E > b E a_E > b_E a E > b E . Through each point O O O above the image plane pass three quadrics of the confocal family
x 2 a E 2 + θ + y 2 b E 2 + θ + z 2 θ = 1 , \frac{x^2}{a_E^2+\theta}+\frac{y^2}{b_E^2+\theta}+\frac{z^2}{\theta}=1, a E 2 + θ x 2 + b E 2 + θ y 2 + θ z 2 = 1 ,
whose limit as θ → 0 + \theta\to0^{+} θ → 0 + is E E E : an ellipsoid (θ 1 > 0 \theta_1 > 0 θ 1 > 0 ), a hyperboloid of one sheet (− b E 2 ≤ θ 2 < 0 -b_E^2 \le\theta_2 < 0 − b E 2 ≤ θ 2 < 0 ) and a hyperboloid of two sheets (− a E 2 ≤ θ 3 ≤ − b E 2 -a_E^2 \le\theta_3 \le-b_E^2 − a E 2 ≤ θ 3 ≤ − b E 2 ). We call θ 1 , θ 2 , θ 3 \theta_1,\theta_2,\theta_3 θ 1 , θ 2 , θ 3 the confocal coordinates of O O O with respect to E E E . On the planes y = 0 y = 0 y = 0 and x = 0 x = 0 x = 0 , one of the three quadrics degenerates to that plane.
Proposition 7 (the camera center in confocal coordinates). Let a E > b E a_E > b_E a E > b E , and let O = ( p , f ) O = (p,f) O = ( p , f ) have confocal coordinates θ 1 , θ 2 , θ 3 \theta_1,\theta_2,\theta_3 θ 1 , θ 2 , θ 3 with respect to E E E . Then Q f Q_f Q f has κ 2 = θ 3 / θ 2 \kappa^2 = \theta_3/\theta_2 κ 2 = θ 3 / θ 2 , so E E E is an outline at focal length f f f of an ellipsoid with a / c = ρ a/c = \rho a / c = ρ exactly when ∣ θ 3 ∣ ≤ ρ 2 ∣ θ 2 ∣ |\theta_3| \le\rho^2|\theta_2| ∣ θ 3 ∣ ≤ ρ 2 ∣ θ 2 ∣ . The set of such O O O lies between two confocal hyperboloids of one sheet, the inner one θ 2 = − a E 2 / ρ 2 \theta_2 = -a_E^2/\rho^2 θ 2 = − a E 2 / ρ 2 and the outer one θ 2 = − b E 2 / ρ 2 \theta_2 = -b_E^2/\rho^2 θ 2 = − b E 2 / ρ 2 :
{ θ 2 ≤ − a E 2 / ρ 2 } ⊆ { ∣ θ 3 ∣ ≤ ρ 2 ∣ θ 2 ∣ } ⊆ { θ 2 ≤ − b E 2 / ρ 2 } \{\theta_2 \le-a_E^2/\rho^2\} \subseteq\{|\theta_3| \le\rho^2|\theta_2|\} \subseteq\{\theta_2 \le-b_E^2/\rho^2\} { θ 2 ≤ − a E 2 / ρ 2 } ⊆ { ∣ θ 3 ∣ ≤ ρ 2 ∣ θ 2 ∣ } ⊆ { θ 2 ≤ − b E 2 / ρ 2 } (the first set is empty when ρ < a E / b E \rho< a_E/b_E ρ < a E / b E ). Its boundary θ 3 = ρ 2 θ 2 \theta_3 = \rho^2\theta_2 θ 3 = ρ 2 θ 2 meets the inner hyperboloid in the plane x = 0 x = 0 x = 0 and the outer one in the plane y = 0 y = 0 y = 0 ; for ρ > 1 \rho> 1 ρ > 1 it is not itself a confocal quadric. Further, κ = 1 \kappa= 1 κ = 1 exactly on the focal hyperbola of E E E , where θ 2 = θ 3 = − b E 2 \theta_2 = \theta_3 = -b_E^2 θ 2 = θ 3 = − b E 2 ; and as f → ∞ f \to\infty f → ∞ , θ 2 → − b E 2 \theta_2 \to-b_E^2 θ 2 → − b E 2 and θ 3 → − a E 2 \theta_3 \to-a_E^2 θ 3 → − a E 2 , so κ → a E / b E \kappa\to a_E/b_E κ → a E / b E .
For a circle E E E , which Proposition 7 excludes, κ = 1 \kappa= 1 κ = 1 exactly when O O O lies above its center.
Figure 3(a) shows the vertical plane through the long axis of E E E . There one negative confocal coordinate is − b E 2 -b_E^2 − b E 2 , and the other, θ ∈ [ − a E 2 , 0 ) \theta\in[-a_E^2,0) θ ∈ [ − a E 2 , 0 ) , labels the hyperbola x 2 / ( a E 2 + θ ) − z 2 / ( − θ ) = 1 x^2/(a_E^2+\theta)-z^2/(-\theta)=1 x 2 / ( a E 2 + θ ) − z 2 / ( − θ ) = 1 , whose foci are the ends of the long axis. In this plane κ 2 = max ( − b E 2 / θ , − θ / b E 2 ) \kappa^2 = \max(-b_E^2/\theta,-\theta/b_E^2) κ 2 = max ( − b E 2 / θ , − θ / b E 2 ) , so κ ≤ ρ \kappa\le\rho κ ≤ ρ exactly when max ( − a E 2 , − ρ 2 b E 2 ) ≤ θ ≤ − b E 2 / ρ 2 \max(-a_E^2,-\rho^2b_E^2) \le\theta\le-b_E^2/\rho^2 max ( − a E 2 , − ρ 2 b E 2 ) ≤ θ ≤ − b E 2 / ρ 2 .
Unknown focal length
With f f f unknown, the question becomes which focal lengths pass the test of Theorem 3 . For ρ ≥ 1 \rho\ge1 ρ ≥ 1 let
I ( ρ ) = { f > 0 : κ ( f ) ≤ ρ } , I(\rho) = \{f > 0 : \kappa(f) \le\rho\}, I ( ρ ) = { f > 0 : κ ( f ) ≤ ρ } ,
the interval (by Theorem 9 ) of admissible focal lengths for an ellipsoid with a / c = ρ a/c = \rho a / c = ρ . We study the function κ ( f ) \kappa(f) κ ( f ) : its limits and infimum (Proposition 8), its shape (Theorem 9 ), its behavior for large f f f (Proposition 10 ), and its minimum (section 5.3); Algorithm 1 combines them. Many statements need E E E not to be a circle and p p p to lie on neither axis line of E E E ; we then say that p p p is off-axis .
The smallest cone ratio and the shape of κ ( f ) \kappa(f) κ ( f )
Proposition 8 (how elongated the ellipsoid must be). Let κ min ( E , p ) = inf f > 0 κ ( f ) \kappa_{\min}(E,p) = \inf_{f>0}\kappa(f) κ m i n ( E , p ) = inf f > 0 κ ( f ) , written κ min \kappa_{\min} κ m i n when E E E and p p p are fixed. Some focal length makes E E E an outline of an ellipsoid with semi-axes a ≥ b ≥ c a \ge b \ge c a ≥ b ≥ c if a / c > κ min a/c > \kappa_{\min} a / c > κ m i n , none does if a / c < κ min a/c < \kappa_{\min} a / c < κ m i n , and, if a / c = κ min a/c = \kappa_{\min} a / c = κ m i n , one does exactly when the infimum is attained. Moreover:
Figure 3. Where the camera can be, for E E E with semi-axes 2 and 1 (black). (a) The vertical plane through the long axis of E E E : level curves of κ \kappa κ , the focal hyperbola (κ = 1 \kappa=1 κ = 1 , red) and the region κ ≤ 2.5 \kappa\le2.5 κ ≤ 2.5 (shaded). (b), (c) The horizontal slices z = f = 0.5 z=f=0.5 z = f = 0.5 and z = f = 2 z=f=2 z = f = 2 marked in (a). The admissible principal points for an ellipsoid with a / c = 2.5 a/c=2.5 a / c = 2.5 (shaded) lie between the two hyperboloids of Proposition 7 (dashed). In (c), the slice of the outer one, an ellipse with semi-axes 9.99 and 4.67, lies outside the frame. Red dots: the foci of E E E .
(i) As f → ∞ f\to\infty f → ∞ , κ → κ ∞ = a E / b E \kappa\to\kappa_\infty=a_E/b_E κ → κ ∞ = a E / b E . As f → 0 f\to0 f → 0 , κ → ∞ \kappa\to\infty κ → ∞ if p p p is outside or on E E E ; if p p p is inside E E E (γ E < 0 \gamma_E<0 γ E < 0 ), then κ → κ 0 = s + / s − \kappa\to\kappa_0=\sqrt{s_+/s_-} κ → κ 0 = s + / s − , where s + ≥ s − s_+\ge s_- s + ≥ s − are the eigenvalues of the positive definite matrix S = A E − β E β E T / γ E S=A_E-\beta_E\beta_E^{\mathsf T}/\gamma_E S = A E − β E β E T / γ E . We call κ ∞ \kappa_\infty κ ∞ and κ 0 \kappa_0 κ 0 the end limits of κ \kappa κ .
(ii) κ ( f ) = 1 \kappa(f)=1 κ ( f ) = 1 for some f f f if and only if E E E is a sphere outline (Remark 4). The infimum is κ min = 1 \kappa_{\min}=1 κ m i n = 1 but is not attained exactly when E E E is a circle not centered at p p p (then κ → 1 \kappa\to1 κ → 1 as f → ∞ f\to\infty f → ∞ ) or p p p is a focus of a noncircular E E E (then κ → 1 \kappa\to1 κ → 1 as f → 0 f\to0 f → 0 ).
Theorem 9 (the shape of κ ( f ) \kappa(f) κ ( f ) ). Let p p p not be the center of E E E (where κ ≡ κ ∞ \kappa\equiv\kappa_\infty κ ≡ κ ∞ ).
(i) Interval. For every ρ ≥ 1 \rho\ge1 ρ ≥ 1 , I ( ρ ) I(\rho) I ( ρ ) is an interval, possibly empty; equivalently, κ \kappa κ is quasiconvex in f f f .
(ii) Shape. κ \kappa κ has at most one critical point. If it has one, f ∗ f^* f ∗ , then κ \kappa κ decreases strictly on ( 0 , f ∗ ] (0,f^*] ( 0 , f ∗ ] and increases strictly on [ f ∗ , ∞ ) [f^*,\infty) [ f ∗ , ∞ ) , and κ ( f ∗ ) \kappa(f^*) κ ( f ∗ ) is below κ ∞ \kappa_\infty κ ∞ and, if p p p is inside E E E , below κ 0 \kappa_0 κ 0 . Otherwise κ \kappa κ is strictly monotone, except for a sphere outline, where it has a corner minimum κ = 1 \kappa=1 κ = 1 . If p p p lies on an axis line of E E E , or E E E is a circle, κ \kappa κ has no critical point.
(iii) Attainment. Let p p p be off-axis. Then κ min \kappa_{\min} κ m i n is attained if and only if p p p lies in the long-axis wedge (∣ x ∣ > ∣ y ∣ |x|>|y| ∣ x ∣ > ∣ y ∣ ) and, if p p p is inside E E E , also β + 2 > β − 2 \beta_+^2>\beta_-^2 β + 2 > β − 2 , where β ± \beta_\pm β ± are the components of β E \beta_E β E in an orthonormal eigenbasis of S S S for s ± s_\pm s ± .
If κ min \kappa_{\min} κ m i n is not attained, κ \kappa κ is strictly monotone and κ min \kappa_{\min} κ m i n is the smaller end limit.
By (i) and the end limits, I ( ρ ) I(\rho) I ( ρ ) is bounded above if ρ < κ ∞ \rho< \kappa_{\infty} ρ < κ ∞ and unbounded above if ρ > κ ∞ \rho> \kappa_{\infty} ρ > κ ∞ ; it is bounded away from 0 if p p p is outside or on E E E , and has lower end 0 if p p p is inside E E E and ρ > κ 0 \rho> \kappa_0 ρ > κ 0 (Figure 4 ). The conditions in (iii) say that, near each end, κ \kappa κ falls below its end limit. For f → ∞ f \to\infty f → ∞ this is the long-axis-wedge condition, by the expansion in Proposition 10 ; for f → 0 f \to0 f → 0 and p p p inside E E E it is β + 2 > β − 2 \beta_+^2 > \beta_-^2 β + 2 > β − 2 , by the expansion
Figure 4. (a), (b) κ ( f ) \kappa(f) κ ( f ) for an ellipse with semi-axes 50 and 30 px and six principal points (marked + in the insets). Each curve tends to a E / b E a_E/b_E a E / b E (dotted) as f → ∞ f \to\infty f → ∞ and has at most one interior minimum (dots). (a) p p p outside or on E E E : κ → ∞ \kappa\to\infty κ → ∞ as f → 0 f \to0 f → 0 . (b) p p p inside E E E : κ \kappa κ tends to a finite κ 0 \kappa_0 κ 0 as f → 0 f \to0 f → 0 ; when p p p is a focus, κ 0 = 1 \kappa_0=1 κ 0 = 1 but κ > 1 \kappa>1 κ > 1 for every f f f . (c) The ellipse of Example 11: κ min ≈ 1.0863 \kappa_{\min}\approx1.0863 κ m i n ≈ 1.0863 at f ∗ ≈ 287.2 f^*\approx287.2 f ∗ ≈ 287.2 px; I ( 1.5 ) = [ 164.1 , 1051.4 ] I(1.5)=[164.1,1051.4] I ( 1.5 ) = [ 164.1 , 1051.4 ] px and I ( 2 ) = [ 116.8 , ∞ ) I(2)=[116.8,\infty) I ( 2 ) = [ 116.8 , ∞ ) px.
κ ( f ) 2 = κ 0 2 ( 1 − β + 2 − β − 2 γ E 2 f 2 ) + O ( f 4 ) . \kappa(f)^2 = \kappa_0^2 \left(1 - \frac{\beta_+^2-\beta_-^2}{\gamma_E^2}f^2\right) + O(f^4). κ ( f ) 2 = κ 0 2 ( 1 − γ E 2 β + 2 − β − 2 f 2 ) + O ( f 4 ) .
which follows by first-order perturbation: as f f f grows from 0, the positive eigenvalues of Q f / f 2 Q_f/f^2 Q f / f 2 decrease from s ± s_\pm s ± by amounts proportional to s ± β ± 2 s_\pm\beta_\pm^2 s ± β ± 2 , so κ \kappa κ first decreases exactly when β E \beta_E β E has the larger component along the eigenvector for s + s_+ s + . If β + 2 = β − 2 \beta_+^2=\beta_-^2 β + 2 = β − 2 , the f 2 f^2 f 2 term vanishes, and κ min \kappa_{\min} κ m i n is again not attained (section A).
When the focal length is bounded above
Proposition 10 (when f f f is bounded above). Let E E E not be a circle, let p p p not be its center, and let ( x , y ) (x,y) ( x , y ) be the position of p p p in the frame of E E E (section 2). As f → ∞ f \to\infty f → ∞ ,
κ ( f ) 2 = κ ∞ 2 ( 1 + y 2 − x 2 f 2 ) + O ( f − 4 ) . \kappa(f)^2 = \kappa_{\infty}^2\left(1+\frac{y^2-x^2}{f^2}\right)+O(f^{-4}). κ ( f ) 2 = κ ∞ 2 ( 1 + f 2 y 2 − x 2 ) + O ( f − 4 ) . (i) If p p p lies in the long-axis wedge of E E E (∣ x ∣ > ∣ y ∣ |x|>|y| ∣ x ∣ > ∣ y ∣ ), then κ min < κ ∞ \kappa_{\min}<\kappa_{\infty} κ m i n < κ ∞ , and I ( ρ ) I(\rho) I ( ρ ) is nonempty and bounded above for every ρ ∈ ( κ min , κ ∞ ) \rho\in(\kappa_{\min},\kappa_{\infty}) ρ ∈ ( κ m i n , κ ∞ ) .
(ii) If ∣ x ∣ ≤ ∣ y ∣ |x| \le|y| ∣ x ∣ ≤ ∣ y ∣ (which includes the short axis line x = 0 x = 0 x = 0 ), then κ ( f ) > κ ∞ \kappa(f) > \kappa_\infty κ ( f ) > κ ∞ for every f f f . Hence I ( ρ ) I(\rho) I ( ρ ) is empty for ρ ≤ κ ∞ \rho\le\kappa_\infty ρ ≤ κ ∞ and unbounded above for ρ > κ ∞ \rho> \kappa_\infty ρ > κ ∞ , and with f f f unknown the test reduces to the orthographic test with strict inequality, a E / b E < a / c a_E/b_E < a/c a E / b E < a / c .
Proposition 10 reflects foreshortening. For large f f f the cone axis is tilted from the optical axis toward the center of E E E by about d E / f d_E/f d E / f , so a cross-section perpendicular to it is approximately E E E foreshortened along the line from p p p to the center of E E E : rounder than E E E if that line is nearer the long axis, more elongated if it is nearer the short axis. On the diagonals ∣ x ∣ = ∣ y ∣ |x| = |y| ∣ x ∣ = ∣ y ∣ the f − 2 f^{-2} f − 2 term vanishes, but still κ > κ ∞ \kappa> \kappa_\infty κ > κ ∞ for every f f f (proof of Proposition 10 ; see also Figure 5 ).
Figure 5. κ min \kappa_{\min} κ m i n as a function of the principal point ( x , y ) (x,y) ( x , y ) , in the frame of an ellipse with semi-axes 2 and 1 (black). Where ∣ x ∣ ≤ ∣ y ∣ |x| \le|y| ∣ x ∣ ≤ ∣ y ∣ , outside the long-axis wedge bounded by the dashed diagonals, κ min = κ ∞ = 2 \kappa_{\min} = \kappa_\infty= 2 κ m i n = κ ∞ = 2 and no nonempty I ( ρ ) I(\rho) I ( ρ ) is bounded above (Proposition 10 ). Inside the wedge κ min < 2 \kappa_{\min} < 2 κ m i n < 2 , and it drops to 1 on the long axis line beyond the foci (red).
Example 11. Take the ellipse with center ( 320 , 140 ) (320, 140) ( 320 , 140 ) px, semi-axes 60 and 38 px, and long axis at 0.5 rad to the x x x -axis, with p p p at the origin (Figure 4 (c)). The direction from its center to p p p is 5° from the long axis, so p p p lies in the long-axis wedge and f f f can be bounded above (Proposition 10 ). Here κ min ≈ 1.0863 \kappa_{\min} \approx1.0863 κ m i n ≈ 1.0863 , attained at f ∗ ≈ 287.2 f^* \approx287.2 f ∗ ≈ 287.2 px (computed by Theorem 15 below): the ellipse is not a sphere outline at any f f f , but at some f f f it is an outline of every ellipsoid with a / c ≥ κ min a/c \ge\kappa_{\min} a / c ≥ κ m i n . For a / c = 1.5 a/c = 1.5 a / c = 1.5 the admissible focal lengths are I ( 1.5 ) = [ 164.1 , 1051.4 ] I(1.5) = [164.1, 1051.4] I ( 1.5 ) = [ 164.1 , 1051.4 ] px; for a / c = 2 a/c = 2 a / c = 2 they are all f ≥ 116.8 f \ge116.8 f ≥ 116.8 px, unbounded above because 2 > κ ∞ = 60 / 38 ≈ 1.579 2 > \kappa_\infty= 60/38 \approx1.579 2 > κ ∞ = 60/38 ≈ 1.579 .
If κ min \kappa_{\min} κ m i n is attained at f ∗ f^* f ∗ , then I ( κ min ) = { f ∗ } I(\kappa_{\min}) = \{f^*\} I ( κ m i n ) = { f ∗ } , and I ( ρ ) I(\rho) I ( ρ ) shrinks to f ∗ f^* f ∗ as ρ \rho ρ decreases to κ min \kappa_{\min} κ m i n . This subsection characterizes f ∗ f^* f ∗ geometrically, bounds how fast κ \kappa κ can vary with f f f , and gives κ min \kappa_{\min} κ m i n in closed form. Let v ± v_{\pm} v ± be unit eigenvectors of Q f Q_f Q f for μ ± \mu_{\pm} μ ± , the axes of a cross-section of the cone perpendicular to its axis, and let φ ± ∈ [ 0 ∘ , 90 ∘ ] \varphi_{\pm} \in[0^\circ,90^\circ] φ ± ∈ [ 0 ∘ , 9 0 ∘ ] be their angles with the optical axis e 3 e_3 e 3 , so that cos φ ± = ∣ v ± ⋅ e 3 ∣ \cos\varphi_{\pm} = \lvert v_{\pm} \cdot e_3\rvert cos φ ± = ∣ v ± ⋅ e 3 ∣ .
Proposition 12 (the stationarity condition). For every p p p and every f > 0 f > 0 f > 0 with μ − < μ + \mu_- < \mu_+ μ − < μ + ,
d ln κ d ln f = cos 2 φ − − cos 2 φ + . \frac{d\ln\kappa}{d\ln f}=\cos^2\varphi_- - \cos^2\varphi_+. d ln f d ln κ = cos 2 φ − − cos 2 φ + . Hence κ \kappa κ is stationary exactly when the optical axis is equally inclined to the two cross-section axes, and an attained κ min > 1 \kappa_{\min} > 1 κ m i n > 1 is attained at such an f ∗ f^* f ∗ .
For p p p off-axis, the condition reads g ( θ 2 ) = g ( θ 3 ) g(\theta_2)=g(\theta_3) g ( θ 2 ) = g ( θ 3 ) , with θ 2 , θ 3 \theta_2,\theta_3 θ 2 , θ 3 the negative confocal coordinates of O O O (§ 4 ) and g ( θ ) = x 2 / ( a E 2 + θ ) 2 + y 2 / ( b E 2 + θ ) 2 g(\theta)=x^2/(a_E^2+\theta)^2+y^2/(b_E^2+\theta)^2 g ( θ ) = x 2 / ( a E 2 + θ ) 2 + y 2 / ( b E 2 + θ ) 2 .
Corollary 13 (Lipschitz bound). ln κ \ln\kappa ln κ is 1 1 1 -Lipschitz in ln f \ln f ln f : ∣ ln κ ( f ′ ) − ln κ ( f ) ∣ ≤ ∣ ln ( f ′ / f ) ∣ \lvert\ln\kappa(f')-\ln\kappa(f)\rvert\leq\lvert\ln(f'/f)\rvert ∣ ln κ ( f ′ ) − ln κ ( f )∣ ≤ ∣ ln ( f ′ / f )∣ for all f , f ′ > 0 f,f'>0 f , f ′ > 0 . Hence, if κ min \kappa_{\min} κ m i n is attained at f ∗ f^* f ∗ , then [ f ∗ κ min / ρ , f ∗ ρ / κ min ] ⊆ I ( ρ ) [f^*\kappa_{\min}/\rho,f^*\rho/\kappa_{\min}]\subseteq I(\rho) [ f ∗ κ m i n / ρ , f ∗ ρ / κ m i n ] ⊆ I ( ρ ) for every ρ ≥ κ min \rho\geq\kappa_{\min} ρ ≥ κ m i n ; for Example 11 and ρ = 1.5 \rho=1.5 ρ = 1.5 this is [ 208.0 , 396.6 ] [208.0,396.6] [ 208.0 , 396.6 ] px.
An algebraic parametrization. To compute the endpoints of I ( ρ ) I(\rho) I ( ρ ) and κ min \kappa_{\min} κ m i n , we replace f f f by an eigenvalue: the level set κ 2 = k \kappa^2=k κ 2 = k then becomes the zero set of a polynomial, whose roots can be counted and computed. Let p p p be off-axis, and let
q ( u ) = det ( A E − u I ) = ( u − α 1 ) ( u − α 2 ) , π ( u ) = det ( C − u diag ( 1 , 1 , 0 ) ) . q(u)=\det(A_E-uI)=(u-\alpha_1)(u-\alpha_2),\qquad\pi(u)=\det(C-u\operatorname{diag}(1,1,0)). q ( u ) = det ( A E − u I ) = ( u − α 1 ) ( u − α 2 ) , π ( u ) = det ( C − u diag ( 1 , 1 , 0 )) .
Then π \pi π has exactly one root r r r in ( α 1 , α 2 ) (\alpha_1,\alpha_2) ( α 1 , α 2 ) ; put J = ( α 1 , r ) J=(\alpha_1,r) J = ( α 1 , r ) and h ( u ) = π ( u ) / ( u q ( u ) ) h(u)=\pi(u)/(u q(u)) h ( u ) = π ( u ) / ( u q ( u )) . As f f f increases from 0 0 0 to ∞ \infty ∞ , the smaller positive eigenvalue of Q f Q_f Q f is f 2 u f^2u f 2 u , where u u u decreases from r r r to α 1 \alpha_1 α 1 and f 2 = h ( u ) f^2=h(u) f 2 = h ( u ) . If κ ( f ) 2 = k > 1 \kappa(f)^2=k>1 κ ( f ) 2 = k > 1 , then u u u is a root of
R k ( u ) = k π ( u ) q ( k u ) − π ( k u ) q ( u ) 1 − k , R_k(u)=\frac{k\pi(u)q(ku)-\pi(ku)q(u)}{1-k}, R k ( u ) = 1 − k k π ( u ) q ( k u ) − π ( k u ) q ( u ) ,
a polynomial of degree at most four in u u u (proof of Theorem 9 (i)).
Proposition 14 (endpoints of I ( ρ ) I(\rho) I ( ρ ) ). Let p p p be off-axis and ρ > 1 \rho>1 ρ > 1 . The endpoints of I ( ρ ) I(\rho) I ( ρ ) in ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) are exactly the values f = h ( u ) f=\sqrt{h(u)} f = h ( u ) for the roots u ∈ J u\in J u ∈ J of R ρ R_{\rho} R ρ .
Theorem 15 (κ min \kappa_{\min} κ m i n as a root of a quartic). Let p p p be off-axis with κ min \kappa_{\min} κ m i n attained (Theorem 9 (iii)), and let D ( k ) D(k) D ( k ) be the discriminant of R k ( u ) R_k(u) R k ( u ) as a polynomial of formal degree 4 4 4 in u u u .
κ min 2 \kappa_{\min}^2 κ m i n 2 is the largest root of D D D in ( 1 , ∞ ) (1,\infty) ( 1 , ∞ ) ; R κ min 2 R_{\kappa_{\min}^2} R κ m i n 2 has a double root u ∗ ∈ J u^*\in J u ∗ ∈ J , and ( f ∗ ) 2 = h ( u ∗ ) (f^*)^2=h(u^*) ( f ∗ ) 2 = h ( u ∗ ) .
(ii) Scale C C C so that A E A_E A E has eigenvalues a E − 2 a_E^{-2} a E − 2 , b E − 2 b_E^{-2} b E − 2 . Then
D ( k ) = ( a E b E ) − 2 k 6 Ω E , p ( k + 1 / k ) D(k)=(a_Eb_E)^{-2}k^6\Omega_{E,p}(k+1/k) D ( k ) = ( a E b E ) − 2 k 6 Ω E , p ( k + 1/ k )
for a quartic Ω E , p ( w ) = ∑ i = 0 4 ω i w i \Omega_{E,p}(w)=\sum_{i=0}^{4}\omega_iw^i Ω E , p ( w ) = ∑ i = 0 4 ω i w i whose coefficients are polynomials in A = a E 2 A=a_E^2 A = a E 2 , B = b E 2 B=b_E^2 B = b E 2 and ( x , y ) (x,y) ( x , y ) , listed in the supplementary materials (structure in section C). The leading coefficient is
ω 4 = A 3 B 3 ( A − B ) 2 ∣ p − F 1 ∣ 2 ∣ p − F 2 ∣ 2 , \omega_4=A^3B^3(A-B)^2\lvert p-F_1\rvert^2\lvert p-F_2\rvert^2, ω 4 = A 3 B 3 ( A − B ) 2 ∣ p − F 1 ∣ 2 ∣ p − F 2 ∣ 2 ,
where F 1 , F 2 F_1,F_2 F 1 , F 2 are the foci of E E E .
Hence κ min 2 + κ min − 2 \kappa_{\min}^2+\kappa_{\min}^{-2} κ m i n 2 + κ m i n − 2 is the largest real root of Ω E , p \Omega_{E,p} Ω E , p , and κ min \kappa_{\min} κ m i n follows by solving a quadratic.
The quartic comes from a symmetry: the substitution u ↦ k u u\mapsto ku u ↦ k u , k ↦ 1 / k k\mapsto1/k k ↦ 1/ k maps R k R_k R k to itself, so D ( 1 / k ) = k − 12 D ( k ) D(1/k)=k^{-12}D(k) D ( 1/ k ) = k − 12 D ( k ) . Since D D D has degree 10 and is divisible by k 2 k^2 k 2 (proof of Theorem 15 ), k − 2 D k^{-2}D k − 2 D is palindromic of degree 8, hence k 4 k^4 k 4 times a quartic in w = k + 1 / k w=k+1/k w = k + 1/ k .
For Example 11 the theorem gives κ min = 1.08626 \kappa_{\min}=1.08626 κ m i n = 1.08626 and f ∗ = 287.24 f^*=287.24 f ∗ = 287.24 px; the identity for D D D and the ω i \omega_i ω i were derived and checked by exact symbolic computation (see the proof). In double precision the quartic loses digits near degenerate configurations: in a stress test with attained minima (supplementary script stress-quartic.py), its largest root gave κ min \kappa_{\min} κ m i n to a relative error of about 10 − 12 10^{-12} 1 0 − 12 in generic configurations but only 10 − 8 10^{-8} 1 0 − 8 near a focus and 5 ⋅ 10 − 7 5\cdot10^{-7} 5 ⋅ 1 0 − 7 for nearly circular E E E , while in 40-digit arithmetic it agreed with direct minimization to 10 − 29 10^{-29} 1 0 − 29 ; the refinement in Algorithm 1 removes this loss. In use, the quartic thus plays two roles: comparing ρ \rho ρ with κ min \kappa_{\min} κ m i n decides exactly whether any focal length is admissible, and the double root u ∗ u^* u ∗ gives a starting value for f ∗ f^* f ∗ that a one-dimensional search polishes; the characterization is exact, and only the refinement is numerical. The attainment hypothesis is needed: for a E = 3.6 a_E=3.6 a E = 3.6 , b E = 1.2 b_E=1.2 b E = 1.2 and p = ( 2.15 , 0.068 ) p=(2.15, 0.068) p = ( 2.15 , 0.068 ) in the frame of E E E , the unattained κ min 2 = κ 0 2 = 5.8233 \kappa_{\min}^2=\kappa_0^2=5.8233 κ m i n 2 = κ 0 2 = 5.8233 gives κ min 2 + κ min − 2 = 5.9950 \kappa_{\min}^2+\kappa_{\min}^{-2}=5.9950 κ m i n 2 + κ m i n − 2 = 5.9950 , whereas the largest root of Ω E , p \Omega_{E,p} Ω E , p is 5.8113.
The algorithm
Algorithm 1 combines these results. With f f f unknown, Steps 3–6 decide analytically, without minimization, whether I ( ρ ) I(\rho) I ( ρ ) is empty, unbounded above or bounded; Step 7 and the endpoint rule then compute κ min \kappa_{\min} κ m i n and f ∗ f^* f ∗ (Theorem 15 ) and the endpoints (Proposition 14 ).
Limits and extensions
What a single ellipse can tell
Corollary 16 (a single ellipse bounds elongation only from below). Fix p p p , and let E ρ E_\rho E ρ be the set of ellipses that are outlines, for some f > 0 f>0 f > 0 , of an ellipsoid
Algorithm 1 The ratio test with known or unknown focal length.
Input: ellipse E E E , principal point p p p , hypothesis ρ = a / c ≥ 1 \rho= a/c \ge1 ρ = a / c ≥ 1 ; optionally f f f .
Output: for known f f f , whether E E E is an outline at f f f ; for unknown f f f , the interval I ( ρ ) I(\rho) I ( ρ ) .
Axis formula (proof of Theorem 9 (ii)), for p p p on an axis line of E E E , or E E E a circle and p p p not its center: choose unit eigenvectors e 1 , e 2 e_1,e_2 e 1 , e 2 of A E A_E A E with e j e_j e j along the line through p p p and the center of E E E , let l l l be the other index, and write β E = β j e j \beta_E=\beta_j e_j β E = β j e j and Δ = α j γ E − β j 2 \Delta=\alpha_j\gamma_E-\beta_j^2 Δ = α j γ E − β j 2 . The endpoints of I ( ρ ) I(\rho) I ( ρ ) in ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) are the f > 0 f>0 f > 0 with
f 2 = γ E ν − Δ ν ( ν − α j ) f^2=\frac{\gamma_E\nu-\Delta}{\nu(\nu-\alpha_j)} f 2 = ν ( ν − α j ) γ E ν − Δ
for ν ∈ { ρ 2 α l , α l / ρ 2 } \nu\in\{\rho^2\alpha_l,\alpha_l/\rho^2\} ν ∈ { ρ 2 α l , α l / ρ 2 } .
Endpoint rule (unknown f f f ). A nonempty I ( ρ ) I(\rho) I ( ρ ) has lower end 0 0 0 exactly when p p p is inside E E E and either ρ > κ 0 \rho>\kappa_0 ρ > κ 0 , or ρ = κ 0 \rho=\kappa_0 ρ = κ 0 and κ \kappa κ does not increase near f = 0 f=0 f = 0 . Its endpoints in ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) are given by the axis formula if p p p is on an axis line of E E E or E E E is a circle, and by Proposition 14 otherwise.
Preprocessing. Rescale image coordinates so that E E E has size of order 1, and compute C C C in coordinates centered at p p p (signed so that A E ≻ 0 A_E\succ0 A E ≻ 0 ), κ ∞ \kappa_\infty κ ∞ , the position ( x , y ) (x,y) ( x , y ) of p p p in the frame of E E E , d E d_E d E and e E e_E e E , and, if p p p is inside E E E , κ 0 \kappa_0 κ 0 and β ± \beta_\pm β ± . Convert back to pixels at the end.
Known f f f . Accept if and only if κ ( f ) ≤ ρ \kappa(f)\le\rho κ ( f ) ≤ ρ (Theorem 3 ). With an error bound on C C C (Remark 17), ρ \rho ρ is certainly rejected if κ l o > ρ \kappa_{\mathrm{lo}}>\rho κ lo > ρ , certainly consistent if κ h i ≤ ρ \kappa_{\mathrm{hi}}\le\rho κ hi ≤ ρ , and undecided otherwise.
Unknown f f f : apply the first of Steps 3–7 whose condition holds.
If ρ > κ ∞ \rho>\kappa_\infty ρ > κ ∞ , or ρ = κ ∞ \rho=\kappa_\infty ρ = κ ∞ and either p p p is the center of E E E or (E E E is not a circle and ∣ x ∣ > ∣ y ∣ |x|>|y| ∣ x ∣ > ∣ y ∣ ): I ( ρ ) I(\rho) I ( ρ ) is nonempty and unbounded above (for ρ = κ ∞ \rho=\kappa_\infty ρ = κ ∞ and ∣ x ∣ > ∣ y ∣ |x|>|y| ∣ x ∣ > ∣ y ∣ , since κ < κ ∞ \kappa<\kappa_\infty κ < κ ∞ for large f f f by Proposition 10 (i)). It is ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) if p p p is the center of E E E , and otherwise ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) or [ f min , ∞ ) [f_{\min},\infty) [ f m i n , ∞ ) as given by the endpoint rule.
If E E E is a circle or ∣ x ∣ ≤ ∣ y ∣ |x|\le|y| ∣ x ∣ ≤ ∣ y ∣ : I ( ρ ) = ∅ I(\rho)=\varnothing I ( ρ ) = ∅ (Propositions 8 and 10 ). From here on ρ < κ ∞ \rho<\kappa_\infty ρ < κ ∞ , so a nonempty I ( ρ ) I(\rho) I ( ρ ) is bounded above.
If p p p is on the long axis line of E E E : for d E > e E d_E>e_E d E > e E , κ min = 1 \kappa_{\min}=1 κ m i n = 1 is attained at the f f f of Remark 4; otherwise κ min = κ 0 \kappa_{\min}=\kappa_0 κ m i n = κ 0 and κ \kappa κ increases strictly. I ( ρ ) = ∅ I(\rho)=\varnothing I ( ρ ) = ∅ if ρ < κ min \rho<\kappa_{\min} ρ < κ m i n or ρ = κ min = κ 0 \rho=\kappa_{\min}=\kappa_0 ρ = κ m i n = κ 0 .
If p p p is inside E E E and β + 2 ≤ β − 2 \beta_+^2\le\beta_-^2 β + 2 ≤ β − 2 : κ \kappa κ increases strictly from κ 0 \kappa_0 κ 0 (Theorem 9 (iii)), so I ( ρ ) = ∅ I(\rho)=\varnothing I ( ρ ) = ∅ for ρ ≤ κ 0 \rho\le\kappa_0 ρ ≤ κ 0 and I ( ρ ) = ( 0 , f max ] I(\rho)=(0,f_{\max}] I ( ρ ) = ( 0 , f m a x ] otherwise, with f max f_{\max} f m a x given by Proposition 14 .
Otherwise κ min \kappa_{\min} κ m i n is attained. Compute the largest real root w w w of Ω E , p \Omega_{E,p} Ω E , p , κ min \kappa_{\min} κ m i n from κ min 2 + κ min − 2 = w \kappa_{\min}^2+\kappa_{\min}^{-2}=w κ m i n 2 + κ m i n − 2 = w , the common root u ∗ ∈ J u^*\in J u ∗ ∈ J of R κ min 2 R_{\kappa_{\min}^2} R κ m i n 2 and ∂ u R κ min 2 \partial_uR_{\kappa_{\min}^2} ∂ u R κ m i n 2 , and f ∗ = h ( u ∗ ) f^*=\sqrt{h(u^*)} f ∗ = h ( u ∗ ) . Refine f ∗ f^* f ∗ by golden-section search for the minimum of ln κ \ln\kappa ln κ over ln f \ln f ln f on the bracket [ f ∗ / m , m f ∗ ] [f^*/m,mf^*] [ f ∗ / m , m f ∗ ] , m = 1.1 m=1.1 m = 1.1 , enlarged by factors of m m m until κ \kappa κ at both ends exceeds κ \kappa κ at f ∗ f^* f ∗ ; it converges by Theorem 9 (ii), and it narrows the digits that the quartic loses in floating point near degenerate configurations (Section 5.3). I ( ρ ) = ∅ I(\rho)=\varnothing I ( ρ ) = ∅ if ρ < κ min \rho<\kappa_{\min} ρ < κ m i n . Otherwise the endpoints of I ( ρ ) I(\rho) I ( ρ ) are given by the endpoint rule (f = h ( u ) f=\sqrt{h(u)} f = h ( u ) for the roots u ∈ J u\in J u ∈ J of R ρ 2 R_{\rho^2} R ρ 2 , and 0 if applicable), and I ( ρ ) I(\rho) I ( ρ ) contains the guaranteed inner interval [ f ∗ κ min / ρ , f ∗ ρ / κ min ] [f^*\kappa_{\min}/\rho,f^*\rho/\kappa_{\min}] [ f ∗ κ m i n / ρ , f ∗ ρ / κ m i n ] (Corollary 13).
with a / c = ρ a/c = \rho a / c = ρ . Then E ∈ E ρ E \in\mathcal{E}_{\rho} E ∈ E ρ if κ min ( E , p ) < ρ \kappa_{\min}(E,p) < \rho κ m i n ( E , p ) < ρ , E ∉ E ρ E \notin\mathcal{E}_{\rho} E ∈ / E ρ if κ min ( E , p ) > ρ \kappa_{\min}(E,p) > \rho κ m i n ( E , p ) > ρ , if κ min ( E , p ) = ρ \kappa_{\min}(E,p) = \rho κ m i n ( E , p ) = ρ then E ∈ E ρ E \in\mathcal{E}_{\rho} E ∈ E ρ exactly when the infimum is attained, and E ρ 1 ⊆ E ρ 2 \mathcal{E}_{\rho_1} \subseteq\mathcal{E}_{\rho_2} E ρ 1 ⊆ E ρ 2 whenever ρ 1 < ρ 2 \rho_1 < \rho_2 ρ 1 < ρ 2 .
Proof. The first three claims are Proposition 8; the inclusion follows from Theorem 3 , since κ ( f ) ≤ ρ 1 \kappa(f) \leq\rho_1 κ ( f ) ≤ ρ 1 implies κ ( f ) ≤ ρ 2 \kappa(f) \leq\rho_2 κ ( f ) ≤ ρ 2 .
So a single ellipse can identify a shape among hypotheses ρ 1 < ⋯ < ρ n \rho_1 < \cdots< \rho_n ρ 1 < ⋯ < ρ n only if that shape is the most elongated one, ρ n \rho_n ρ n , and E ∈ E ρ n ∖ E ρ n − 1 E \in\mathcal{E}_{\rho_n} \setminus\mathcal{E}_{\rho_{n-1}} E ∈ E ρ n ∖ E ρ n − 1 ; otherwise every hypothesis from the roundest consistent one up to ρ n \rho_n ρ n remains possible.
The principal point is essential. With p p p unknown, one ellipse rules out no ellipsoid, even with f f f known: a suitable p p p on the long axis line beyond a focus (Remark 4), or the center of a circle, makes E E E a sphere outline, hence an outline of every ellipsoid. If p p p is only known to lie in a region P P P , the test with f f f unknown becomes inf p ∈ P κ min ( E , p ) ≤ a / c \inf_{p \in P} \kappa_{\min}(E,p) \leq a/c inf p ∈ P κ m i n ( E , p ) ≤ a / c (with equality only if attained), which is vacuous once P P P meets the long axis line beyond a focus. In Example 11 that line passes 30.6 px from p p p , whereas with f = 800 f = 800 f = 800 px known the sphere-outline principal point is 631 px away.
Several ellipsoids in one image. Each object gives inequalities, so several ellipsoids generically bound f f f and p p p but, unlike spheres, do not determine them. Ellipsoids of known shape seen by one camera with known p p p admit a common f f f exactly when their intervals I j ( ρ j ) I_j(\rho_j) I j ( ρ j ) intersect, and by Helly’s theorem on the line it suffices that they intersect pairwise; this uses that p p p is known, since for unknown p p p the regions of camera centers are not convex. The same holds for several images taken with one unknown f f f ; with p p p unknown, the admissible camera centers are the intersection of the regions of Proposition 7. The supplementary materials give a numerical example.
Several views of one ellipsoid. With unknown relative poses the views are independent, so they are compatible with ratio a / c a/c a / c exactly when each passes the ratio test, max i κ i ≤ a / c \max_i \kappa_i \leq a/c max i κ i ≤ a / c , and b b b stays unobservable. With known relative poses, two outlines of a quadric must satisfy two epipolar tangency conditions, which leave a one-parameter family of quadrics [6 ] ; when this family contains an ellipsoid with semi-axes in the ratio a : b : c a:b:c a : b : c , now depending on b b b , is an open problem.
Noisy ellipses and general calibration
Remark 17 (the error-bound test). Rescale image coordinates to size of order 1 by a factor s s s (for example, s = 1000 s = 1000 s = 1000 px): divide f f f and p p p by s s s and replace C C C by diag ( s , s , 1 ) C diag ( s , s , 1 ) \operatorname{diag}(s,s,1)C\operatorname{diag}(s,s,1) diag ( s , s , 1 ) C diag ( s , s , 1 ) . Let the fitted conic matrix C ^ \widehat{C} C satisfy ∥ C ^ − C ∥ 2 ≤ ε \lVert\widehat{C} - C \rVert_2 \leq\varepsilon ∥ C − C ∥ 2 ≤ ε , with both matrices normalized to unit Frobenius norm and signed as in § 2 . Then K f C ^ K f K_f\widehat{C}K_f K f C K f , with positive eigenvalues μ ^ − ≤ μ ^ + \widehat{\mu}_{-} \leq\widehat{\mu}_{+} μ − ≤ μ + , differs from Q f Q_f Q f by at most δ ( f ) = max ( f , 1 ) 2 ε \delta(f) = \max(f,1)^2\varepsilon δ ( f ) = max ( f , 1 ) 2 ε in spectral norm, and by Weyl’s inequality so does each sorted eigenvalue. If μ ^ − > δ \hat{\mu}_{-} > \delta μ ^ − > δ ,
κ l o = μ ^ + − δ μ ^ − + δ ≤ κ ≤ μ ^ + + δ μ ^ − − δ = κ h i . \kappa_{\mathrm{lo}} = \sqrt{\frac{\hat{\mu}_{+}-\delta}{\hat{\mu}_{-}+\delta}} \leq\kappa\leq\sqrt{\frac{\hat{\mu}_{+}+\delta}{\hat{\mu}_{-}-\delta}} = \kappa_{\mathrm{hi}}. κ lo = μ ^ − + δ μ ^ + − δ ≤ κ ≤ μ ^ − − δ μ ^ + + δ = κ hi .
At a given f f f , we call a / c a/c a / c certainly rejected if κ l o > a / c \kappa_{\mathrm{lo}} > a/c κ lo > a / c , certainly consistent if κ h i ≤ a / c \kappa_{\mathrm{hi}} \leq a/c κ hi ≤ a / c , and undecided otherwise. The guarantee is deterministic when ε \varepsilon ε is a true bound. When ε \varepsilon ε is estimated, for example by bootstrap, it is only statistical: it holds as often as the estimate does and misses systematic errors such as a biased fit. The point test ignores the error altogether. Weyl’s bound is worst case over all perturbations of norm ε \varepsilon ε ; when the covariance of the fit is known, the first-order changes v ± T K f ( C ^ − C ) K f v ± v_{\pm}^{\mathsf T}K_f(\hat{C}-C)K_fv_{\pm} v ± T K f ( C ^ − C ) K f v ± of μ ± \mu_{\pm} μ ± , with v ± v_{\pm} v ± the unit eigenvectors, give tighter but only statistical intervals. The bound is useless near f = 0 f=0 f = 0 , where μ − = O ( f 2 ) \mu_{-}=O(f^2) μ − = O ( f 2 ) , and in pixel units: for Example 11 at f ∗ f^{*} f ∗ it tolerates ε \varepsilon ε only up to about 2 ⋅ 10 − 5 2\cdot10^{-5} 2 ⋅ 1 0 − 5 , against 0.07 0.07 0.07 after rescaling with s = 1000 s=1000 s = 1000 px. An error in the principal point can be absorbed in the same way: moving p p p by Δ p \Delta p Δ p (in rescaled units, ∣ Δ p ∣ = η \lvert\Delta p\rvert=\eta ∣ Δ p ∣ = η ) replaces C C C by T T C T T^{\mathsf T}CT T T C T with T = ( I Δ p 0 1 ) T=\begin{pmatrix} I & \Delta p \\ 0 & 1 \end{pmatrix} T = ( I 0 Δ p 1 ) , and ∥ T T C T − C ∥ F ≤ ( 2 η + η 2 ) ∥ C ∥ F \lVert T^{\mathsf T}CT-C\rVert_F\leq(2\eta+\eta^2)\lVert C\rVert_F ∥ T T C T − C ∥ F ≤ ( 2 η + η 2 ) ∥ C ∥ F ; after renormalization the change is at most 2 ( 2 η + η 2 ) 2(2\eta+\eta^2) 2 ( 2 η + η 2 ) , which can be added to ε \varepsilon ε .
For all focal lengths above a chosen one, the bound can be made uniform in f f f .
Proposition 18 (a uniform error bound). Rescale image coordinates by s > 0 s>0 s > 0 , and let C C C and C ^ \hat{C} C ^ be real ellipses, normalized as in Remark 17, with ∥ C ^ − C ∥ 2 ≤ ε < α ^ 1 \lVert\hat{C}-C\rVert_2\leq\varepsilon<\hat{\alpha}_1 ∥ C ^ − C ∥ 2 ≤ ε < α ^ 1 , where α ^ 1 \hat{\alpha}_1 α ^ 1 is the smaller eigenvalue of A ^ E \hat{A}_E A ^ E . Put
τ ε = 1 2 ln α ^ 1 + ε α ^ 1 − ε . \tau_{\varepsilon}=\frac{1}{2}\ln\frac{\hat{\alpha}_1+\varepsilon}{\hat{\alpha}_1-\varepsilon}. τ ε = 2 1 ln α ^ 1 − ε α ^ 1 + ε . Then ∣ ln κ ( f ) − ln κ ^ ( f ) ∣ ≤ τ ε \lvert\ln\kappa(f)-\ln\hat{\kappa}(f)\rvert\leq\tau_{\varepsilon} ∣ ln κ ( f ) − ln κ ^ ( f )∣ ≤ τ ε for every f ≥ s f\geq s f ≥ s . Consequently the infima of κ \kappa κ and κ ^ \hat{\kappa} κ ^ over f ≥ s f\geq s f ≥ s differ by a factor at most e τ ε e^{\tau_{\varepsilon}} e τ ε , and I ^ ( e − τ ε ρ ) ∩ [ s , ∞ ) ⊆ I ( ρ ) ∩ [ s , ∞ ) ⊆ I ^ ( e τ ε ρ ) \hat{I}(e^{-\tau_{\varepsilon}}\rho)\cap[s,\infty)\subseteq I(\rho)\cap[s,\infty)\subseteq\hat{I}(e^{\tau_{\varepsilon}}\rho) I ^ ( e − τ ε ρ ) ∩ [ s , ∞ ) ⊆ I ( ρ ) ∩ [ s , ∞ ) ⊆ I ^ ( e τ ε ρ ) , where I ^ \hat{I} I ^ refers to C ^ \hat{C} C ^ .
Proof. In rescaled units f ≥ 1 f\geq1 f ≥ 1 , so ∥ K f ( C ^ − C ) K f ∥ 2 ≤ f 2 ε \lVert K_f(\hat{C}-C)K_f\rVert_2\leq f^2\varepsilon ∥ K f ( C ^ − C ) K f ∥ 2 ≤ f 2 ε , and by Weyl’s inequality ∣ μ ± − μ ^ ± ∣ ≤ f 2 ε \lvert\mu_{\pm}-\hat{\mu}_{\pm}\rvert\leq f^2\varepsilon ∣ μ ± − μ ^ ± ∣ ≤ f 2 ε . Cauchy interlacing of K f C ^ K f K_f\hat{C}K_f K f C ^ K f with its block f 2 A ^ E f^2\hat{A}_E f 2 A ^ E gives μ ^ + ≥ μ ^ − ≥ f 2 α ^ 1 \hat{\mu}_{+}\geq\hat{\mu}_{-}\geq f^2\hat{\alpha}_1 μ ^ + ≥ μ ^ − ≥ f 2 α ^ 1 . Let ξ = ε / α ^ 1 < 1 \xi=\varepsilon/\hat{\alpha}_1<1 ξ = ε / α ^ 1 < 1 . Then ∣ μ ± − μ ^ ± ∣ ≤ f 2 ε ≤ ξ μ ^ ± \lvert\mu_{\pm}-\hat{\mu}_{\pm}\rvert\leq f^2\varepsilon\leq\xi\hat{\mu}_{\pm} ∣ μ ± − μ ^ ± ∣ ≤ f 2 ε ≤ ξ μ ^ ± , so 1 − ξ ≤ μ + / μ ^ + ≤ 1 + ξ 1-\xi\leq\mu_{+}/\hat{\mu}_{+}\leq1+\xi 1 − ξ ≤ μ + / μ ^ + ≤ 1 + ξ and 1 / ( 1 + ξ ) ≤ μ ^ − / μ − ≤ 1 / ( 1 − ξ ) 1/(1+\xi)\leq\hat{\mu}_{-}/\mu_{-}\leq1/(1-\xi) 1/ ( 1 + ξ ) ≤ μ ^ − / μ − ≤ 1/ ( 1 − ξ ) , and κ 2 / κ ^ 2 = ( μ + / μ ^ + ) ( μ ^ − / μ − ) \kappa^2/\hat{\kappa}^2=(\mu_{+}/\hat{\mu}_{+})(\hat{\mu}_{-}/\mu_{-}) κ 2 / κ ^ 2 = ( μ + / μ ^ + ) ( μ ^ − / μ − ) lies between ( 1 − ξ ) / ( 1 + ξ ) (1-\xi)/(1+\xi) ( 1 − ξ ) / ( 1 + ξ ) and ( 1 + ξ ) / ( 1 − ξ ) (1+\xi)/(1-\xi) ( 1 + ξ ) / ( 1 − ξ ) . The other claims follow.
So, with s s s a lower bound on the focal length, a / c a/c a / c is certainly rejected for every f ≥ s f\geq s f ≥ s if inf f ≥ s κ ^ > e τ ε a / c \inf_{f\geq s}\hat{\kappa}>e^{\tau_{\varepsilon}}a/c inf f ≥ s κ ^ > e τ ε a / c , and certainly consistent for some f ≥ s f\geq s f ≥ s if inf f ≥ s κ ^ < e − τ ε a / c \inf_{f\geq s}\hat{\kappa}<e^{-\tau_{\varepsilon}}a/c inf f ≥ s κ ^ < e − τ ε a / c ; by Theorem 9 , the infimum is κ ^ min \hat{\kappa}_{\min} κ ^ m i n or κ ^ ( s ) \hat{\kappa}(s) κ ^ ( s ) . Here τ ε ≈ ε / α ^ 1 \tau_{\varepsilon}\approx\varepsilon/\hat{\alpha}_1 τ ε ≈ ε / α ^ 1 , the relative error of the conic measured against its quadratic part, and a principal-point error can be added to ε \varepsilon ε as in Remark 17. In practice, running Algorithm 1 on C ^ \hat{C} C ^ with the hypotheses e − τ ε ρ e^{-\tau_{\varepsilon}}\rho e − τ ε ρ and e τ ε ρ e^{\tau_{\varepsilon}}\rho e τ ε ρ gives inner and outer bounds on I ( ρ ) ∩ [ s , ∞ ) I(\rho)\cap[s,\infty) I ( ρ ) ∩ [ s , ∞ ) .
Experiments
Simulations
We ask how noise in the fitted ellipse changes the decisions of the ratio test, with f f f known and unknown, and what the error-bound test costs in power; details are in the supplementary materials.
Setup. For each true ratio a / c ∈ { 1 , 1.05 , 1.1 , 1.2 , 1.5 , 2 , 3 } a/c \in\{1, 1.05, 1.1, 1.2, 1.5, 2, 3\} a / c ∈ { 1 , 1.05 , 1.1 , 1.2 , 1.5 , 2 , 3 } we drew 500 scenes (c = 1 c = 1 c = 1 , b b b log-uniform in [ c , a ] [c,a] [ c , a ] , random orientation, depth 8 to 20, center projecting to a random point of a 1000 × 1000 px image, f = 800 f = 800 f = 800 px, p p p at the image center). We sampled 120 outline points, added Gaussian noise of σ = 0.5 \sigma= 0.5 σ = 0.5 px and fitted a conic by the direct least-squares fit [10 , 16 ] ; κ ^ \hat{\kappa} κ ^ and κ ^ min \hat{\kappa}_{\min} κ ^ m i n denote κ \kappa κ and κ min \kappa_{\min} κ m i n of the fitted conic, computed on a logarithmic grid of 900 focal lengths refined by golden-section and bisection steps, which Theorem 9 makes reliable. The point test accepts a hypothesis ρ \rho ρ for a / c a/c a / c if κ ^ ( f ) ≤ ρ \hat{\kappa}(f) \le\rho κ ^ ( f ) ≤ ρ (f f f known) or κ ^ min ≤ ρ \hat{\kappa}_{\min} \le\rho κ ^ m i n ≤ ρ (f f f unknown). Hypotheses more elongated than the truth are consistent with every exact outline, so we test only rounder ones, and we report each rejection rate next to its noise-free reference , the rate for the exact outlines.
Decisions (Table 2 ). Noise rarely changes a decision, and then only near the bound. With f f f known, all 25 false rejections among the 3000 outlines with a / c > 1 a/c > 1 a / c > 1 had relative margin ( a / c − κ ) / ( a / c ) < 1 % (a/c-\kappa)/(a/c) < 1\% ( a / c − κ ) / ( a / c ) < 1% (13 of the 41 below 0.1%, none of the 2676 above 1%); with f f f unknown, the true shape was accepted for at least 99.8%. Rejection of rounder hypotheses matched the noise-free references within one percentage point, so it is limited by geometry, not noise; it is weaker with f f f unknown. Upper bounds on f f f come mainly from nearly round objects (76% of the outlines with a / c = 1.05 a/c = 1.05 a / c = 1.05 , 3% with a / c = 3 a/c = 3 a / c = 3 ) and, as Proposition 10 predicts, only from principal points in the long-axis wedge (all 845 bounded intervals, none of the 846 nonempty intervals outside the wedge), and the median ratio of the ends of a bounded I ( a / c ) I(a/c) I ( a / c ) grew from 1.65 to 15 (Table SM7). The minimizer f ∗ f^* f ∗ is not an estimate of f f f (median relative error 12 to 65% for a / c ≥ 1.05 a/c \ge1.05 a / c ≥ 1.05 ). Since κ ^ > 1 \hat{\kappa} > 1 κ ^ > 1 almost surely, the point test rejects every true sphere; near-spherical hypotheses need the error-bound test.
Table 2. Point test on noisy outlines: percent of the 500 outlines per true a / c a/c a / c (Wilson 95% half-widths at most 4.4 percentage points), with the noise-free reference in parentheses; in each column pair, f f f known and unknown. “Accept true”: the hypothesis equals the true a / c a/c a / c . “–” in a rejection column: the hypothesis is not rounder than the truth. Last column: percent of outlines with I ( a / c ) I(a/c) I ( a / c ) bounded above, among those with I ( a / c ) I(a/c) I ( a / c ) nonempty (“–” for spheres, whose I ( 1 ) I(1) I ( 1 ) is empty because κ ^ > 1 \hat{\kappa} > 1 κ ^ > 1 almost surely).
The error-bound test. We took ε \varepsilon ε as the 95th percentile of ∥ C ^ ( i ) − C ^ ∥ 2 \lVert\hat{C}^{(i)}-\hat{C}\rVert_2 ∥ C ^ ( i ) − C ^ ∥ 2 over 100 bootstrap refits (Table SM1); it bounded the true error for 93 to 96% of the outlines, and whenever it did, no true shape was certainly rejected, as Remark 17 guarantees. True spheres were left undecided (two exceptions, with too small ε \varepsilon ε ). Certainty costs little power: ρ = 1.2 \rho= 1.2 ρ = 1.2 was certainly rejected for 69, 86 and 95% of the outlines with a / c = 1.5 a/c = 1.5 a / c = 1.5 , 2 and 3 with f f f known (point test: 71, 87, 95%) and, with f f f unknown, by the uniform bound of Proposition 18 with s = 200 s = 200 s = 200 px (median τ ε = 0.011 \tau_\varepsilon= 0.011 τ ε = 0.011 ), for 47, 74 and 88% (point test over all f > 0 f > 0 f > 0 : 49, 73, 88%); the uniform bound never certainly rejected a true shape.
Robustness and baselines. Noise up to 2 px, 30 to 240 points, half an outline, 5% outliers with RANSAC [9 ] , and f = 400 f = 400 f = 400 or 1600 px kept acceptance at 99.0 to 100% (Table SM2). The risks are a quarter arc, which biases the fit (true shape accepted for 60% with f f f known), uncorrected distortion and nonellipsoidal objects (95.8 to 98.5%), and an error in p p p , which weakens rejection with f f f unknown (§ 6 ). A grid scan of [13 Thm. 1] agreed with the ratio test in 1795 of 1800 decisions and pose fitting with a χ 2 \chi^2 χ 2 test in 1776 (Table SM3); a decision took 0.016 ms, and κ min \kappa_{\min} κ m i n from the quartic 0.26 ms.
Real images: Saturn's moons
Data and limb extraction. We used the 50 images of Saturn’s moons selected by [25 ] from the Cassini narrow-angle camera (NAC) [24 ] , calibrated with CISSCAL 4.0 [19 ] ([4 ] ; list in Table SM6), excluding five with edge points within 10 px of the frame. Here f = 166,953 f = 166{,}953 f = 166 , 953 px, so perspective is negligible: these images check the test with known f f f , not the results for unknown f f f . The shape kernel cpck15Dec2017.tpc [30 , 1 ] gives a / c a/c a / c from 1.006 (Rhea, Dione) to 1.088 (Mimas), and Lemma 2 with the spacecraft position gives the predicted cone ratio κ p r e d \kappa_{\mathrm{pred}} κ pred . Only the sunlit part of the limb, the moon’s outline, is visible; the rest of the bright boundary is the terminator , which is not an outline. We kept subpixel edge points within 85° of the projected Sun direction (a half-angle chosen after inspecting the results; Table SM5) and fitted a conic with RANSAC (median 356 points, 47% of the outline; thresholds in Table SM4).
Results (Table 3 , Figure 6 ). Our limb extraction has a systematic error of about 1% in κ \kappa κ , larger than the noise: the median ∣ κ ^ − κ p r e d ∣ |\hat{\kappa}-\kappa_{\mathrm{pred}}| ∣ κ ^ − κ pred ∣ is 0.004 (90% below 0.012), against 0.011 for a sphere model, but a constant per moon fits as well, and the images of one moon are not independent, so the counts describe six moons rather than 45 trials. The views lie close to the bound (median margin 0.005). The point test accepted the true shape for 36 of 45 images, all rejections having margin below 0.02. The bootstrap error bound misses the systematic error (it covered κ p r e d \kappa_{\mathrm{pred}} κ pred for only 17 images), so we widened the interval by an allowance δ κ \delta_{\kappa} δ κ calibrated by leaving one moon out: for the images of each moon, δ κ \delta_{\kappa} δ κ is the 90th percentile of ∣ κ ^ − κ p r e d ∣ |\hat{\kappa}-\kappa_{\mathrm{pred}}| ∣ κ ^ − κ pred ∣ over the images of the other five moons; this allowance is specific to our pipeline and outside the guarantee of Remark 17. With it, the true shape was rejected for 2 of 45 images and the sphere for 25, never for Rhea or Dione, whose a / c − 1 = 0.006 a/c-1=0.006 a / c − 1 = 0.006 is below δ κ \delta_{\kappa} δ κ . The counts are stable under the half-angle and the random seed but depend on the shape model (31 of 45 accepted with pck00.011.tpc).
Table 3. Cassini NAC limbs (n n n images used, 45 in all). κ p r e d \kappa_{\mathrm{pred}} κ pred : cone ratio of the ellipsoid model in the PDS geometry. Margin: a / c − κ p r e d ≥ 0 a/c-\kappa_{\mathrm{pred}}\geq0 a / c − κ pred ≥ 0 , the distance of the true view from the bound. Point: true shape accepted by the point test (κ ^ ≤ a / c \hat{\kappa}\leq a/c κ ^ ≤ a / c ). Bootstrap: the error-bound interval [ κ l o , κ h i ] [\kappa_{\mathrm{lo}},\kappa_{\mathrm{hi}}] [ κ lo , κ hi ] with bootstrap ε \varepsilon ε contains κ p r e d \kappa_{\mathrm{pred}} κ pred . Allowance δ κ \delta_{\kappa} δ κ : 90th percentile of ∣ κ ^ − κ p r e d ∣ |\hat{\kappa}-\kappa_{\mathrm{pred}}| ∣ κ ^ − κ pred ∣ on the other moons (0.014 for Rhea and Dione, 0.008 to 0.012 for the others); the columns give the number of images for which, with the interval [ κ ^ − δ κ , κ ^ + δ κ ] [\hat{\kappa}-\delta_{\kappa},\hat{\kappa}+\delta_{\kappa}] [ κ ^ − δ κ , κ ^ + δ κ ] , the true shape is consistent / undecided / rejected, and for which the sphere is rejected (κ ^ − δ κ > 1 \hat{\kappa}-\delta_{\kappa}>1 κ ^ − δ κ > 1 ).
Figure 6. Limb fits on four of the 45 Cassini NAC images (cropped). Blue dots: limb points used (within 85° of the projected Sun direction); magenta crosses: other edge points (terminator, or limb beyond the 85° cut); orange: fitted outline. Above each panel: moon, phase angle, measured cone ratio κ ^ \hat{\kappa} κ ^ , predicted cone ratio κ p r e d \kappa_{\mathrm{pred}} κ pred , and the moon’s a / c a/c a / c .
Reproducibility. The scripts in experiments/ reproduce every number of this section with fixed seeds, and sanity_checks.py checks Lemma 2 and Proposition 7 and Theorem 9(i) numerically (supplementary materials); all code is at https://github.com/michael-werman/realizability-code.
Conclusions
The ratio test reduces realizability to one eigenvalue inequality, and its analysis in f f f gives an interval, a closed-form minimum and a simple condition for an upper bound. In practice, near-spherical hypotheses need the error-bound test (Remark 17 and Proposition 18 ), and the main risks are short arcs, lens distortion, an uncertain principal point and systematic limb errors (about 1% in κ \kappa κ on the Cassini images). Real images with strong perspective are still needed to test the results for unknown f f f . Open questions are how fast the bounds tighten with several objects and the compatibility of several views with known relative poses (§ 6 ).
Acknowledgments
The author used Claude (Anthropic; Claude Opus 5.5) as an assistant to edit the text, check proofs, search the literature, and write the code for the experiments and figures. All statements and proofs were checked by the author, and every numerical result is produced by the published code. The Cassini images and kernels were obtained from the PDS Ring-Moon Systems Node and NASA’s Navigation and Ancillary Information Facility. The author assumes responsibility for all content.
Proofs
Write ( a 1 , a 2 , a 3 ) = ( a , b , c ) (a_1,a_2,a_3)=(a,b,c) ( a 1 , a 2 , a 3 ) = ( a , b , c ) , so Λ i = a i − 2 \Lambda_i=a_i^{-2} Λ i = a i − 2 , and D = Λ − 1 = diag ( a 2 , b 2 , c 2 ) D=\Lambda^{-1}=\operatorname{diag}(a^2,b^2,c^2) D = Λ − 1 = diag ( a 2 , b 2 , c 2 ) .
Notation for an image ellipse. We use C C C , A E A_E A E , α 1 ≤ α 2 \alpha_1\le\alpha_2 α 1 ≤ α 2 , β E \beta_E β E and γ E \gamma_E γ E from section 2; π \pi π , q q q , r r r , J J J , h h h and R k R_k R k from section 5.3; and S S S , s ± s_{\pm} s ± and β ± \beta_{\pm} β ± from section 5, now with S = A E − β E β E T / γ E S=A_E-\beta_E\beta_E^{\mathsf T}/\gamma_E S = A E − β E β E T / γ E for every γ E ≠ 0 \gamma_E\ne0 γ E = 0 . Throughout, t = f 2 t=f^2 t = f 2 . Write β E = ( β 1 , β 2 ) \beta_E=(\beta_1,\beta_2) β E = ( β 1 , β 2 ) in an orthonormal eigenbasis of A E A_E A E for α 1 , α 2 \alpha_1,\alpha_2 α 1 , α 2 (whereas β ± \beta_{\pm} β ± refer to an eigenbasis of S S S ). Expanding,
π ( ν ) = γ E ( α 1 − ν ) ( α 2 − ν ) − β 1 2 ( α 2 − ν ) − β 2 2 ( α 1 − ν ) \pi(\nu)=\gamma_E(\alpha_1-\nu)(\alpha_2-\nu)-\beta_1^2(\alpha_2-\nu)-\beta_2^2(\alpha_1-\nu) π ( ν ) = γ E ( α 1 − ν ) ( α 2 − ν ) − β 1 2 ( α 2 − ν ) − β 2 2 ( α 1 − ν )
so π ( α 1 ) = − ( α 2 − α 1 ) β 1 2 ≤ 0 ≤ ( α 2 − α 1 ) β 2 2 = π ( α 2 ) \pi(\alpha_1)=-(\alpha_2-\alpha_1)\beta_1^2\le0\le(\alpha_2-\alpha_1)\beta_2^2=\pi(\alpha_2) π ( α 1 ) = − ( α 2 − α 1 ) β 1 2 ≤ 0 ≤ ( α 2 − α 1 ) β 2 2 = π ( α 2 ) , strictly when p p p is off-axis; since π \pi π has degree at most two, it then has exactly one root r r r in ( α 1 , α 2 ) (\alpha_1,\alpha_2) ( α 1 , α 2 ) . For γ E ≠ 0 \gamma_E\ne0 γ E = 0 , π ( ν ) = γ E det ( S − ν I ) \pi(\nu)=\gamma_E\det(S-\nu I) π ( ν ) = γ E det ( S − ν I ) , so the roots of π \pi π are the eigenvalues of S S S . If γ E > 0 \gamma_E>0 γ E > 0 , then det S = det C / γ E < 0 \det S=\det C/\gamma_E<0 det S = det C / γ E < 0 and the other root of π \pi π is negative. If γ E < 0 \gamma_E<0 γ E < 0 and p p p is off-axis, the other root r 2 r_2 r 2 exceeds α 2 \alpha_2 α 2 (as π ( α 2 ) > 0 \pi(\alpha_2)>0 π ( α 2 ) > 0 and π → − ∞ \pi\mathbin{\to}-\infty π → − ∞ ), so s − = r s_-=r s − = r , s + = r 2 s_+=r_2 s + = r 2 and κ 0 2 = r 2 / r \kappa_0^2=r_2/r κ 0 2 = r 2 / r .
The ratio test
Proof of Lemma 2. A direction d d d is tangent if and only if s ↦ ( O + s d ) T Λ ( O + s d ) − 1 s\mapsto(O+sd)^{\mathsf T}\Lambda(O+sd)-1 s ↦ ( O + s d ) T Λ ( O + s d ) − 1 has a double root, that is, ( d T Λ O ) 2 = ς d T Λ d (d^{\mathsf T}\Lambda O)^2=\varsigma\,d^{\mathsf T}\Lambda d ( d T Λ O ) 2 = ς d T Λ d , which gives M M M . By the Sherman–Morrison formula, ( D − O O T ) − 1 = Λ + Λ O O T Λ / ( 1 − O T Λ O ) = Λ − Λ O O T Λ / ς (D-OO^{\mathsf T})^{-1}=\Lambda+\Lambda OO^{\mathsf T}\Lambda/(1-O^{\mathsf T}\Lambda O)=\Lambda-\Lambda OO^{\mathsf T}\Lambda/\varsigma ( D − O O T ) − 1 = Λ + Λ O O T Λ/ ( 1 − O T Λ O ) = Λ − Λ O O T Λ/ ς , so
M = ς ( D − O O T ) − 1 . M=\varsigma(D-OO^{\mathsf T})^{-1}. M = ς ( D − O O T ) − 1 .
The matrix D − O O T D-OO^{\mathsf T} D − O O T is the dual of the tangent cone: the image of the dual quadric diag ( D , − 1 ) \operatorname{diag}(D,-1) diag ( D , − 1 ) under the camera [ I ∣ − O ] [\,I\mid-O\,] [ I ∣ − O ] [18 Sec. 8.3] . By the matrix determinant lemma,
det ( D − O O T + λ I ) = P ( λ ) : = ∏ i ( a i 2 + λ ) − ∑ i O i 2 ∏ l ≠ i ( a l 2 + λ ) \det(D-OO^{\mathsf T}+\lambda I)=P(\lambda):=\prod_i(a_i^2+\lambda)-\sum_i O_i^2\prod_{l\ne i}(a_l^2+\lambda) det ( D − O O T + λ I ) = P ( λ ) := i ∏ ( a i 2 + λ ) − i ∑ O i 2 l = i ∏ ( a l 2 + λ )
and P ( λ ) / ∏ i ( a i 2 + λ ) P(\lambda)/\prod_i(a_i^2+\lambda) P ( λ ) / ∏ i ( a i 2 + λ ) is 1 minus the left side of (1) , so the roots λ 1 , λ 2 , λ 3 \lambda_1,\lambda_2,\lambda_3 λ 1 , λ 2 , λ 3 of P P P are the confocal coordinates of O O O . Hence D − O O T D-OO^{\mathsf T} D − O O T has eigenvalues − λ 1 , − λ 2 , − λ 3 -\lambda_1,-\lambda_2,-\lambda_3 − λ 1 , − λ 2 , − λ 3 and M M M has eigenvalues − ς / λ i -\varsigma/\lambda_i − ς / λ i ; the λ i \lambda_i λ i are nonzero because P ( 0 ) = − a 2 b 2 c 2 ς < 0 P(0)=-a^2b^2c^2\varsigma<0 P ( 0 ) = − a 2 b 2 c 2 ς < 0 . Since D − O O T D-OO^{\mathsf T} D − O O T is a negative semidefinite rank-one update of D D D , Weyl’s interlacing inequalities give − λ 1 ≤ c 2 ≤ − λ 2 ≤ b 2 ≤ − λ 3 ≤ a 2 -\lambda_1\le c^2\le-\lambda_2\le b^2\le-\lambda_3\le a^2 − λ 1 ≤ c 2 ≤ − λ 2 ≤ b 2 ≤ − λ 3 ≤ a 2 , and λ 1 > 0 \lambda_1>0 λ 1 > 0 as P ( 0 ) < 0 P(0)<0 P ( 0 ) < 0 . For a > b > c a>b>c a > b > c and O O O off the coordinate planes these inequalities are strict, since none of
P ( − a 2 ) = − O 1 2 ( a 2 − b 2 ) ( a 2 − c 2 ) , P ( − b 2 ) = O 2 2 ( a 2 − b 2 ) ( b 2 − c 2 ) , P(-a^2)=-O_1^2(a^2-b^2)(a^2-c^2),\qquad P(-b^2)=O_2^2(a^2-b^2)(b^2-c^2), P ( − a 2 ) = − O 1 2 ( a 2 − b 2 ) ( a 2 − c 2 ) , P ( − b 2 ) = O 2 2 ( a 2 − b 2 ) ( b 2 − c 2 ) ,
P ( − c 2 ) = − O 3 2 ( a 2 − c 2 ) ( b 2 − c 2 ) P(-c^2)=-O_3^2(a^2-c^2)(b^2-c^2) P ( − c 2 ) = − O 3 2 ( a 2 − c 2 ) ( b 2 − c 2 )
vanishes.
Proof of Theorem 3. The matrix Q f Q_f Q f defines the cone of rays through E E E , in camera coordinates. If E E E is the ellipsoid’s outline, the placed ellipsoid lies in z < f z < f z < f , so O O O is outside it, and its semi-axes s a ≥ s b ≥ s c sa \ge sb \ge sc s a ≥ s b ≥ sc have the same ratio a / c a/c a / c ; we apply Lemma 2 to it. The nappe of the tangent cone that contains the ellipsoid lies, apart from O O O , in z < f z < f z < f , and the other nappe in z > f z > f z > f ; only the first meets the image plane. Moreover, the rays through the convex ellipsoid form a convex solid cone whose boundary rays are the tangent rays, so E E E and the section of the tangent cone are the same real nondegenerate conic. Hence U M U T = σ 0 Q f UMU^{\mathsf T} = \sigma_0Q_f U M U T = σ 0 Q f for an orthogonal U U U and some σ 0 ≠ 0 \sigma_0 \ne0 σ 0 = 0 , and σ 0 > 0 \sigma_0 > 0 σ 0 > 0 since both matrices have two positive eigenvalues. So κ ( f ) 2 = λ 3 / λ 2 ≤ a 2 / c 2 \kappa(f)^2 = \lambda_3/\lambda_2 \le a^2/c^2 κ ( f ) 2 = λ 3 / λ 2 ≤ a 2 / c 2 by Lemma 2.
Conversely, let the cone Q f Q_f Q f , signed as in the statement, have eigenvalues − μ 0 < 0 < μ − ≤ μ + -\mu_0 < 0 < \mu_- \le\mu_+ − μ 0 < 0 < μ − ≤ μ + with μ + / μ − = k ∈ [ 1 , a 2 / c 2 ] \mu_+/\mu_- = k \in[1,a^2/c^2] μ + / μ − = k ∈ [ 1 , a 2 / c 2 ] . We choose confocal coordinates λ i \lambda_i λ i that reproduce the cone and then solve for O O O , an inverse eigenvalue problem for the rank-one update D − O O T D - OO^{\mathsf T} D − O O T [15 ] ; first let a > b > c a > b > c a > b > c .
Step 1 (confocal coordinates). Put λ 2 = − max ( c 2 , b 2 / k ) \lambda_2 = -\max(c^2,b^2/k) λ 2 = − max ( c 2 , b 2 / k ) and λ 3 = − max ( k c 2 , b 2 ) \lambda_3 = -\max(kc^2,b^2) λ 3 = − max ( k c 2 , b 2 ) . Then − b 2 ≤ λ 2 ≤ − c 2 -b^2 \le\lambda_2 \le-c^2 − b 2 ≤ λ 2 ≤ − c 2 , − a 2 ≤ λ 3 ≤ − b 2 -a^2 \le\lambda_3 \le-b^2 − a 2 ≤ λ 3 ≤ − b 2 and λ 3 / λ 2 = k \lambda_3/\lambda_2 = k λ 3 / λ 2 = k . Put λ 1 = ∣ λ 3 ∣ μ − / μ 0 > 0 \lambda_1 = |\lambda_3|\mu_-/\mu_0 > 0 λ 1 = ∣ λ 3 ∣ μ − / μ 0 > 0 .
Step 2 (the point O O O ). Set
O i 2 = ∏ j ( a i 2 + λ j ) ∏ l ≠ i ( a i 2 − a l 2 ) . O_i^2 = \frac{\prod_j(a_i^2+\lambda_j)}{\prod_{l\ne i}(a_i^2-a_l^2)}. O i 2 = ∏ l = i ( a i 2 − a l 2 ) ∏ j ( a i 2 + λ j ) .
the classical solution of this inverse eigenvalue problem. For a > b > c a > b > c a > b > c and λ 1 > 0 > λ 2 ≥ λ 3 \lambda_1 > 0 > \lambda_2 \ge\lambda_3 λ 1 > 0 > λ 2 ≥ λ 3 , all three right sides are nonnegative if and only if − a 2 ≤ λ 3 ≤ − b 2 ≤ λ 2 ≤ − c 2 -a^2 \le\lambda_3 \le-b^2 \le\lambda_2 \le-c^2 − a 2 ≤ λ 3 ≤ − b 2 ≤ λ 2 ≤ − c 2 . Indeed, given this chain, the factors a i 2 + λ j a_i^2+\lambda_j a i 2 + λ j of the numerator are nonnegative for j ≤ 4 − i j \le4-i j ≤ 4 − i and nonpositive for the other i − 1 i-1 i − 1 values of j j j , and the denominator has i − 1 i-1 i − 1 negative factors. Conversely, i = 2 i=2 i = 2 forces λ 3 ≤ − b 2 ≤ λ 2 \lambda_3 \le-b^2 \le\lambda_2 λ 3 ≤ − b 2 ≤ λ 2 , and then i = 1 i=1 i = 1 forces λ 3 ≥ − a 2 \lambda_3 \ge-a^2 λ 3 ≥ − a 2 and i = 3 i=3 i = 3 forces λ 2 ≤ − c 2 \lambda_2 \le-c^2 λ 2 ≤ − c 2 . By Step 1 the chain holds. By partial fractions, ∑ i O i 2 / ( a i 2 + λ ) − 1 = − ∏ j ( λ − λ j ) / ∏ i ( a i 2 + λ ) \sum_i O_i^2/(a_i^2+\lambda)-1=-\prod_j(\lambda-\lambda_j)/\prod_i(a_i^2+\lambda) ∑ i O i 2 / ( a i 2 + λ ) − 1 = − ∏ j ( λ − λ j ) / ∏ i ( a i 2 + λ ) , so P ( λ ) = ∏ j ( λ − λ j ) P(\lambda)=\prod_j(\lambda-\lambda_j) P ( λ ) = ∏ j ( λ − λ j ) and λ 1 , λ 2 , λ 3 \lambda_1,\lambda_2,\lambda_3 λ 1 , λ 2 , λ 3 are the confocal coordinates of O O O . Since P ( 0 ) = − λ 1 λ 2 λ 3 < 0 P(0)=-\lambda_1\lambda_2\lambda_3<0 P ( 0 ) = − λ 1 λ 2 λ 3 < 0 , we have ς > 0 \varsigma>0 ς > 0 : O O O lies outside the ellipsoid. (For k = 1 k=1 k = 1 and k = a 2 / c 2 k=a^2/c^2 k = a 2 / c 2 this gives the camera centers of Proposition 6.)
Step 3 (placing the camera). By Lemma 2, M M M has eigenvalues − ς / λ 1 < 0 < ς / ∣ λ 3 ∣ ≤ ς / ∣ λ 2 ∣ -\varsigma/\lambda_1 < 0 < \varsigma/|\lambda_3| \le\varsigma/|\lambda_2| − ς / λ 1 < 0 < ς /∣ λ 3 ∣ ≤ ς /∣ λ 2 ∣ . By the choice of λ 1 \lambda_1 λ 1 and since λ 3 / λ 2 = k \lambda_3/\lambda_2=k λ 3 / λ 2 = k , these are σ 0 ( − μ 0 , μ − , μ + ) \sigma_0(-\mu_0,\mu_-,\mu_+) σ 0 ( − μ 0 , μ − , μ + ) with σ 0 = ς / ( ∣ λ 3 ∣ μ − ) > 0 \sigma_0=\varsigma/(|\lambda_3|\mu_-)>0 σ 0 = ς / ( ∣ λ 3 ∣ μ − ) > 0 . So U M U T = σ 0 Q f UMU^{\mathsf T}=\sigma_0Q_f U M U T = σ 0 Q f for an orthogonal U U U . Put the camera center at O O O with camera coordinates d = U ( X − O ) d=U(X-O) d = U ( X − O ) . Since d d d is proportional to ( u , v , f ) (u,v,f) ( u , v , f ) at the image point ( u , v ) (u,v) ( u , v ) , a point W W W in the coordinates of section 2 has d = Z ( W − ( p , f ) ) d=Z(W-(p,f)) d = Z ( W − ( p , f )) with Z = diag ( 1 , 1 , − 1 ) Z=\operatorname{diag}(1,1,-1) Z = diag ( 1 , 1 , − 1 ) ; so d 3 > 0 d_3>0 d 3 > 0 means z < f z<f z < f , and the ellipsoid is placed by X ↦ ( p , f ) + Z U ( X − O ) X\mapsto(p,f)+ZU(X-O) X ↦ ( p , f ) + Z U ( X − O ) . Every orthogonal U U U is realized by a rigid motion: if this map reverses orientation (that is, if det U = 1 \det U=1 det U = 1 ), replace ( U , O ) (U,O) ( U , O ) by ( U Z , Z O ) (UZ,ZO) ( U Z , Z O ) ; since Z Z Z maps the ellipsoid to itself and M ( Z O ) = Z M ( O ) Z M(ZO)=ZM(O)Z M ( Z O ) = Z M ( O ) Z , the placed ellipsoid and U M U T UMU^{\mathsf T} U M U T are unchanged. A ray d d d is then tangent to the ellipsoid if and only if d T Q f d = 0 d^{\mathsf T}Q_fd=0 d T Q f d = 0 , that is, since Q f = K f C K f Q_f=K_fC K_f Q f = K f C K f , if and only if its image point x = K f d x=K_fd x = K f d lies on E E E .
It remains to put the ellipsoid in front of the camera. On the plane d 3 = 0 d_3=0 d 3 = 0 , Q f Q_f Q f restricts to f 2 A E ≻ 0 f^2A_E \succ0 f 2 A E ≻ 0 , so each nappe of the solid cone { d T Q f d ≤ 0 } \{d^{\mathsf T}Q_fd\le0\} { d T Q f d ≤ 0 } lies strictly on one side of that plane. The ellipsoid lies in the solid cone (the line O X OX O X through any of its points X X X meets it), is connected and misses O O O , so it lies in one nappe. If this is the nappe d 3 < 0 d_3<0 d 3 < 0 , replace the ellipsoid by its point reflection through O O O ; since an ellipsoid is centrally symmetric, this is a translate of the same ellipsoid (same orientation), and its tangent cone from O O O is the same cone. Now for every d ≠ 0 d\ne0 d = 0 in the nappe d 3 > 0 d_3>0 d 3 > 0 the ray O + s U T d O+sU^{\mathsf T}d O + s U T d , s > 0 s>0 s > 0 , meets the ellipsoid: the discriminant is nonnegative, and the two intersection parameters have positive product ς / ( d T U Λ U T d ) \varsigma/(d^{\mathsf T}U\Lambda U^{\mathsf T}d) ς / ( d T U Λ U T d ) , hence the same sign, which is positive because the ellipsoid lies in this nappe. So the image of the ellipsoid is the region bounded by E E E ; every point x x x of E E E gives the generator K f − 1 x K_f^{-1}x K f − 1 x , which has d 3 = 1 > 0 d_3=1>0 d 3 = 1 > 0 , lies in this nappe and touches the ellipsoid, so the outline is exactly E E E .
Spheroids. Only Step 2 needs a > b > c a>b>c a > b > c . For a spheroid the same construction, carried out in a plane through the symmetry axis, gives the camera center in closed form, and for a sphere any point at a suitable distance from the center works; the details are in the supplementary materials. Part (ii) follows from part (i), which does not involve b b b .
Proof of Proposition 6. Let a > b > c a>b>c a > b > c . By Lemma 2 , κ 2 = ∣ λ 3 ∣ / ∣ λ 2 ∣ \kappa^2=|\lambda_3|/|\lambda_2| κ 2 = ∣ λ 3 ∣/∣ λ 2 ∣ with ∣ λ 2 ∣ ≥ c 2 |\lambda_2|\ge c^2 ∣ λ 2 ∣ ≥ c 2 and ∣ λ 3 ∣ ≤ a 2 |\lambda_3|\le a^2 ∣ λ 3 ∣ ≤ a 2 . Equality in both means that − c 2 -c^2 − c 2 and − a 2 -a^2 − a 2 are roots of P P P , which by the values of P ( − c 2 ) P(-c^2) P ( − c 2 ) and P ( − a 2 ) P(-a^2) P ( − a 2 ) forces O 3 = O 1 = 0 O_3=O_1=0 O 3 = O 1 = 0 : O O O is on the middle axis. Conversely, for O = ( 0 , O 2 , 0 ) O=(0,O_2,0) O = ( 0 , O 2 , 0 ) outside, P = ( a 2 + λ ) ( c 2 + λ ) ( b 2 + λ − O 2 2 ) P=(a^2+\lambda)(c^2+\lambda)(b^2+\lambda-O_2^2) P = ( a 2 + λ ) ( c 2 + λ ) ( b 2 + λ − O 2 2 ) , so λ 2 = − c 2 \lambda_2=-c^2 λ 2 = − c 2 and λ 3 = − a 2 \lambda_3=-a^2 λ 3 = − a 2 ; such O O O are the points with ∣ O 2 ∣ > b |O_2|>b ∣ O 2 ∣ > b , so the bound is attained.
At fixed f f f , an outline with κ = a / c \kappa=a/c κ = a / c is a boundary point of the set of conics with κ ≤ a / c \kappa\le a/c κ ≤ a / c . Adding a small positive multiple of K f − 1 v + v + T K f − 1 K_f^{-1}v_+v_+^{\mathsf T}K_f^{-1} K f − 1 v + v + T K f − 1 to C C C , with v + v_+ v + a unit eigenvector of μ + \mu_+ μ + , adds the same multiple of v + v + T v_+v_+^{\mathsf T} v + v + T to Q f Q_f Q f and raises μ + \mu_+ μ + alone, and the perturbed conic is still a real ellipse (A E A_E A E stays positive definite and det C \det C det C keeps its sign). So arbitrarily close to such an outline there are real ellipses that are not outlines at this f f f , and the outline is not an interior point of the image. The image map is smooth on the open set of placements (§ 3 ), and by the submersion theorem it maps every neighborhood of a point where its differential is onto to a neighborhood of the image of that point, so every preimage of such an outline is a critical point of the image map.
For the other extreme, ∣ λ 3 ∣ / ∣ λ 2 ∣ = 1 |\lambda_3|/|\lambda_2|=1 ∣ λ 3 ∣/∣ λ 2 ∣ = 1 with ∣ λ 2 ∣ ≤ b 2 ≤ ∣ λ 3 ∣ |\lambda_2|\le b^2\le|\lambda_3| ∣ λ 2 ∣ ≤ b 2 ≤ ∣ λ 3 ∣ forces λ 2 = λ 3 = − b 2 \lambda_2=\lambda_3=-b^2 λ 2 = λ 3 = − b 2 , a double root of P P P . A root − b 2 -b^2 − b 2 forces O 2 = 0 O_2=0 O 2 = 0 , and then P ( λ ) = ( b 2 + λ ) [ ( a 2 + λ ) ( c 2 + λ ) − O 1 2 ( c 2 + λ ) − O 3 2 ( a 2 + λ ) ] P(\lambda)=(b^2+\lambda)[(a^2+\lambda)(c^2+\lambda)-O_1^2(c^2+\lambda)-O_3^2(a^2+\lambda)] P ( λ ) = ( b 2 + λ ) [( a 2 + λ ) ( c 2 + λ ) − O 1 2 ( c 2 + λ ) − O 3 2 ( a 2 + λ )] ; the bracket vanishes at − b 2 -b^2 − b 2 if and only if O 1 2 / ( a 2 − b 2 ) − O 3 2 / ( b 2 − c 2 ) = 1 O_1^2/(a^2-b^2)-O_3^2/(b^2-c^2)=1 O 1 2 / ( a 2 − b 2 ) − O 3 2 / ( b 2 − c 2 ) = 1 . Conversely, on this hyperbola − b 2 -b^2 − b 2 is a double root, and since λ 1 > 0 \lambda_1>0 λ 1 > 0 it is λ 2 = λ 3 \lambda_2=\lambda_3 λ 2 = λ 3 .
For a prolate spheroid (b = c b=c b = c ), P ( λ ) = ( c 2 + λ ) P ~ ( λ ) P(\lambda)=(c^2+\lambda)\widetilde P(\lambda) P ( λ ) = ( c 2 + λ ) P ( λ ) with P ~ ( λ ) = ( a 2 + λ ) ( c 2 + λ ) − O 1 2 ( c 2 + λ ) − ( O 2 2 + O 3 2 ) ( a 2 + λ ) \widetilde P(\lambda)=(a^2+\lambda)(c^2+\lambda)-O_1^2(c^2+\lambda)-(O_2^2+O_3^2)(a^2+\lambda) P ( λ ) = ( a 2 + λ ) ( c 2 + λ ) − O 1 2 ( c 2 + λ ) − ( O 2 2 + O 3 2 ) ( a 2 + λ ) , so λ 2 = − c 2 \lambda_2=-c^2 λ 2 = − c 2 always and κ 2 = ∣ λ 3 ∣ / c 2 \kappa^2=|\lambda_3|/c^2 κ 2 = ∣ λ 3 ∣/ c 2 , where λ 3 ∈ [ − a 2 , − c 2 ] \lambda_3\in[-a^2,-c^2] λ 3 ∈ [ − a 2 , − c 2 ] is a root of P ~ \widetilde P P . Since P ~ ( − a 2 ) = O 1 2 ( a 2 − c 2 ) \widetilde P(-a^2)=O_1^2(a^2-c^2) P ( − a 2 ) = O 1 2 ( a 2 − c 2 ) and P ~ ( − c 2 ) = − ( O 2 2 + O 3 2 ) ( a 2 − c 2 ) \widetilde{P}(-c^2) = -(O_2^2 + O_3^2)(a^2 - c^2) P ( − c 2 ) = − ( O 2 2 + O 3 2 ) ( a 2 − c 2 ) , κ = a / c \kappa= a/c κ = a / c exactly when O 1 = 0 O_1 = 0 O 1 = 0 , and κ = 1 \kappa= 1 κ = 1 exactly when O 2 = O 3 = 0 O_2 = O_3 = 0 O 2 = O 3 = 0 , outside the spheroid when ∣ O 1 ∣ > a |O_1| > a ∣ O 1 ∣ > a . The oblate case (a = b a = b a = b ) is the same with the roles of − a 2 -a^2 − a 2 and − c 2 -c^2 − c 2 exchanged: λ 3 = − a 2 \lambda_3 = -a^2 λ 3 = − a 2 always, κ 2 = a 2 / ∣ λ 2 ∣ \kappa^2 = a^2/|\lambda_2| κ 2 = a 2 /∣ λ 2 ∣ , κ = a / c \kappa= a/c κ = a / c exactly when O 3 = 0 O_3 = 0 O 3 = 0 , and κ = 1 \kappa= 1 κ = 1 exactly when O 1 = O 2 = 0 O_1 = O_2 = 0 O 1 = O 2 = 0 .
Where the camera can be
Proof of Proposition 7. Put O = ( x , y , z ) O = (x,y,z) O = ( x , y , z ) , z = f > 0 z = f > 0 z = f > 0 , in the frame of E E E .
The cone. The planes tangent to E E E are those with dual coordinates ( n , n 0 ) (n,n_0) ( n , n 0 ) satisfying a E 2 n 1 2 + b E 2 n 2 2 = n 0 2 a_E^2 n_1^2 + b_E^2 n_2^2 = n_0^2 a E 2 n 1 2 + b E 2 n 2 2 = n 0 2 , so E E E is the degenerate dual quadric diag ( D E , − 1 ) \operatorname{diag}(D_E,-1) diag ( D E , − 1 ) , D E = diag ( a E 2 , b E 2 , 0 ) D_E = \operatorname{diag}(a_E^2,b_E^2,0) D E = diag ( a E 2 , b E 2 , 0 ) . As in the proof of Lemma 2 (dual-quadric projection and the matrix determinant lemma, neither of which needs D E D_E D E to be invertible), the cone of rays from O O O through E E E has dual D E − O O T D_E - OO^{\mathsf T} D E − O O T , and
G ( θ ) : = det ( D E − O O T + θ I ) = θ ( a E 2 + θ ) ( b E 2 + θ ) [ 1 − x 2 a E 2 + θ − y 2 b E 2 + θ − z 2 θ ] G(\theta) := \det(D_E - OO^{\mathsf T} + \theta I) = \theta(a_E^2 + \theta)(b_E^2 + \theta)\left[1 - \frac{x^2}{a_E^2 + \theta} - \frac{y^2}{b_E^2 + \theta} - \frac{z^2}{\theta}\right] G ( θ ) := det ( D E − O O T + θ I ) = θ ( a E 2 + θ ) ( b E 2 + θ ) [ 1 − a E 2 + θ x 2 − b E 2 + θ y 2 − θ z 2 ]
has the roots θ i \theta_i θ i . As G ( 0 ) = − a E 2 b E 2 z 2 < 0 G(0) = -a_E^2b_E^2z^2 < 0 G ( 0 ) = − a E 2 b E 2 z 2 < 0 , the dual cone is nonsingular with eigenvalues − θ i -\theta_i − θ i , and the cone has eigenvalues proportional to − 1 / θ i -1/\theta_i − 1/ θ i ; Q f Q_f Q f differs from it by an orthogonal change of coordinates and a positive factor. Weyl interlacing gives the ranges of the θ i \theta_i θ i , as in Lemma 2. The positive pair is proportional to 1 / ∣ θ 2 ∣ ≥ 1 / ∣ θ 3 ∣ 1/|\theta_2| \ge1/|\theta_3| 1/∣ θ 2 ∣ ≥ 1/∣ θ 3 ∣ , so κ 2 = θ 3 / θ 2 \kappa^2 = \theta_3/\theta_2 κ 2 = θ 3 / θ 2 .
The region. Since ∣ θ 3 ∣ ∈ [ b E 2 , a E 2 ] |\theta_3| \in[b_E^2,a_E^2] ∣ θ 3 ∣ ∈ [ b E 2 , a E 2 ] , ∣ θ 3 ∣ ≤ ρ 2 ∣ θ 2 ∣ |\theta_3| \le\rho^2|\theta_2| ∣ θ 3 ∣ ≤ ρ 2 ∣ θ 2 ∣ holds whenever ∣ θ 2 ∣ ≥ a E 2 / ρ 2 |\theta_2| \ge a_E^2/\rho^2 ∣ θ 2 ∣ ≥ a E 2 / ρ 2 and fails whenever ∣ θ 2 ∣ < b E 2 / ρ 2 |\theta_2| < b_E^2/\rho^2 ∣ θ 2 ∣ < b E 2 / ρ 2 ; this gives the two inclusions. On the plane x = 0 x = 0 x = 0 , G ( − a E 2 ) = − x 2 a E 2 ( a E 2 − b E 2 ) G(-a_E^2) = -x^2a_E^2(a_E^2 - b_E^2) G ( − a E 2 ) = − x 2 a E 2 ( a E 2 − b E 2 ) vanishes, so θ 3 = − a E 2 \theta_3 = -a_E^2 θ 3 = − a E 2 , and the region there is the inner set { ∣ θ 2 ∣ ≥ a E 2 / ρ 2 } \{|\theta_2| \ge a_E^2/\rho^2\} { ∣ θ 2 ∣ ≥ a E 2 / ρ 2 } . On the plane y = 0 y = 0 y = 0 , G ( − b E 2 ) = y 2 b E 2 ( a E 2 − b E 2 ) G(-b_E^2) = y^2b_E^2(a_E^2 - b_E^2) G ( − b E 2 ) = y 2 b E 2 ( a E 2 − b E 2 ) vanishes, and the boundary points with θ 3 = − b E 2 \theta_3 = -b_E^2 θ 3 = − b E 2 have θ 2 = − b E 2 / ρ 2 \theta_2 = -b_E^2/\rho^2 θ 2 = − b E 2 / ρ 2 , so they lie on the outer hyperboloid. Along the boundary, θ 2 \theta_2 θ 2 takes every value in [ max ( − b E 2 , − a E 2 / ρ 2 ) , − b E 2 / ρ 2 ] [\max(-b_E^2,-a_E^2/\rho^2),-b_E^2/\rho^2] [ max ( − b E 2 , − a E 2 / ρ 2 ) , − b E 2 / ρ 2 ] , an interval of positive length for ρ > 1 \rho> 1 ρ > 1 , and θ 1 > 0 \theta_1 > 0 θ 1 > 0 is free. So no θ i \theta_i θ i is constant on the boundary, and it is not a confocal quadric.
Circular cones and f → ∞ f \to\infty f → ∞ . κ = 1 \kappa= 1 κ = 1 forces the double root θ 2 = θ 3 = − b E 2 \theta_2 = \theta_3 = -b_E^2 θ 2 = θ 3 = − b E 2 . As in the proof of Proposition 6 with ( a , b , c ) (a,b,c) ( a , b , c ) replaced by ( a E , b E , 0 ) (a_E,b_E,0) ( a E , b E , 0 ) , this means y = 0 y = 0 y = 0 and x 2 / ( a E 2 − b E 2 ) − z 2 / b E 2 = 1 x^2/(a_E^2 - b_E^2) - z^2/b_E^2 = 1 x 2 / ( a E 2 − b E 2 ) − z 2 / b E 2 = 1 , the focal hyperbola of E E E . As z → ∞ z \to\infty z → ∞ ,
G ( θ ) / z 2 → − ( a E 2 + θ ) ( b E 2 + θ ) , G(\theta)/z^2 \to-(a_E^2 + \theta)(b_E^2 + \theta), G ( θ ) / z 2 → − ( a E 2 + θ ) ( b E 2 + θ ) ,
so the two negative roots tend to − b E 2 -b_E^2 − b E 2 and − a E 2 -a_E^2 − a E 2 . On the plane y = 0 y = 0 y = 0 , − b E 2 -b_E^2 − b E 2 is a root, and the other negative root is the hyperbola label θ \theta θ ; the formula for κ 2 \kappa^2 κ 2 after the proposition follows from the two orderings of θ \theta θ and − b E 2 -b_E^2 − b E 2 .
Unknown focal length
Proof of Proposition 8. The first claim is Theorem 3(i) and the definition of an infimum. By Theorem 3 with a = c a = c a = c , κ ( f ) = 1 \kappa(f) = 1 κ ( f ) = 1 exactly when E E E is a sphere outline at f f f . In the notation above,
Q f = ( f 2 A E f β E f β E T γ E ) Q_f=\begin{pmatrix} f^2 A_E & f\beta_E \\ f\beta_E^{\mathsf T} & \gamma_E \end{pmatrix} Q f = ( f 2 A E f β E T f β E γ E )
As f → ∞ f\to\infty f → ∞ , Q f / f 2 → diag ( A E , 0 ) Q_f/f^2\to\operatorname{diag}(A_E,0) Q f / f 2 → diag ( A E , 0 ) , whose positive eigenvalues are α 1 , α 2 \alpha_1,\alpha_2 α 1 , α 2 , so κ → a E / b E \kappa\to a_E/b_E κ → a E / b E . As f → 0 f\to0 f → 0 there are three cases. If γ E > 0 \gamma_E>0 γ E > 0 (p p p outside E E E ), one eigenvalue tends to γ E \gamma_E γ E and the other two are f 2 f^2 f 2 times the eigenvalues of S S S plus o ( f 2 ) o(f^2) o ( f 2 ) ; since det C = γ E det S < 0 \det C=\gamma_E\det S<0 det C = γ E det S < 0 , S S S has one positive eigenvalue, so the positive pair is γ E \gamma_E γ E and O ( f 2 ) O(f^2) O ( f 2 ) , and κ → ∞ \kappa\to\infty κ → ∞ . If γ E = 0 \gamma_E=0 γ E = 0 (p p p on E E E ), then β E ≠ 0 \beta_E\ne0 β E = 0 (because det C = − β E T adj ( A E ) β E < 0 \det C=-\beta_E^{\mathsf T}\operatorname{adj}(A_E)\beta_E<0 det C = − β E T adj ( A E ) β E < 0 ), and Q f Q_f Q f has eigenvalues ± f ∣ β E ∣ + O ( f 2 ) \pm f\lvert\beta_E\rvert+O(f^2) ± f ∣ β E ∣ + O ( f 2 ) and a third eigenvalue − f 2 det C / ∣ β E ∣ 2 + o ( f 2 ) > 0 -f^2\det C/\lvert\beta_E\rvert^2+o(f^2)>0 − f 2 det C / ∣ β E ∣ 2 + o ( f 2 ) > 0 , from det Q f = f 4 det C \det Q_f=f^4\det C det Q f = f 4 det C ; so again κ → ∞ \kappa\to\infty κ → ∞ . If γ E < 0 \gamma_E<0 γ E < 0 (p p p inside E E E ), S = A E + β E β E T / ∣ γ E ∣ S=A_E+\beta_E\beta_E^{\mathsf T}/\lvert\gamma_E\rvert S = A E + β E β E T / ∣ γ E ∣ is positive definite, the positive pair is f 2 f^2 f 2 times its eigenvalues plus o ( f 2 ) o(f^2) o ( f 2 ) , and κ → κ 0 = s + / s − \kappa\to\kappa_0=\sqrt{s_+/s_-} κ → κ 0 = s + / s − .
Finally, since κ \kappa κ is continuous on ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) with limits at both ends, an unattained infimum equals one of the end limits; so κ min = 1 \kappa_{\min}=1 κ m i n = 1 without attainment needs κ → 1 \kappa\to1 κ → 1 at an end. As f → ∞ f\to\infty f → ∞ this happens exactly when E E E is a circle, and then not centered at p p p , since otherwise κ ≡ 1 \kappa\equiv1 κ ≡ 1 ; conversely such a circle is never a sphere outline (Remark 4), so κ > 1 \kappa>1 κ > 1 for all f f f . As f → 0 f\to0 f → 0 it needs p p p inside E E E and S = s I S=sI S = s I for some s > 0 s>0 s > 0 , that is, C = s diag ( 1 , 1 , 0 ) − ℓ ℓ T C=s\operatorname{diag}(1,1,0)-\ell\ell^{\mathsf T} C = s diag ( 1 , 1 , 0 ) − ℓ ℓ T with ℓ = ( β E , γ E ) / ∣ γ E ∣ \ell=(\beta_E,\gamma_E)/\sqrt{\lvert\gamma_E\rvert} ℓ = ( β E , γ E ) / ∣ γ E ∣ . In pixel coordinates ( u , v ) (u,v) ( u , v ) centered at p p p , the conic is then s ( u 2 + v 2 ) = ( ℓ 1 u + ℓ 2 v + ℓ 3 ) 2 s(u^2+v^2)=(\ell_1u+\ell_2v+\ell_3)^2 s ( u 2 + v 2 ) = ( ℓ 1 u + ℓ 2 v + ℓ 3 ) 2 , the focus–directrix equation with focus p p p , so p p p is a focus of E E E (or the center, if E E E is a circle centered at p p p ). Conversely, if p p p is a focus of a noncircular E E E , then d E = e E d_E=e_E d E = e E , so κ > 1 \kappa>1 κ > 1 for every f > 0 f>0 f > 0 by Remark 4; the focus–directrix equation gives C = s diag ( 1 , 1 , 0 ) − ℓ ℓ T C=s\operatorname{diag}(1,1,0)-\ell\ell^{\mathsf T} C = s diag ( 1 , 1 , 0 ) − ℓ ℓ T with ℓ 3 ≠ 0 \ell_3\ne0 ℓ 3 = 0 , so γ E = − ℓ 3 2 < 0 \gamma_E=-\ell_3^2<0 γ E = − ℓ 3 2 < 0 and S = s I S=sI S = s I , that is, κ → κ 0 = 1 \kappa\to\kappa_0=1 κ → κ 0 = 1 as f → 0 f\to0 f → 0 .
Sketch of the proof of Theorem 9 (i). The smaller root u = ν − u=\nu_- u = ν − parametrizes f f f monotonically (Steps 1–2); each crossing κ 2 = k \kappa^2=k κ 2 = k is a root in J = ( α 1 , r ) J=(\alpha_1,r) J = ( α 1 , r ) of a quartic R k R_k R k (Step 3); sign changes of R k R_k R k (Table 4 ) force two or three roots outside J J J (Step 4), leaving too few in J J J for a disconnected sublevel set (Step 5); degenerate positions follow by perturbation (Step 6).
Table 4. Signs of the quartic R k R_k R k (Step 4) and the roots they force outside J = ( α 1 , r ) J=(\alpha_1,r) J = ( α 1 , r ) . Here 0 < α 1 / k < α 1 < r < α 2 0<\alpha_1/k<\alpha_1<r<\alpha_2 0 < α 1 / k < α 1 < r < α 2 and κ ∞ 2 = α 2 / α 1 \kappa_\infty^2=\alpha_2/\alpha_1 κ ∞ 2 = α 2 / α 1 . And, in both cases, one more in ( α 1 / k , α 1 ) (\alpha_1/k,\alpha_1) ( α 1 / k , α 1 ) when k > κ ∞ 2 k>\kappa_\infty^2 k > κ ∞ 2 .
Proof of Theorem 9 (i). Step 1 (reduction). With N t = diag ( 1 , 1 , t ) N_t=\operatorname{diag}(1,1,t) N t = diag ( 1 , 1 , t ) , Q f − ν I = K f ( C − ( ν / t ) N t ) K f Q_f-\nu I=K_f(C-(\nu/t)N_t)K_f Q f − ν I = K f ( C − ( ν / t ) N t ) K f , so the eigenvalues of Q f Q_f Q f are t t t times the roots of det ( C − ν N t ) = π ( ν ) − t w q ( ν ) \det(C-\nu N_t)=\pi(\nu)-twq(\nu) det ( C − ν N t ) = π ( ν ) − tw q ( ν ) , and k ( f ) 2 k(f)^2 k ( f ) 2 is the ratio of the two positive roots of this cubic. A root ν \nu ν with q ( ν ) ≠ 0 q(\nu)\ne0 q ( ν ) = 0 satisfies h ( ν ) = t h(\nu)=t h ( ν ) = t ; we call t t t its height.
Step 2 (the smaller root parametrizes f f f ). Assume first that p p p is off-axis and not on E E E ; the remaining cases are treated in Step 6. Cauchy interlacing of Q f Q_f Q f with its block t A E tA_E t A E gives − μ 0 ≤ t α 1 ≤ μ − ≤ t α 2 ≤ μ + -\mu_0 \le t\alpha_1 \le\mu_- \le t\alpha_2 \le\mu_+ − μ 0 ≤ t α 1 ≤ μ − ≤ t α 2 ≤ μ + ; dividing by t t t , the two positive roots satisfy α 1 < ν − < α 2 < ν + \alpha_1 < \nu_- < \alpha_2 < \nu_+ α 1 < ν − < α 2 < ν + , strictly, since α i \alpha_i α i is a root of π ( ν ) − t ν q ( ν ) \pi(\nu)-t\nu q(\nu) π ( ν ) − t ν q ( ν ) only if π ( α i ) = 0 \pi(\alpha_i)=0 π ( α i ) = 0 , that is, β i = 0 \beta_i=0 β i = 0 . The simple root ν − ( t ) \nu_-(t) ν − ( t ) is continuous in t t t and injective, since h ( ν − ( t ) ) = t h(\nu_-(t))=t h ( ν − ( t )) = t , hence strictly monotone. As t → ∞ t\to\infty t → ∞ , Q f / t Q_f/t Q f / t tends to diag ( A E , 0 ) \operatorname{diag}(A_E,0) diag ( A E , 0 ) , so ν − → α 1 \nu_-\to\alpha_1 ν − → α 1 ; as t → 0 t\to0 t → 0 , the equation reduces to π ( ν ) = 0 \pi(\nu)=0 π ( ν ) = 0 , so ν − → r \nu_-\to r ν − → r . Hence u = ν − u=\nu_- u = ν − is a decreasing bijection from ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) onto J = ( α 1 , r ) J=(\alpha_1,r) J = ( α 1 , r ) , with inverse h h h .
Step 3 (the level equation). For each t t t the cubic det ( C − ν N t ) \det(C-\nu N_t) det ( C − ν N t ) has the two positive roots ν − , ν + \nu_-,\nu_+ ν − , ν + and one negative root. So for k > 1 k>1 k > 1 , κ 2 = k \kappa^2=k κ 2 = k only if k u ku k u is the other positive root at the same height, that is, only if h ( k u ) = h ( u ) h(ku)=h(u) h ( k u ) = h ( u ) . Since
h ( k u ) − h ( u ) = ( k − 1 ) R k ( u ) k u q ( u ) q ( k u ) , R k ( u ) = k π ( u ) q ( k u ) − π ( k u ) q ( u ) 1 − k , h(ku)-h(u)=\frac{(k-1)R_k(u)}{kuq(u)q(ku)},\qquad R_k(u)=\frac{k\pi(u)q(ku)-\pi(ku)q(u)}{1-k}, h ( k u ) − h ( u ) = k u q ( u ) q ( k u ) ( k − 1 ) R k ( u ) , R k ( u ) = 1 − k k π ( u ) q ( k u ) − π ( k u ) q ( u ) ,
this means R k ( u ) = 0 R_k(u)=0 R k ( u ) = 0 : clearing denominators is legitimate, since u q ( u ) ≠ 0 u\,q(u)\ne0 u q ( u ) = 0 on J J J and q ( k u ) ≠ 0 q(ku)\ne0 q ( k u ) = 0 for k u = ν + > α 2 ku=\nu_+>\alpha_2 k u = ν + > α 2 . So for k > 1 k>1 k > 1 , every u ∈ J u\in J u ∈ J with κ 2 ( u ) = k \kappa^2(u)=k κ 2 ( u ) = k is a root of the quartic R k R_k R k , and distinct such u u u are distinct roots.
Step 4 (roots off J J J ). The leading coefficient of R k R_k R k is − γ E k 2 -\gamma_Ek^2 − γ E k 2 , and R k ( 0 ) = − α 1 α 2 det C > 0 R_k(0)=-\alpha_1\alpha_2\det C>0 R k ( 0 ) = − α 1 α 2 det C > 0 (so R k ≢ 0 R_k\not\equiv0 R k ≡ 0 ), R k ( α 1 / k ) = π ( α 1 ) q ( α 1 / k ) / ( k − 1 ) < 0 R_k(\alpha_1/k)=\pi(\alpha_1)q(\alpha_1/k)/(k-1)<0 R k ( α 1 / k ) = π ( α 1 ) q ( α 1 / k ) / ( k − 1 ) < 0 , R k ( α 1 ) = − k α 1 π ( α 1 ) ( k α 1 − α 2 ) R_k(\alpha_1)=-k\alpha_1\pi(\alpha_1)(k\alpha_1-\alpha_2) R k ( α 1 ) = − k α 1 π ( α 1 ) ( k α 1 − α 2 ) , of the sign of k − κ ∞ 2 k-\kappa_\infty^2 k − κ ∞ 2 , and R k ( α 2 ) = k π ( α 2 ) q ( k α 2 ) / ( 1 − k ) < 0 R_k(\alpha_2)=k\pi(\alpha_2)q(k\alpha_2)/(1-k)<0 R k ( α 2 ) = k π ( α 2 ) q ( k α 2 ) / ( 1 − k ) < 0 , since q ( α 1 / k ) > 0 q(\alpha_1/k)>0 q ( α 1 / k ) > 0 and q ( k α 2 ) > 0 q(k\alpha_2)>0 q ( k α 2 ) > 0 . Since R k → − ∞ R_k\to-\infty R k → − ∞ at both ends if p p p lies outside E E E and R k → + ∞ R_k\to+\infty R k → + ∞ if p p p lies inside, these signs force the roots listed in Table 4 : each is a root of odd multiplicity in an interval at whose ends R k R_k R k has opposite signs, the intervals are pairwise disjoint, and none meets J J J . A quartic has four roots counted with multiplicity, so J J J carries at most two roots of R k R_k R k , counted with multiplicity, when k < κ ∞ 2 k<\kappa_\infty^2 k < κ ∞ 2 , and at most one when k > κ ∞ 2 k>\kappa_\infty^2 k > κ ∞ 2 .
Step 5 (sublevel sets). For k > 1 k>1 k > 1 let g k ( u ) = κ 2 ( u ) − k g_k(u)=\kappa^2(u)-k g k ( u ) = κ 2 ( u ) − k on J J J ; by Step 3, distinct zeros of g k g_k g k are distinct roots of R k R_k R k . As u → α 1 u\to\alpha_1 u → α 1 (f → ∞ f\to\infty f → ∞ ), κ 2 → κ ∞ 2 \kappa^2\to\kappa_\infty^2 κ 2 → κ ∞ 2 (Proposition 8). Suppose that for some k ≥ 1 k\ge1 k ≥ 1 the set { κ 2 ≤ k } \{\kappa^2\le k\} { κ 2 ≤ k } is disconnected: there are u 1 < u 2 < u 3 u_1<u_2<u_3 u 1 < u 2 < u 3 in J J J with κ 2 ( u 1 ) , κ 2 ( u 3 ) ≤ k < κ 2 ( u 2 ) \kappa^2(u_1),\kappa^2(u_3)\le k<\kappa^2(u_2) κ 2 ( u 1 ) , κ 2 ( u 3 ) ≤ k < κ 2 ( u 2 ) . Choose k ′ ∈ ( k , κ 2 ( u 2 ) ) k'\in(k,\kappa^2(u_2)) k ′ ∈ ( k , κ 2 ( u 2 )) with k ′ ≠ κ ∞ 2 k'\ne\kappa_\infty^2 k ′ = κ ∞ 2 . By the intermediate value theorem, g k ′ g_{k'} g k ′ has a zero in ( u 1 , u 2 ) (u_1,u_2) ( u 1 , u 2 ) and one in ( u 2 , u 3 ) (u_2,u_3) ( u 2 , u 3 ) . If k ′ < κ ∞ 2 k'<\kappa_\infty^2 k ′ < κ ∞ 2 , it has a third zero in ( α 1 , u 1 ) (\alpha_1,u_1) ( α 1 , u 1 ) , since g k ′ → κ ∞ 2 − k ′ > 0 g_{k'}\to\kappa_\infty^2-k'>0 g k ′ → κ ∞ 2 − k ′ > 0 as u → α 1 u\to\alpha_1 u → α 1 . So R k ′ R_{k'} R k ′ has at least three distinct roots in J J J if k ′ < κ ∞ 2 k'<\kappa_\infty^2 k ′ < κ ∞ 2 and at least two if k ′ > κ ∞ 2 k'>\kappa_\infty^2 k ′ > κ ∞ 2 , contradicting Step 4. Hence { κ 2 ≤ k } \{\kappa^2\le k\} { κ 2 ≤ k } is an interval of J J J for every k ≥ 1 k\ge1 k ≥ 1 , and, as u ↦ f u\mapsto f u ↦ f is monotone, I ( k ) I(\sqrt{k}) I ( k ) is an interval.
Step 6 (circles and degenerate positions of p p p ). If E E E is a circle or p p p lies on an axis line of E E E , the parametrization of Step 2 degenerates; if p p p lies on E E E , R k R_k R k drops to a cubic and Table 4 changes. In all these cases we argue by perturbation. Suppose I ( k ) I(\sqrt{k}) I ( k ) were not an interval: there are f 1 < f 2 < f 3 f_1<f_2<f_3 f 1 < f 2 < f 3 with κ 2 ( f 1 ) , κ 2 ( f 3 ) ≤ k < κ 2 ( f 2 ) \kappa^2(f_1),\kappa^2(f_3)\le k<\kappa^2(f_2) κ 2 ( f 1 ) , κ 2 ( f 3 ) ≤ k < κ 2 ( f 2 ) . Choose k ′ ∈ ( k , κ 2 ( f 2 ) ) k'\in(k,\kappa^2(f_2)) k ′ ∈ ( k , κ 2 ( f 2 )) , so that κ 2 ( f 1 ) , κ 2 ( f 3 ) < k ′ < κ 2 ( f 2 ) \kappa^2(f_1),\kappa^2(f_3)<k'<\kappa^2(f_2) κ 2 ( f 1 ) , κ 2 ( f 3 ) < k ′ < κ 2 ( f 2 ) . For fixed f f f , Q f Q_f Q f and hence κ 2 \kappa^2 κ 2 depend continuously on C C C , written in coordinates centered at p p p (so moving p p p changes β E \beta_E β E and γ E \gamma_E γ E ), as long as A E ≠ 0 A_E\ne0 A E = 0 and det C < 0 \det C<0 det C < 0 . So these strict inequalities persist for every nearby pair $(E',p') of an ellipse and a principal point, in particular for a noncircular E ′ E' E ′ and a point p ′ p' p ′ off E ′ E' E ′ that is off-axis for E ′ E' E ′ . For that pair, Steps 1–5 show that I ( k ′ ) I(\sqrt{k'}) I ( k ′ ) is an interval, a contradiction.
Proof of Theorem 9 (ii). Generic p p p . Suppose first that p p p is off-axis and not on E E E , and use the notation of the proof of Theorem 9 (i). Since ν − \nu_- ν − is a simple root, h ′ ( u ) d ν − / d t = 1 h'(u)\,d\nu_-/dt=1 h ′ ( u ) d ν − / d t = 1 . So h ′ ≠ 0 h'\ne0 h ′ = 0 on J J J , u = ν − u=\nu_- u = ν − parametrizes f f f diffeomorphically, and critical points in f f f and in u u u coincide. Off the axis lines, O O O is never on the focal hyperbola, so κ 2 > 1 \kappa^2>1 κ 2 > 1 is a smooth function of u u u . Write R ( k , u ) = R k ( u ) R(k,u)=R_k(u) R ( k , u ) = R k ( u ) , a polynomial in ( k , u ) (k,u) ( k , u ) of degree exactly 4 in u u u , since its leading coefficient − γ E k 2 -\gamma Ek^2 − γ E k 2 is nonzero for p ∉ E p\notin E p ∈ / E . By Step 3, R ( κ 2 ( u ) , u ) = 0 R(\kappa^2(u),u)=0 R ( κ 2 ( u ) , u ) = 0 on J J J . Differentiating, ∂ k R ⋅ ( κ 2 ) ′ + ∂ u R = 0 \partial_kR\cdot(\kappa^2)' + \partial_uR=0 ∂ k R ⋅ ( κ 2 ) ′ + ∂ u R = 0 , so at a critical point u 0 u_0 u 0 , with k 0 = κ 2 ( u 0 ) k_0=\kappa^2(u_0) k 0 = κ 2 ( u 0 ) , u 0 u_0 u 0 is a root of R k 0 R_{k_0} R k 0 of multiplicity at least 2.
Besides the signs in Table 4 , we need R k ( r ) = π ( k r ) q ( r ) / ( k − 1 ) R_k(r)=\pi(kr)q(r)/(k-1) R k ( r ) = π ( k r ) q ( r ) / ( k − 1 ) , where q ( r ) < 0 q(r)<0 q ( r ) < 0 . If p p p is outside E E E , the other root of π \pi π is negative, so π ( k r ) > 0 \pi(kr)>0 π ( k r ) > 0 and R k ( r ) < 0 R_k(r)<0 R k ( r ) < 0 . If p p p is inside E E E , π \pi π is positive exactly between r r r and r 2 r_2 r 2 , so R k ( r ) R_k(r) R k ( r ) has the sign of k − κ 0 2 k-\kappa_0^2 k − κ 0 2 , where κ 0 2 = r 2 / r \kappa_0^2=r_2/r κ 0 2 = r 2 / r . Recall also that R k ( α 1 ) R_k(\alpha_1) R k ( α 1 ) has the sign of k − κ ∞ 2 k-\kappa_\infty^2 k − κ ∞ 2 , where κ ∞ 2 = α 2 / α 1 \kappa_\infty^2=\alpha_2/\alpha_1 κ ∞ 2 = α 2 / α 1 is the limit of κ 2 \kappa^2 κ 2 at the end u = α 1 u=\alpha_1 u = α 1 .
Count the roots of R k 0 R_{k_0} R k 0 with multiplicity. Each root below is forced in an interval at whose ends R k 0 R_{k_0} R k 0 has opposite signs or vanishes, and these intervals are pairwise disjoint and do not contain u 0 u_0 u 0 , so the roots are distinct. Besides the double root u 0 u_0 u 0 , Table 4 forces two roots outside J J J : in ( − ∞ , 0 ) (-\infty,0) ( − ∞ , 0 ) and ( 0 , α 1 / k 0 ) (0,\alpha_1/k_0) ( 0 , α 1 / k 0 ) for p p p outside E E E , and in ( 0 , α 1 / k 0 ) (0,\alpha_1/k_0) ( 0 , α 1 / k 0 ) and ( α 2 , ∞ ) (\alpha_2,\infty) ( α 2 , ∞ ) for p p p inside. One more root is forced, in a set disjoint from these and from J J J , in each of the following cases: if k 0 ≥ κ ∞ 2 k_0\ge\kappa_\infty^2 k 0 ≥ κ ∞ 2 , a root in ( α 1 / k 0 , α 1 ] (\alpha_1/k_0,\alpha_1] ( α 1 / k 0 , α 1 ] , since R k 0 ( α 1 / k 0 ) < 0 ≤ R k 0 ( α 1 ) R_{k_0}(\alpha_1/k_0)<0\le R_{k_0}(\alpha_1) R k 0 ( α 1 / k 0 ) < 0 ≤ R k 0 ( α 1 ) ; if p p p is inside E E E and k 0 ≥ κ 0 2 k_0\ge\kappa_0^2 k 0 ≥ κ 0 2 , a root in [ r , α 2 ) [r,\alpha_2) [ r , α 2 ) , since R k 0 ( r ) ≥ 0 > R k 0 ( α 2 ) R_{k_0}(r)\ge0>R_{k_0}(\alpha_2) R k 0 ( r ) ≥ 0 > R k 0 ( α 2 ) . Otherwise both end limits of κ 2 \kappa^2 κ 2 exceed k 0 k_0 k 0 ; if u 0 u_0 u 0 were not a global minimizer, there would be u ˉ \bar{u} u ˉ with κ 2 ( u ˉ ) < k 0 \kappa^2(\bar{u})<k_0 κ 2 ( u ˉ ) < k 0 , and the level k 0 k_0 k 0 would be crossed again between u ˉ \bar{u} u ˉ and the end of J J J away from u 0 u_0 u 0 , giving a further root in J J J . In each case R k 0 R_{k_0} R k 0 would have at least 5 roots, more than its degree 4. So every critical point is a global minimizer, at a level below κ ∞ \kappa_\infty κ ∞ and, for p p p inside E E E , below κ 0 \kappa_0 κ 0 .
Finally, suppose that κ \kappa κ had two critical points. Both would be global minimizers. Since the set of minimizers of the quasiconvex κ \kappa κ is an interval, κ \kappa κ would be constant on a nondegenerate interval, and hence, being real-analytic (its positive eigenvalues are simple), on all of ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) . Its end limits would then equal its critical value, which we have excluded. So κ \kappa κ has at most one critical point, and away from it κ ′ ≠ 0 \kappa'\ne0 κ ′ = 0 , which gives the monotonicity.
p p p on E E E , off-axis. Then γ E = 0 \gamma_E=0 γ E = 0 , and π ( ν ) = ( β 1 2 + β 2 2 ) ν − ( β 1 2 α 2 + β 2 2 α 1 ) \pi(\nu)=(\beta_1^2+\beta_2^2)\nu-(\beta_1^2\alpha_2+\beta_2^2\alpha_1) π ( ν ) = ( β 1 2 + β 2 2 ) ν − ( β 1 2 α 2 + β 2 2 α 1 ) is linear and increasing, with its root r r r in ( α 1 , α 2 ) (\alpha_1,\alpha_2) ( α 1 , α 2 ) . Steps 1–3 of the proof of Theorem 9 (i) still apply. In Step 2, two roots now escape like ± ∣ β E ∣ / t \pm|\beta_E|/\sqrt{t} ± ∣ β E ∣/ t , so still ν − → γ \nu_-\to\gamma ν − → γ , and κ → ∞ \kappa\to\infty κ → ∞ as u → γ u\to\gamma u → γ by Proposition 8. Now R k R_k R k is a cubic with leading coefficient − ( β 1 2 + β 2 2 ) k / ( k + 1 ) < 0 -(\beta_1^2+\beta_2^2)k/(k+1)<0 − ( β 1 2 + β 2 2 ) k / ( k + 1 ) < 0 . Its signs at 0, α 1 / k \alpha_1/k α 1 / k , α 1 \alpha_1 α 1 and α 2 \alpha_2 α 2 are as before, and R k ( r ) = π ( k r ) q ( r ) / ( k − 1 ) < 0 R_k(r)=\pi(kr)q(r)/(k-1)<0 R k ( r ) = π ( k r ) q ( r ) / ( k − 1 ) < 0 , since π \pi π is linear and increasing with root r r r and k r > r kr>r k r > r , so π ( k r ) > 0 \pi(kr)>0 π ( k r ) > 0 , while q ( r ) < 0 q(r)<0 q ( r ) < 0 for α 1 < r < α 2 \alpha_1<r<\alpha_2 α 1 < r < α 2 . Now only the root in ( 0 , α 1 / k 0 ) (0,\alpha_1/k_0) ( 0 , α 1 / k 0 ) is forced in general, and the same count gives at least 4 roots of the cubic in each case; the rest of the argument is unchanged.
p p p on an axis line of E E E , or E E E a circle. Choose the eigenbasis of A E A_E A E so that the center of E E E lies on the line through p p p in direction e 1 e_1 e 1 . For a circle every orthonormal basis is an eigenbasis; for p p p on the short axis line, exchange the indices 1 and 2 below. Then β E = ( β 1 , 0 ) \beta_E=(\beta_1,0) β E = ( β 1 , 0 ) with β 1 ≠ 0 \beta_1\ne0 β 1 = 0 , since p p p is not the center, and Q f Q_f Q f splits: e 2 e_2 e 2 is an eigenvector with eigenvalue f 2 α 2 f^2\alpha_2 f 2 α 2 , and the other two eigenvalues are those of ( f 2 α 1 f β 1 f β 1 γ E ) \begin{pmatrix} f^2\alpha_1 & f\beta_1 \\ f\beta_1 & \gamma_E \end{pmatrix} ( f 2 α 1 f β 1 f β 1 γ E ) , whose determinant is f 2 Δ f^2\Delta f 2 Δ with Δ = α 1 γ E − β 1 2 = det C / α 2 < 0 \Delta=\alpha_1\gamma_E-\beta_1^2=\det C/\alpha_2<0 Δ = α 1 γ E − β 1 2 = det C / α 2 < 0 . With ξ = 1 / f 2 \xi=1/f^2 ξ = 1/ f 2 , the positive one is f 2 ν ( ξ ) f^2\nu(\xi) f 2 ν ( ξ ) , where ν ( ξ ) \nu(\xi) ν ( ξ ) is the simple positive root of Φ ( ν , ξ ) = ν 2 − ( α 1 + γ E ξ ) ν + ξ Δ \Phi(\nu,\xi)=\nu^2-(\alpha_1+\gamma_E\xi)\nu+\xi\Delta Φ ( ν , ξ ) = ν 2 − ( α 1 + γ E ξ ) ν + ξ Δ . If ν ′ ( ξ ) = 0 \nu'(\xi)=0 ν ′ ( ξ ) = 0 , then ∂ Φ / ∂ ξ = Δ − γ E ν = 0 \partial\Phi/\partial\xi=\Delta-\gamma_E\nu=0 ∂ Φ/ ∂ ξ = Δ − γ E ν = 0 . This is impossible if γ E = 0 \gamma_E=0 γ E = 0 ; otherwise ν = Δ / γ E \nu=\Delta/\gamma_E ν = Δ/ γ E and Φ ( Δ / γ E , ξ ) = ( Δ / γ E ) ( Δ / γ E − α 1 ) = − Δ β 1 2 / γ E 2 ≠ 0 \Phi(\Delta/\gamma_E,\xi)=(\Delta/\gamma_E)(\Delta/\gamma_E-\alpha_1)=-\Delta\beta_1^2/\gamma_E^2\ne0 Φ ( Δ/ γ E , ξ ) = ( Δ/ γ E ) ( Δ/ γ E − α 1 ) = − Δ β 1 2 / γ E 2 = 0 , a contradiction. So ν \nu ν is strictly monotone in f f f , and κ 2 = max ( ν / α 2 , α 2 / ν ) \kappa^2=\max(\nu/\alpha_2,\alpha_2/\nu) κ 2 = max ( ν / α 2 , α 2 / ν ) . Hence κ \kappa κ has no critical point, and it has a corner exactly where ν = α 2 \nu=\alpha_2 ν = α 2 , that is, κ = 1 \kappa=1 κ = 1 . This happens only for a sphere outline (Remark 4), and a circle not centered at p p p is never one: for a circle α 1 = α 2 \alpha_1=\alpha_2 α 1 = α 2 , and Φ ( α 1 , ξ ) = − ξ β 1 2 ≠ 0 \Phi(\alpha_1,\xi)=-\xi\beta_1^2\ne0 Φ ( α 1 , ξ ) = − ξ β 1 2 = 0 , so ν ≠ α 2 \nu\ne\alpha_2 ν = α 2 . (Solving Φ ( ν , ξ ) = 0 \Phi(\nu,\xi)=0 Φ ( ν , ξ ) = 0 at ν ∈ { ρ 2 α 2 , α 2 / ρ 2 } \nu\in\{\rho^2\alpha_2,\alpha_2/\rho^2\} ν ∈ { ρ 2 α 2 , α 2 / ρ 2 } , where κ = ρ \kappa=\rho κ = ρ , gives f 2 = 1 / ξ = ( γ E ν − Δ ) / ( ν ( ν − α 1 ) ) f^2=1/\xi=(\gamma_E\nu-\Delta)/(\nu(\nu-\alpha_1)) f 2 = 1/ ξ = ( γ E ν − Δ ) / ( ν ( ν − α 1 )) , the axis formula of Algorithm 1.)
Proof of Theorem 9(iii). By Theorem 9 (ii), and since E E E is not a sphere outline from an off-axis p p p (Remark 4), κ \kappa κ is either strictly monotone or strictly decreasing and then strictly increasing. So κ min \kappa_{\min} κ m i n is attained exactly when κ < κ ∞ \kappa<\kappa_\infty κ < κ ∞ for all large f f f and κ < lim f → 0 κ \kappa<\lim_{f\to0}\kappa κ < lim f → 0 κ for all small f f f . For large f f f this means ∣ x ∣ > ∣ y ∣ |x|>|y| ∣ x ∣ > ∣ y ∣ , by Proposition 10 . For small f f f it is automatic for p p p outside or on E E E , where κ → ∞ \kappa\to\infty κ → ∞ (Proposition 8). For p p p inside E E E , the expansion below gives κ < κ 0 \kappa<\kappa_0 κ < κ 0 for small f f f if β + 2 > β − 2 \beta_+^2>\beta_-^2 β + 2 > β − 2 and κ > κ 0 \kappa>\kappa_0 κ > κ 0 for small f f f if β + 2 < β − 2 \beta_+^2<\beta_-^2 β + 2 < β − 2 ; the case β + 2 = β − 2 \beta_+^2=\beta_-^2 β + 2 = β − 2 , in which κ min \kappa_{\min} κ m i n is not attained, is treated at the end. If κ min \kappa_{\min} κ m i n is not attained, κ \kappa κ has no critical point, so by Theorem 9 (ii) it is strictly monotone and κ min \kappa_{\min} κ m i n is the smaller of its end limits.
Expansion at f = 0 f=0 f = 0 . For p p p inside E E E ,
Q f = ( t A E t β E t β E T γ E ) Q_f=\begin{pmatrix} tA_E & \sqrt{t}\,\beta_E \\ \sqrt{t}\,\beta_E^{\mathsf T} & \gamma_E \end{pmatrix} Q f = ( t A E t β E T t β E γ E )
The two positive eigenvalues are t ν ± t\nu_\pm t ν ± with ν ± → s ± \nu_\pm\to s_\pm ν ± → s ± as t → 0 t\to0 t → 0 (proof of Proposition 8), and s + > s − s_+>s_- s + > s − , since S = s I S=sI S = s I only when p p p is a focus, which lies on an axis line. They make the Schur complement with respect to the last entry singular: ν ± \nu_\pm ν ± is an eigenvalue of A E − β E β E T / ( γ E − t ν ± ) = S − χ 0 ( ν ± ) β E β E T A_E-\beta_E\beta_E^{\mathsf T}/(\gamma_E-t\nu_\pm)=S-\chi_0(\nu_\pm)\beta_E\beta_E^{\mathsf T} A E − β E β E T / ( γ E − t ν ± ) = S − χ 0 ( ν ± ) β E β E T , where χ 0 ( ν ) = 1 / ( γ E − t ν ) − 1 / γ E = t ν / γ E 2 + O ( t 2 ) \chi_0(\nu)=1/(\gamma_E-t\nu)-1/\gamma_E=t\nu/\gamma_E^2+O(t^2) χ 0 ( ν ) = 1/ ( γ E − t ν ) − 1/ γ E = t ν / γ E 2 + O ( t 2 ) ; by the implicit function theorem applied to det ( S − χ 0 ( ν ) β E β E T − ν I ) = 0 \det(S-\chi_0(\nu)\beta_E\beta_E^{\mathsf T}-\nu I)=0 det ( S − χ 0 ( ν ) β E β E T − ν I ) = 0 at the simple roots ( t , ν ) = ( 0 , s ± ) (t,\nu)=(0,s_\pm) ( t , ν ) = ( 0 , s ± ) , ν ± \nu_\pm ν ± are smooth in t t t . First-order perturbation of the simple eigenvalues s ± s_\pm s ± of S S S gives ν ± = s ± − χ 0 ( ν ± ) β ± 2 + O ( t 2 ) \nu_\pm=s_\pm-\chi_0(\nu_\pm)\beta_\pm^2+O(t^2) ν ± = s ± − χ 0 ( ν ± ) β ± 2 + O ( t 2 ) , and χ 0 ( ν ± ) = t s ± / γ E 2 + O ( t 2 ) \chi_0(\nu_\pm)=ts_\pm/\gamma_E^2+O(t^2) χ 0 ( ν ± ) = t s ± / γ E 2 + O ( t 2 ) , so
ν ± = s ± ( 1 − t β ± 2 γ E 2 ) + O ( t 2 ) , \nu_{\pm}=s_{\pm}\left(1-\frac{t\beta_{\pm}^{2}}{\gamma_{E}^{2}}\right)+O(t^{2}), ν ± = s ± ( 1 − γ E 2 t β ± 2 ) + O ( t 2 ) ,
so
κ 2 = ν + ν − = κ 0 2 ( 1 − β + 2 − β − 2 γ E 2 t ) + O ( t 2 ) , κ 0 2 = s + s − . \kappa^{2}=\frac{\nu_{+}}{\nu_{-}}=\kappa_{0}^{2}\left(1-\frac{\beta_{+}^{2}-\beta_{-}^{2}}{\gamma_{E}^{2}}t\right)+O(t^{2}), \qquad\kappa_{0}^{2}=\frac{s_{+}}{s_{-}}. κ 2 = ν − ν + = κ 0 2 ( 1 − γ E 2 β + 2 − β − 2 t ) + O ( t 2 ) , κ 0 2 = s − s + .
the expansion stated after Theorem 9.
The case β + 2 = β − 2 \beta_{+}^{2}=\beta_{-}^{2} β + 2 = β − 2 . The sign of β + 2 − β − 2 \beta_{+}^{2}-\beta_{-}^{2} β + 2 − β − 2 does not depend on the scale of C C C ; normalize C C C as in the proof of Proposition 10, so A E = diag ( 1 / A , 1 / B ) A_{E}=\operatorname{diag}(1/A,1/B) A E = diag ( 1/ A , 1/ B ) , β E = ( x / A , y / B ) \beta_{E}=(x/A,y/B) β E = ( x / A , y / B ) and γ E = x 2 / A + y 2 / B − 1 \gamma_{E}=x^{2}/A+y^{2}/B-1 γ E = x 2 / A + y 2 / B − 1 , with A = a E 2 A=a_{E}^{2} A = a E 2 , B = b E 2 B=b_{E}^{2} B = b E 2 . Since S S S is a symmetric 2 × 2 2\times2 2 × 2 matrix, β + 2 − β − 2 = ( 2 β E T S β E − tr S ∣ β E ∣ 2 ) / ( s + − s − ) \beta_{+}^{2}-\beta_{-}^{2}=(2\beta_{E}^{\mathsf T}S\beta_{E}-\operatorname{tr}S\lvert\beta_{E}\rvert^{2})/(s_{+}-s_{-}) β + 2 − β − 2 = ( 2 β E T S β E − tr S ∣ β E ∣ 2 ) / ( s + − s − ) , and a direct computation gives
β + 2 − β − 2 = N ( x 2 , y 2 ) A 3 B 3 ( 1 − x 2 / A − y 2 / B ) ( s + − s − ) , \beta_{+}^{2}-\beta_{-}^{2}=\frac{N(x^{2},y^{2})}{A^{3}B^{3}(1-x^{2}/A-y^{2}/B)(s_{+}-s_{-})}, β + 2 − β − 2 = A 3 B 3 ( 1 − x 2 / A − y 2 / B ) ( s + − s − ) N ( x 2 , y 2 ) ,
N ( X , Y ) = ( A − B ) ( A 2 Y − B 2 X ) + ( A Y + B X ) 2 − ( A − B ) 2 X Y . N(X,Y)=(A-B)(A^{2}Y-B^{2}X)+(AY+BX)^{2}-(A-B)^{2}XY. N ( X , Y ) = ( A − B ) ( A 2 Y − B 2 X ) + ( A Y + B X ) 2 − ( A − B ) 2 X Y .
The conic N ( X , Y ) = 0 N(X,Y)=0 N ( X , Y ) = 0 is nondegenerate (the determinant of its 3 × 3 3\times3 3 × 3 matrix is − A 3 B 3 ( A − B ) 2 ≠ 0 -A^{3}B^{3}(A-B)^{2}\ne0 − A 3 B 3 ( A − B ) 2 = 0 ), so the gradient of N N N does not vanish on it; as ( x , y ) ↦ ( x 2 , y 2 ) (x,y)\mapsto(x^{2},y^{2}) ( x , y ) ↦ ( x 2 , y 2 ) is a local diffeomorphism off the axes, every off-axis p p p inside E E E with β + 2 = β − 2 \beta_{+}^{2}=\beta_{-}^{2} β + 2 = β − 2 is a limit of off-axis points p ′ p' p ′ inside E E E with β + 2 < β − 2 \beta_{+}^{2}<\beta_{-}^{2} β + 2 < β − 2 . For such p ′ p' p ′ , κ > κ 0 \kappa>\kappa_{0} κ > κ 0 for small f f f , so κ \kappa κ is not decreasing near 0 0 0 . As p ′ p' p ′ is off-axis, E E E is not a sphere outline from it (Remark 4); by Theorem 9(ii), κ \kappa κ therefore has no critical point (a critical point is preceded by a strict decrease) and increases strictly, and κ ( f ; p ′ ) > κ 0 ( p ′ ) \kappa(f;p')>\kappa_{0}(p') κ ( f ; p ′ ) > κ 0 ( p ′ ) for every f f f . Since κ ( f ; ⋅ ) \kappa(f;\cdot) κ ( f ; ⋅ ) and κ 0 \kappa_{0} κ 0 are continuous inside E E E , κ ( f ; p ) ≥ κ 0 ( p ) \kappa(f;p)\ge\kappa_{0}(p) κ ( f ; p ) ≥ κ 0 ( p ) for every f f f . Off the axes κ > 1 \kappa>1 κ > 1 is smooth, so an attained minimum is a critical point and lies below κ 0 \kappa_{0} κ 0 (Theorem 9(ii)); hence κ min \kappa_{\min} κ m i n is not attained.
Proof of Proposition 10. Normalize C C C as in Theorem 15 and write it in the eigenbasis of A E A_{E} A E , so α 1 = 1 / a E 2 < α 2 = 1 / b E 2 \alpha_{1}=1/a_{E}^{2}<\alpha_{2}=1/b_{E}^{2} α 1 = 1/ a E 2 < α 2 = 1/ b E 2 and, with ( x , y ) (x,y) ( x , y ) the position of p p p in the frame of E E E , β E = ( β 1 , β 2 ) = ( α 1 x , α 2 y ) \beta_{E}=(\beta_{1},\beta_{2})=(\alpha_{1}x,\alpha_{2}y) β E = ( β 1 , β 2 ) = ( α 1 x , α 2 y ) and γ E = α 1 x 2 + α 2 y 2 − 1 \gamma_{E}=\alpha_{1}x^{2}+\alpha_{2}y^{2}-1 γ E = α 1 x 2 + α 2 y 2 − 1 . With η = 1 / f \eta=1/f η = 1/ f ,
Q f / f 2 = diag ( α 1 , α 2 , 0 ) + η ( 0 β E β E T 0 ) + η 2 diag ( 0 , 0 , γ E ) . Q_{f}/f^{2}=\operatorname{diag}(\alpha_{1},\alpha_{2},0)+\eta
\begin{pmatrix}
0 & \beta_{E}\\
\beta_{E}^{\mathsf T} & 0
\end{pmatrix}
+\eta^{2}\operatorname{diag}(0,0,\gamma_{E}). Q f / f 2 = diag ( α 1 , α 2 , 0 ) + η ( 0 β E T β E 0 ) + η 2 diag ( 0 , 0 , γ E ) .
The eigenvalues α 1 ≠ α 2 \alpha_{1}\ne\alpha_{2} α 1 = α 2 are simple. Conjugating by diag ( 1 , 1 , − 1 ) \operatorname{diag}(1,1,-1) diag ( 1 , 1 , − 1 ) changes the sign of η \eta η , so the eigenvalues are even functions of η \eta η . Since det ( Q f / f 2 ) = η 2 det C < 0 \det(Q_{f}/f^{2})=\eta^{2}\det C<0 det ( Q f / f 2 ) = η 2 det C < 0 , the eigenvalue near 0 0 0 is negative, so for small η \eta η the two positive eigenvalues μ − / f 2 < μ + / f 2 \mu_{-}/f^{2}<\mu_{+}/f^{2} μ − / f 2 < μ + / f 2 of Q f / f 2 Q_{f}/f^{2} Q f / f 2 are the perturbations of α 1 \alpha_{1} α 1 and α 2 \alpha_{2} α 2 , and κ 2 = μ + / μ − \kappa^{2}=\mu_{+}/\mu_{-} κ 2 = μ + / μ − . Second-order perturbation theory, in which the first-order terms and the coupling between the first two eigenvectors vanish, gives
μ − / f 2 = α 1 + η 2 β 1 2 / α 1 + O ( η 4 ) = α 1 ( 1 + x 2 η 2 ) + O ( η 4 ) , \mu_{-}/f^{2}=\alpha_{1}+\eta^{2}\beta_{1}^{2}/\alpha_{1}+O(\eta^{4})=\alpha_{1}(1+x^{2}\eta^{2})+O(\eta^{4}), μ − / f 2 = α 1 + η 2 β 1 2 / α 1 + O ( η 4 ) = α 1 ( 1 + x 2 η 2 ) + O ( η 4 ) ,
μ + / f 2 = α 2 ( 1 + y 2 η 2 ) + O ( η 4 ) . \mu_{+}/f^{2}=\alpha_{2}(1+y^{2}\eta^{2})+O(\eta^{4}). μ + / f 2 = α 2 ( 1 + y 2 η 2 ) + O ( η 4 ) .
Dividing gives the expansion.
In case (i), κ < κ ∞ \kappa< \kappa_{\infty} κ < κ ∞ for large f f f , so κ min < κ ∞ \kappa_{\min} < \kappa_{\infty} κ m i n < κ ∞ , and for ρ ∈ ( κ min , κ ∞ ) \rho\in(\kappa_{\min},\kappa_{\infty}) ρ ∈ ( κ m i n , κ ∞ ) the set I ( ρ ) I(\rho) I ( ρ ) is nonempty and bounded above, since κ → κ ∞ > ρ \kappa\to\kappa_{\infty} > \rho κ → κ ∞ > ρ as f → ∞ f \to\infty f → ∞ (Proposition 8).
In case (ii), let ∣ x ∣ ≤ ∣ y ∣ |x| \le|y| ∣ x ∣ ≤ ∣ y ∣ ; then y ≠ 0 y \ne0 y = 0 . Write A = a E 2 A = a_E^2 A = a E 2 , B = b E 2 B = b_E^2 B = b E 2 . If x = 0 x = 0 x = 0 , the proof of Proposition 7 gives θ 3 = − A \theta_3 = -A θ 3 = − A and θ 2 ∈ ( − B , 0 ) \theta_2 \in(-B,0) θ 2 ∈ ( − B , 0 ) , so κ 2 = θ 3 / θ 2 > A / B = κ ∞ 2 \kappa^2 = \theta_3/\theta_2 > A/B = \kappa_{\infty}^2 κ 2 = θ 3 / θ 2 > A / B = κ ∞ 2 for every f f f . Now let p p p be off-axis, and suppose κ ( f ) = κ ∞ \kappa(f) = \kappa_{\infty} κ ( f ) = κ ∞ for some f > 0 f > 0 f > 0 . By Proposition 7, θ 2 = − s B \theta_2 = -sB θ 2 = − s B and θ 3 = − s A \theta_3 = -sA θ 3 = − s A for some s s s , and s ∈ ( B / A , 1 ) s \in(B/A,1) s ∈ ( B / A , 1 ) because − B < θ 2 < 0 -B < \theta_2 < 0 − B < θ 2 < 0 and − A < θ 3 < − B -A < \theta_3 < -B − A < θ 3 < − B off the axes. Both are roots of x 2 / ( A + θ ) + y 2 / ( B + θ ) + f 2 / θ = 1 x^2/(A+\theta)+y^2/(B+\theta)+f^2/\theta= 1 x 2 / ( A + θ ) + y 2 / ( B + θ ) + f 2 / θ = 1 , so both values of θ \theta θ in x 2 / ( A + θ ) − y 2 / ( B + θ ) x^2/(A+\theta)-y^2/(B+\theta) x 2 / ( A + θ ) − y 2 / ( B + θ ) equal f 2 f^2 f 2 . With m = A s − B > 0 m = As-B > 0 m = A s − B > 0 and n = A − B s > 0 n = A-Bs > 0 n = A − B s > 0 , the value at θ 2 \theta_2 θ 2 minus that at θ 3 \theta_3 θ 3 is
s ( A − B ) ( 1 − s ) m n − x 2 m + y 2 n ( 1 − s ) m n . s(A-B)\frac{(1-s)mn-x^2m+y^2n}{(1-s)mn}. s ( A − B ) ( 1 − s ) mn ( 1 − s ) mn − x 2 m + y 2 n .
whose numerator is positive, since x 2 m − y 2 n ≤ y 2 ( m − n ) = − ( A + B ) ( 1 − s ) y 2 < 0 x^2m-y^2n \le y^2(m-n)=-(A+B)(1-s)y^2 < 0 x 2 m − y 2 n ≤ y 2 ( m − n ) = − ( A + B ) ( 1 − s ) y 2 < 0 . So κ ≠ κ ∞ \kappa\ne\kappa_{\infty} κ = κ ∞ on the set of ( p , f ) (p,f) ( p , f ) with p p p off-axis, ∣ x ∣ ≤ ∣ y ∣ |x| \le|y| ∣ x ∣ ≤ ∣ y ∣ and f > 0 f > 0 f > 0 . Each of its four connected components (one per quadrant) contains points with p p p outside E E E , where κ → ∞ \kappa\to\infty κ → ∞ as f → 0 f \to0 f → 0 (Proposition 8), and κ \kappa κ is continuous in ( p , f ) (p,f) ( p , f ) , since Q f Q_f Q f is congruent to C C C and so always has two positive eigenvalues; hence κ > κ ∞ \kappa> \kappa_{\infty} κ > κ ∞ on the whole set. This proves case (ii); the claims about I ( ρ ) I(\rho) I ( ρ ) follow.
The minimizing focal length and κ min \kappa_{\min} κ m i n in closed form
Proof of Proposition 12. Write K = K f = diag ( t , t , 1 ) K = K_f = \operatorname{diag}(\sqrt{t},\sqrt{t},1) K = K f = diag ( t , t , 1 ) , so Q f = K C K Q_f = KCK Q f = K C K and
d K d t = K − e 3 e 3 T 2 t . \frac{dK}{dt} = \frac{K-e_3e_3^{\mathsf T}}{2t}. d t d K = 2 t K − e 3 e 3 T .
Since K − 1 e 3 = e 3 K^{-1}e_3=e_3 K − 1 e 3 = e 3 , e 3 e 3 T C K = e 3 e 3 T Q f e_3e_3^{\mathsf T}CK=e_3e_3^{\mathsf T}Q_f e 3 e 3 T C K = e 3 e 3 T Q f and K C e 3 e 3 T = Q f e 3 e 3 T KCe_3e_3^{\mathsf T}=Q_fe_3e_3^{\mathsf T} K C e 3 e 3 T = Q f e 3 e 3 T , so
d Q f d t = 1 2 t ( 2 Q f − e 3 e 3 T Q f − Q f e 3 e 3 T ) . \frac{dQ_f}{dt} = \frac{1}{2t}\left(2Q_f-e_3e_3^{\mathsf T}Q_f-Q_fe_3e_3^{\mathsf T}\right). d t d Q f = 2 t 1 ( 2 Q f − e 3 e 3 T Q f − Q f e 3 e 3 T ) .
For a simple eigenvalue μ \mu μ with unit eigenvector v v v , d μ / d t = v T ( d Q f / d t ) v = μ ( 1 − ( v ⋅ e 3 ) 2 ) / t d\mu/dt=v^{\mathsf T}(dQ_f/dt)v=\mu(1-(v\cdot e_3)^2)/t d μ / d t = v T ( d Q f / d t ) v = μ ( 1 − ( v ⋅ e 3 ) 2 ) / t . Hence d ln μ ± / d t = ( 1 − cos 2 φ ± ) / t d\ln\mu_{\pm}/dt=(1-\cos^2\varphi_{\pm})/t d ln μ ± / d t = ( 1 − cos 2 φ ± ) / t , and subtracting gives d ln ( μ + / μ − ) / d t = ( cos 2 φ − − cos 2 φ + ) / t d\ln(\mu_+/\mu_-)/dt=(\cos^2\varphi_- -\cos^2\varphi_+)/t d ln ( μ + / μ − ) / d t = ( cos 2 φ − − cos 2 φ + ) / t , that is, d ln κ / d ln f = cos 2 φ − − cos 2 φ + d\ln\kappa/d\ln f=\cos^2\varphi_- -\cos^2\varphi_+ d ln κ / d ln f = cos 2 φ − − cos 2 φ + . An attained κ min > 1 \kappa_{\min}>1 κ m i n > 1 is an interior minimum of κ \kappa κ , which is differentiable there since μ − < μ + \mu_-<\mu_+ μ − < μ + , hence a stationary point.
For the confocal form, work in the frame of E E E , with O = ( x , y , z ) O=(x,y,z) O = ( x , y , z ) , z = f z=f z = f , A = a E 2 A=a_E^2 A = a E 2 and B = b E 2 B=b_E^2 B = b E 2 . Since p p p is off-axis, the θ i \theta_i θ i are simple roots of the confocal equation of section 4. By the proof of Proposition 7, the dual cone D E − O O T D_E-OO^{\mathsf T} D E − O O T has eigenvalue − θ i -\theta_i − θ i with eigenvector v i ∝ ( D E + θ i I ) − 1 O = ( x / ( A + θ i ) , y / ( B + θ i ) , z / θ i ) v_i\propto(D_E+\theta_iI)^{-1}O=(x/(A+\theta_i),y/(B+\theta_i),z/\theta_i) v i ∝ ( D E + θ i I ) − 1 O = ( x / ( A + θ i ) , y / ( B + θ i ) , z / θ i ) . The cone, a multiple of its inverse, has the same eigenvectors, and Q f Q_f Q f differs from it by a positive factor and an orthogonal map that preserves the vertical line, so the values of cos 2 \cos^2 cos 2 are unchanged. The vector θ i v i \theta_iv_i θ i v i has squared length g ( θ i ) + z 2 g(\theta_i)+z^2 g ( θ i ) + z 2 and vertical component z z z , so its angle φ i \varphi_i φ i with the vertical satisfies cos 2 φ i = z 2 / ( g ( θ i ) + z 2 ) \cos^2\varphi_i=z^2/(g(\theta_i)+z^2) cos 2 φ i = z 2 / ( g ( θ i ) + z 2 ) . Since ∣ θ 3 ∣ ≥ ∣ θ 2 ∣ |\theta_3|\ge|\theta_2| ∣ θ 3 ∣ ≥ ∣ θ 2 ∣ , the eigenvector of μ − \mu_- μ − belongs to θ 3 \theta_3 θ 3 , so φ − = φ 3 \varphi_-=\varphi_3 φ − = φ 3 and φ + = φ 2 \varphi_+=\varphi_2 φ + = φ 2 , and cos φ − = cos φ + \cos\varphi_-=\cos\varphi_+ cos φ − = cos φ + exactly when g ( θ 2 ) = g ( θ 3 ) g(\theta_2)=g(\theta_3) g ( θ 2 ) = g ( θ 3 ) .
Proof of Corollary 13. By Proposition 12 , d ln κ / d ln f = cos 2 φ − − cos 2 φ + ∈ [ − 1 , 1 ] d\ln\kappa/d\ln f=\cos^2\varphi_{-}-\cos^2\varphi_{+}\in[-1,1] d ln κ / d ln f = cos 2 φ − − cos 2 φ + ∈ [ − 1 , 1 ] wherever μ − < μ + \mu_{-}<\mu_{+} μ − < μ + ; where μ − = μ + \mu_{-}=\mu_{+} μ − = μ + , κ = 1 \kappa=1 κ = 1 is its minimum value. The eigenvalues of Q f Q_f Q f are locally Lipschitz in f f f and μ − > 0 \mu_{-}>0 μ − > 0 , so ln κ \ln\kappa ln κ is locally Lipschitz in ln f \ln f ln f , hence absolutely continuous, with ∣ d ln κ / d ln f ∣ ≤ 1 \lvert d\ln\kappa/d\ln f\rvert\leq1 ∣ d ln κ / d ln f ∣ ≤ 1 almost everywhere; integrate in ln f \ln f ln f . For the inclusion, κ ( f ) ≤ κ min max ( f / f ∗ , f ∗ / f ) ≤ ρ \kappa(f)\leq\kappa_{\min}\max(f/f^*,f^*/f)\leq\rho κ ( f ) ≤ κ m i n max ( f / f ∗ , f ∗ / f ) ≤ ρ on the stated interval. □
Proof of Proposition 14. At an endpoint f ∈ ( 0 , ∞ ) f\in(0,\infty) f ∈ ( 0 , ∞ ) of I ( ρ ) I(\rho) I ( ρ ) , κ ( f ) = ρ \kappa(f)=\rho κ ( f ) = ρ by continuity, so u = ν − ( f 2 ) ∈ J u=\nu_{-}(f^2)\in J u = ν − ( f 2 ) ∈ J satisfies κ 2 ( u ) = ρ 2 \kappa^2(u)=\rho^2 κ 2 ( u ) = ρ 2 and is therefore a root of R ρ 2 R_{\rho^2} R ρ 2 (Step 3 of the proof of Theorem 9 (i)), and f 2 = h ( u ) f^2=h(u) f 2 = h ( u ) (Step 2). For p p p on E E E , Steps 1–3 hold as well (proof of Theorem 9 (ii)). Conversely, if u ∈ J u\in J u ∈ J and R k ( u ) = 0 R_k(u)=0 R k ( u ) = 0 with k = ρ 2 k=\rho^2 k = ρ 2 , then q ( k u ) ≠ 0 q(ku)\neq0 q ( k u ) = 0 (the roots of q q q are α 1 \alpha_1 α 1 and α 2 \alpha_2 α 2 , and k u > u > α 1 ku>u>\alpha_1 k u > u > α 1 ; at k u = α 2 ku=\alpha_2 k u = α 2 , R k ( u ) = π ( α 2 ) q ( u ) / ( k − 1 ) ≠ 0 R_k(u)=\pi(\alpha_2)q(u)/(k-1)\neq0 R k ( u ) = π ( α 2 ) q ( u ) / ( k − 1 ) = 0 ), so h ( k u ) = h ( u ) h(ku)=h(u) h ( k u ) = h ( u ) , k u = ν + ku=\nu_{+} k u = ν + and κ 2 = k \kappa^2=k κ 2 = k at f = h ( u ) f=\sqrt{h(u)} f = h ( u ) . If f f f were interior to I ( ρ ) I(\rho) I ( ρ ) , then κ ≤ ρ = κ ( f ) \kappa\leq\rho=\kappa(f) κ ≤ ρ = κ ( f ) near f f f , so f f f would be a local maximum of the smooth function κ \kappa κ (p p p is off-axis), hence a critical point; by Theorem 9 (ii) a critical point is a strict minimum, a contradiction. So f f f is an endpoint. □
Proof of Theorem 15. We use the notation of the proofs of Theorem 9 (i) and (ii). Let k ∗ = κ min 2 k^*=\kappa_{\min}^2 k ∗ = κ m i n 2 be attained at u ∗ ∈ J u^*\in J u ∗ ∈ J ; k ∗ > 1 k^*>1 k ∗ > 1 , since E E E is not a sphere outline from an off-axis p p p (Remark 4). By the proof of Theorem 9 (ii), u ∗ u^* u ∗ is a root of R k ∗ R_{k^*} R k ∗ of multiplicity at least 2, so D ( k ∗ ) = 0 D(k^*)=0 D ( k ∗ ) = 0 , and f ∗ 2 = h ( u ∗ ) f^{*2}=h(u^*) f ∗ 2 = h ( u ∗ ) by Step 2. Since k ∗ < κ ∞ 2 k^*<\kappa_\infty^2 k ∗ < κ ∞ 2 and, for p p p inside E E E , k ∗ < κ 0 2 k^*<\kappa_0^2 k ∗ < κ 0 2 (Theorem 9 (ii)), the signs of Table 4 and of R k ∗ ( r ) R_{k^*}(r) R k ∗ ( r ) give two roots of R k ∗ R_{k^*} R k ∗ outside J J J (one when p p p lies on E E E , where R k ∗ R_{k^*} R k ∗ is a cubic), so u ∗ u^* u ∗ is exactly a double root.
Now let k > k ∗ k>k^* k > k ∗ . By Theorem 9 (ii), κ 2 \kappa^2 κ 2 decreases strictly on J J J from its limit at u = r u=r u = r (+ ∞ +\infty + ∞ if p p p is outside E E E , κ 0 2 \kappa_0^2 κ 0 2 if inside) to k ∗ k^* k ∗ at u ∗ u^* u ∗ , then increases strictly to κ ∞ 2 \kappa_\infty^2 κ ∞ 2 at u = α 1 u=\alpha_1 u = α 1 . So each end of J J J contributes at least one root of R k R_k R k (Step 3 and the signs of Table 4 and of R k ( r ) R_k(r) R k ( r ) ): the end u = α 1 u=\alpha_1 u = α 1 a crossing in ( α 1 , u ∗ ) (\alpha_1,u^*) ( α 1 , u ∗ ) if k < κ ∞ 2 k<\kappa_\infty^2 k < κ ∞ 2 and otherwise a root in ( α 1 / k , α 1 ] (\alpha_1/k,\alpha_1] ( α 1 / k , α 1 ] ; the end u = r u=r u = r a crossing in ( u ∗ , r ) (u^*,r) ( u ∗ , r ) if its limit exceeds k k k and otherwise a root in [ r , α 2 ) [r,\alpha_2) [ r , α 2 ) . The other two roots are in ( − ∞ , 0 ) (-\infty,0) ( − ∞ , 0 ) and ( 0 , α 1 / k ) (0,\alpha_1/k) ( 0 , α 1 / k ) if p p p is outside E E E , and in ( 0 , α 1 / k ) (0,\alpha_1/k) ( 0 , α 1 / k ) and ( α 2 , ∞ ) (\alpha_2,\infty) ( α 2 , ∞ ) if p p p is inside. These four roots lie in pairwise disjoint sets, so all roots of R k R_k R k are simple and D ( k ) ≠ 0 D(k)\neq0 D ( k ) = 0 . Hence k ∗ k^* k ∗ is the largest root of D D D in ( 1 , ∞ ) (1,\infty) ( 1 , ∞ ) .
The substitution u ↦ k u u\mapsto ku u ↦ k u , k ↦ 1 / k k\mapsto1/k k ↦ 1/ k maps R k R_k R k to itself: R 1 / k ( k u ) = R k ( u ) R_{1/k}(ku)=R_k(u) R 1/ k ( k u ) = R k ( u ) , by the formula of Step 3. If R k R_k R k has leading coefficient c k c_k c k and roots u i u_i u i , then R 1 / k R_{1/k} R 1/ k has leading coefficient k − 4 c k k^{-4}c_k k − 4 c k and roots k u i ku_i k u i , so D ( 1 / k ) = ( k − 4 c k ) 6 ∏ i < j ( k u i − k u j ) 2 = k − 12 D ( k ) D(1/k)=(k^{-4}c_k)^6\prod_{i<j}(ku_i-ku_j)^2=k^{-12}D(k) D ( 1/ k ) = ( k − 4 c k ) 6 ∏ i < j ( k u i − k u j ) 2 = k − 12 D ( k ) . The symbolic computation described below shows that, in the normalization of the theorem, D ( k ) = ( a E b E ) − 2 k 2 P 8 ( k ) D(k)=(a_Eb_E)^{-2}k^2P_8(k) D ( k ) = ( a E b E ) − 2 k 2 P 8 ( k ) with P 8 P_8 P 8 of degree 8; the reciprocity just proved then gives P 8 ( 1 / k ) = k − 8 P 8 ( k ) P_8(1/k)=k^{-8}P_8(k) P 8 ( 1/ k ) = k − 8 P 8 ( k ) , so P 8 P_8 P 8 is palindromic and P 8 ( k ) = k 4 Ω E , p ( k + 1 / k ) P_8(k)=k^4\Omega_{E,p}(k+1/k) P 8 ( k ) = k 4 Ω E , p ( k + 1/ k ) for a quartic Ω E , p \Omega_{E,p} Ω E , p . The factorization and the coefficients ω i \omega_i ω i (section C) are computed by the supplementary scripts derive_kmin_quartic.py and verify_discriminant_identity.py, which checks that the discriminant of A 2 B 2 R k ( u ) A^2B^2R_k(u) A 2 B 2 R k ( u ) equals A B k 2 P 8 ( k ) ABk^2P_8(k) A B k 2 P 8 ( k ) as an identity of integer polynomials in A A A , B B B , x x x , y y y , k k k ; verify_discriminant_numeric.py checks it independently, without symbolic factorization, by computing the discriminant from 60-digit roots at random rational points. Only this identity is computer-assisted. Finally, every real root w > 2 w>2 w > 2 of Ω E , p \Omega_{E,p} Ω E , p is k + 1 / k k+1/k k + 1/ k for a root k > 1 k>1 k > 1 of P 8 P_8 P 8 , hence of D D D , while real roots w ≤ 2 w\leq2 w ≤ 2 come from ∣ k ∣ = 1 |k|=1 ∣ k ∣ = 1 or k < 0 k<0 k < 0 . Since w = k + 1 / k w=k+1/k w = k + 1/ k is increasing on ( 1 , ∞ ) (1,\infty) ( 1 , ∞ ) and k ∗ > 1 k^*>1 k ∗ > 1 , w ∗ = k ∗ + 1 / k ∗ w^*=k^*+1/k^* w ∗ = k ∗ + 1/ k ∗ is the largest real root of Ω E , p \Omega_{E,p} Ω E , p , and k ∗ k^* k ∗ is recovered from w ∗ w^* w ∗ by solving a quadratic.
If p p p lies on E E E , then γ E = 0 \gamma_E=0 γ E = 0 and R k R_k R k is a cubic with nonzero leading coefficient (proof of Theorem 9 (ii)). The argument above applies with three roots instead of four: for k > k ∗ k>k^* k > k ∗ there is a root in ( 0 , α 1 / k ) (0,\alpha_1/k) ( 0 , α 1 / k ) , one in ( α 1 / k , α 1 ] (\alpha_1/k,\alpha_1] ( α 1 / k , α 1 ] if k ≥ κ ∞ 2 k\geq\kappa_\infty^2 k ≥ κ ∞ 2 , and the crossings in J J J , one on the branch toward u = r u=r u = r , where κ → ∞ \kappa\to\infty κ → ∞ , and one on the other branch if k < κ ∞ 2 k<\kappa_\infty^2 k < κ ∞ 2 . The formal discriminant of a quartic with vanishing leading coefficient equals the square of the next coefficient times the discriminant of the cubic; here that coefficient is − ( β 1 2 + β 2 2 ) k ( k + 1 ) -(\beta_1^2+\beta_2^2)k(k+1) − ( β 1 2 + β 2 2 ) k ( k + 1 ) , so D = ( β 1 2 + β 2 2 ) 2 k 2 ( k + 1 ) 2 disc ( R k ) D=(\beta_1^2+\beta_2^2)^2k^2(k+1)^2\operatorname{disc}(R_k) D = ( β 1 2 + β 2 2 ) 2 k 2 ( k + 1 ) 2 disc ( R k ) . The extra factor has no root in ( 1 , ∞ ) (1,\infty) ( 1 , ∞ ) , so D D D and disc ( R k ) \operatorname{disc}(R_k) disc ( R k ) have the same roots there. Hence the largest root of Ω E , p \Omega_{E,p} Ω E , p is still k ∗ + 1 / k ∗ k^*+1/k^* k ∗ + 1/ k ∗ ; on E E E , Ω E , p \Omega_{E,p} Ω E , p also has the root w = − 2 w=-2 w = − 2 , from ( k + 1 ) 2 (k+1)^2 ( k + 1 ) 2 .
Relation to the test of Gaudillière, Simon and Berger
For a triaxial ellipsoid and a calibrated camera, [13 Thm. 1] scans a scalar parameter and accepts when, for some value, three entries equal to the squared coordinates of the camera center are nonnegative. These camera centers are those of our Step 2 (proof of Theorem 3 ) with ( λ 1 , λ 2 , λ 3 ) = ( τ / μ 0 , − τ / μ + , − τ / μ − ) (\lambda_1,\lambda_2,\lambda_3)=(\tau/\mu_0,-\tau/\mu_+,-\tau/\mu_-) ( λ 1 , λ 2 , λ 3 ) = ( τ / μ 0 , − τ / μ + , − τ / μ − ) , τ > 0 \tau>0 τ > 0 , their parameter being, up to sign, an increasing function of τ \tau τ . By Step 2 the entries are nonnegative exactly when c 2 μ + ≤ τ ≤ b 2 μ + c^2\mu_+\leq\tau\leq b^2\mu_+ c 2 μ + ≤ τ ≤ b 2 μ + and b 2 μ − ≤ τ ≤ a 2 μ − b^2\mu_-\leq\tau\leq a^2\mu_- b 2 μ − ≤ τ ≤ a 2 μ − , and such τ \tau τ exists exactly when c 2 μ + ≤ a 2 μ − c^2\mu_+\leq a^2\mu_- c 2 μ + ≤ a 2 μ − , which is our test. The supplementary materials give the details; § 7 compares the two tests numerically.
The quartic Ω E , p \Omega_{E,p} Ω E , p
Let A = a E 2 A=a_E^2 A = a E 2 , B = b E 2 B=b_E^2 B = b E 2 , let ( x , y ) (x,y) ( x , y ) be the principal point in the frame of E E E , X = x 2 X=x^2 X = x 2 and Y = y 2 Y=y^2 Y = y 2 . Each coefficient ω i \omega_i ω i of Ω E , p ( w ) = ∑ i = 0 4 ω i w i \Omega_{E,p}(w)=\sum_{i=0}^{4}\omega_iw^i Ω E , p ( w ) = ∑ i = 0 4 ω i w i in Theorem 15 is a homogeneous polynomial of degree 10 in ( A , B , X , Y ) (A,B,X,Y) ( A , B , X , Y ) with integer coefficients, so rescaling the image multiplies Ω E , p \Omega_{E,p} Ω E , p by a positive constant and does not change its roots; we list them in units with b E = 1 b_E=1 b E = 1 (B = 1 B=1 B = 1 , A = a E 2 / b E 2 A=a_E^2/b_E^2 A = a E 2 / b E 2 , X = x 2 / b E 2 X=x^2/b_E^2 X = x 2 / b E 2 , Y = y 2 / b E 2 Y=y^2/b_E^2 Y = y 2 / b E 2 ), and the general coefficients are B 10 ω i ( A / B , 1 , X / B , Y / B ) B^{10}\omega_i(A/B,1,X/B,Y/B) B 10 ω i ( A / B , 1 , X / B , Y / B ) . The leading coefficient is ω 4 = A 3 B 3 ( A − B ) 2 ∣ p − F 1 ∣ 2 ∣ p − F 2 ∣ 2 \omega_4=A^3B^3(A-B)^2|p-F_1|^2|p-F_2|^2 ω 4 = A 3 B 3 ( A − B ) 2 ∣ p − F 1 ∣ 2 ∣ p − F 2 ∣ 2 (Theorem 15 ). With G = X / A + Y / B − 1 G=X/A+Y/B-1 G = X / A + Y / B − 1 (= γ E =\gamma_E = γ E in the normalization of Theorem 15 ) and H = H= H =
( A ( A − X ) − B ( B − Y ) ) 2 + 4 A B X Y , \left(A(A-X)-B(B-Y)\right)^2+4ABXY, ( A ( A − X ) − B ( B − Y ) ) 2 + 4 A B X Y ,
Ω E , p ( − 2 ) = − 16 A B G H 2 , \Omega_{E,p}(-2)=-16ABGH^2, Ω E , p ( − 2 ) = − 16 A B G H 2 ,
which vanishes for p p p on E E E , and Ω E , p ( 2 ) \Omega_{E,p}(2) Ω E , p ( 2 ) is 16 X Y ( A − B ) 2 16XY(A-B)^2 16 X Y ( A − B ) 2 times a polynomial, so it vanishes for p p p on an axis line. The coefficients ω 0 , … , ω 3 \omega_0,\ldots,\omega_3 ω 0 , … , ω 3 have 105, 101, 87 and 48 terms; they are listed in the supplementary materials and, in machine-readable form, in the file kmin_quartic.txt of the code repository, produced by derive_kmin_quartic.py and checked by verify_discriminant_identity.py.