Algorithm Search⌘K

Theoremadvanced

Projective reconstruction theorem

Also called projective ambiguity of reconstruction.

From image matches alone the cameras and points of uncalibrated views are fixed only up to a projective transformation of space, and no better.

The projective reconstruction theorem says what two uncalibrated views can and cannot tell about a scene. If the matched points fix the fundamental matrix, then any two reconstructions, each made of two camera matrices and a set of 3D points that project to the matches, differ by one invertible 4×44 \times 4 projective transformation HH of space. The only exceptions are points on the baseline. Conversely, every such HH maps a reconstruction to another one that fits the images equally well. So without calibration, lengths, angles, parallelism and even the plane at infinity are lost, and the reconstruction is a projective one. Stratified reconstruction and self-calibration recover the lost structure from extra knowledge.

Statement

A reconstruction of the matches xi↔xi′\mathbf{x}_i \leftrightarrow \mathbf{x}'_i, i=1,…,ni = 1, \ldots, n, is a triple (P,P′,{Xi})(P, P', \{\mathbf{X}_i\}) of two 3×43 \times 4 camera matrices of rank 3 with distinct centers and points Xi∈P3\mathbf{X}_i \in \mathbb{P}^3 such that PXi∼xiP\mathbf{X}_i \sim \mathbf{x}_i and P′Xi∼xi′P'\mathbf{X}_i \sim \mathbf{x}'_i for all ii.

Theorem. Suppose the matches determine the fundamental matrix FF uniquely up to scale: FF is, up to scale, the only matrix of rank 2 with xi′TFxi=0\mathbf{x}'^{\mathsf T}_iF\mathbf{x}_i = 0 for all ii. Let (P1,P1′,{X1i})(P_1, P'_1, \{\mathbf{X}_{1i}\}) and (P2,P2′,{X2i})(P_2, P'_2, \{\mathbf{X}_{2i}\}) be two reconstructions. Then there is an invertible 4×44 \times 4 matrix HH such that

P2∼P1H−1,P2′∼P1′H−1,X2i∼HX1iP_2 \sim P_1H^{-1}, \qquad P'_2 \sim P'_1H^{-1}, \qquad \mathbf{X}_{2i} \sim H\mathbf{X}_{1i}

for all ii except those with Fxi=0F\mathbf{x}_i = \mathbf{0} and xi′TF=0\mathbf{x}'^{\mathsf T}_iF = \mathbf{0}, the matches at the two epipoles, whose points lie on the baseline.

Converse. For every invertible HH, (P1H−1,P1′H−1,{HX1i})(P_1H^{-1}, P'_1H^{-1}, \{H\mathbf{X}_{1i}\}) is again a reconstruction.

Hartley and Zisserman state the theorem in Section 10.3, and it was found at the same time by Faugeras (1992) and by Hartley, Gupta and Chang (1992).

In plain words

Two photos are taken with cameras whose lens and settings are not known. You match points between them and build a 3D model that explains the photos. The theorem says that the model you get is right only in a weak sense. Straight lines stay straight and points on a line stay on it. But lengths, angles and even the fact that two lines are parallel can be wrong, because a whole family of distorted models explains the same photos equally well. Any two good models are related by one such distortion, and nothing in the photos can tell them apart.

Proof

Step 1 (the converse). (P1H−1)(HX1i)=P1X1i∼xi(P_1H^{-1})(H\mathbf{X}_{1i}) = P_1\mathbf{X}_{1i} \sim \mathbf{x}_i, and the same for P1′P'_1. The matrices P1H−1P_1H^{-1} and P1′H−1P'_1H^{-1} have rank 3, and their centers HCH\mathbf{C} and HC′H\mathbf{C}' are distinct, because HH is invertible.

Step 2 (the fundamental matrix of a reconstruction). For any camera pair (P,P′)(P, P') with distinct centers there is a matrix F(P,P′)F(P, P') of rank 2 with (P′X)TF(P,P′)(PX)=0(P'\mathbf{X})^{\mathsf T}F(P, P')(P\mathbf{X}) = 0 for all X\mathbf{X}. In each reconstruction the matches satisfy this constraint, so by the hypothesis F(P1,P1′)∼F(P2,P2′)∼FF(P_1, P'_1) \sim F(P_2, P'_2) \sim F.

Step 3 (a canonical frame). Let C\mathbf{C} be the null vector of PP, and choose w\mathbf{w} with wTC≠0\mathbf{w}^{\mathsf T}\mathbf{C} \ne 0. The 4×44 \times 4 matrix GG with rows PP and wT\mathbf{w}^{\mathsf T} is invertible, and PG−1PG^{-1} is the first three rows of GG−1=IGG^{-1} = I, that is, PG−1=[I∣0]PG^{-1} = [I \mid \mathbf{0}]. The last column of G−1G^{-1} is sent to 0\mathbf{0} by PP, so it is a multiple of C\mathbf{C}. Write P′G−1=[A∣a]P'G^{-1} = [A \mid \mathbf{a}]; then a\mathbf{a} is a nonzero multiple of P′CP'\mathbf{C}, and a≠0\mathbf{a} \ne \mathbf{0} because C\mathbf{C} is not the center of P′P'. Apply this to both reconstructions, with matrices G1G_1 and G2G_2. By Step 1 the transformed triples are again reconstructions of the same matches, and if they are related by HH, the original ones are related by G2−1HG1G_2^{-1}HG_1. So it is enough to prove the theorem for camera pairs of the form ([I∣0],[A∣a])([I \mid \mathbf{0}], [A \mid \mathbf{a}]).

Step 4 (the fundamental matrix of a canonical pair). For P=[I∣0]P = [I \mid \mathbf{0}] and P′=[A∣a]P' = [A \mid \mathbf{a}], a point X=(x,s)\mathbf{X} = (\mathbf{x}, s) gives PX=xP\mathbf{X} = \mathbf{x} and P′X=Ax+saP'\mathbf{X} = A\mathbf{x} + s\mathbf{a}. Then

(Ax+sa)T[a]×Ax=(Ax)T(a×Ax)+s aT(a×Ax)=0,(A\mathbf{x} + s\mathbf{a})^{\mathsf T}[\mathbf{a}]_\times A\mathbf{x} = (A\mathbf{x})^{\mathsf T}(\mathbf{a} \times A\mathbf{x}) + s\,\mathbf{a}^{\mathsf T}(\mathbf{a} \times A\mathbf{x}) = 0,

so F=[a]×AF = [\mathbf{a}]_\times A. For every u\mathbf{u}, aT[a]×u=a⋅(a×u)=0\mathbf{a}^{\mathsf T}[\mathbf{a}]_\times\mathbf{u} = \mathbf{a} \cdot (\mathbf{a} \times \mathbf{u}) = 0, so aTF=0\mathbf{a}^{\mathsf T}F = \mathbf{0}. Since FF has rank 2, its left null space is spanned by a\mathbf{a}.

Step 5 (two camera pairs with the same FF). Let ([I∣0],[A∣a])([I \mid \mathbf{0}], [A \mid \mathbf{a}]) and ([I∣0],[A~∣a~])([I \mid \mathbf{0}], [\tilde A \mid \tilde{\mathbf{a}}]) have fundamental matrices [a]×A[\mathbf{a}]_\times A and [a~]×A~[\tilde{\mathbf{a}}]_\times\tilde A that agree up to scale. Both a\mathbf{a} and a~\tilde{\mathbf{a}} span the left null space of the same rank 2 matrix, so a~=ka\tilde{\mathbf{a}} = k\mathbf{a} with k≠0k \ne 0. Write [a~]×A~=λ[a]×A[\tilde{\mathbf{a}}]_\times\tilde A = \lambda[\mathbf{a}]_\times A with λ≠0\lambda \ne 0. Then [a]×(kA~−λA)=0[\mathbf{a}]_\times(k\tilde A - \lambda A) = 0, so every column of kA~−λAk\tilde A - \lambda A is a multiple of a\mathbf{a}, and kA~−λA=avTk\tilde A - \lambda A = \mathbf{a}\mathbf{v}^{\mathsf T} for some v\mathbf{v}. Put

H−1=(k−1λI0k−1vTk).H^{-1} = \begin{pmatrix} k^{-1}\lambda I & \mathbf{0} \\ k^{-1}\mathbf{v}^{\mathsf T} & k \end{pmatrix}.

This matrix is block triangular with nonzero diagonal blocks, so it is invertible. Also [I∣0]H−1=k−1λ[I∣0]∼[I∣0][I \mid \mathbf{0}]H^{-1} = k^{-1}\lambda[I \mid \mathbf{0}] \sim [I \mid \mathbf{0}], and [A∣a]H−1=[k−1(λA+avT)∣ka]=[A~∣a~][A \mid \mathbf{a}]H^{-1} = [k^{-1}(\lambda A + \mathbf{a}\mathbf{v}^{\mathsf T}) \mid k\mathbf{a}] = [\tilde A \mid \tilde{\mathbf{a}}]. So the second camera pair is the first one times H−1H^{-1}.

Step 6 (the points). With HH from Step 5, the points HX1iH\mathbf{X}_{1i} and X2i\mathbf{X}_{2i} both project to xi\mathbf{x}_i and xi′\mathbf{x}'_i under P2P_2 and P2′P'_2. So both lie on the ray of xi\mathbf{x}_i from the center C2\mathbf{C}_2 and on the ray of xi′\mathbf{x}'_i from C2′\mathbf{C}'_2. Two distinct lines meet in at most one point, so HX1i∼X2iH\mathbf{X}_{1i} \sim \mathbf{X}_{2i} unless the two rays are the same line. The rays coincide only if both are the baseline, that is, if xi\mathbf{x}_i and xi′\mathbf{x}'_i are the epipoles, which is the case Fxi=0F\mathbf{x}_i = \mathbf{0} and xi′TF=0\mathbf{x}'^{\mathsf T}_iF = \mathbf{0}. ■\blacksquare

Consequences

  • Projective reconstruction is possible. Any camera pair with the right FF will do, for example P=[I∣0]P = [I \mid \mathbf{0}] and P′=[[e′]×F∣e′]P' = [[\mathbf{e}']_\times F \mid \mathbf{e}'] with e′\mathbf{e}' the left epipole, followed by triangulation of the matches with a projective invariant method such as optimal triangulation.
  • What is kept. Projective transformations keep incidence (a point on a line or a plane), collinearity, tangency, and the cross-ratio of four points on a line. These can be measured in a projective reconstruction.
  • What is lost. Lengths, angles, ratios of lengths, parallelism and the plane at infinity are not kept. A projective reconstruction can even put the plane at infinity through the scene, so that the scene appears split in two.
  • The cost of the ambiguity. HH has 15 degrees of freedom: these are the gauge freedom of uncalibrated reconstruction, against 7 for a similarity in the calibrated case.
  • Removing it. Knowing the plane at infinity reduces HH to an affine map, and knowing the absolute conic reduces it to a similarity; this is stratified reconstruction. With known intrinsics, the essential matrix gives a reconstruction up to a similarity directly.
  • More views. The same holds for any number of views: the cameras PjP_j and the points are fixed up to PjH−1P_jH^{-1} and HXiH\mathbf{X}_i, if the matches fix the multiview relations. Methods such as Sturm-Triggs factorization compute such a reconstruction.

Tightness

  • The ambiguity is attained. By the converse, every invertible HH gives a reconstruction that fits the images exactly. So no method that uses only the matches can do better than "up to a projective transformation".
  • An example. Let P=[I∣0]P = [I \mid \mathbf{0}], P′=[I∣(−1,0,0)T]P' = [I \mid (-1, 0, 0)^{\mathsf T}] and X=(1,2,4,1)\mathbf{X} = (1, 2, 4, 1), with images (0.25,0.5)(0.25, 0.5) and (0,0.5)(0, 0.5). Take HH equal to the identity except for the last row (0,0,1,1)(0, 0, 1, 1). Then HX=(1,2,4,5)∼(0.2,0.4,0.8,1)H\mathbf{X} = (1, 2, 4, 5) \sim (0.2, 0.4, 0.8, 1), PH−1=[I∣0]PH^{-1} = [I \mid \mathbf{0}], and P′H−1P'H^{-1} has rows (1,0,1,−1)(1, 0, 1, -1), (0,1,0,0)(0, 1, 0, 0), (0,0,1,0)(0, 0, 1, 0). It maps (0.2,0.4,0.8,1)(0.2, 0.4, 0.8, 1) to (0,0.4,0.8)∼(0,0.5)(0, 0.4, 0.8) \sim (0, 0.5), the same image. The plane at infinity X4=0X_4 = 0 is sent to the plane Z=1Z = 1 of the new reconstruction, where lines that were parallel now meet.
  • Unique FF is needed. If the points and camera centers lie on a critical configuration, two fundamental matrices fit the matches, and there are reconstructions that are not projectively related. With fewer than seven matches, FF is never fixed.
  • Baseline points are an exception. A match at the two epipoles is the image of every point on the baseline, so its point can be anywhere on that line in each reconstruction.
  • Distinct centers are needed. If the two centers coincide, the views are related by a homography, no FF of rank 2 exists, and no depth can be found.

History

Faugeras (1992) and Hartley, Gupta and Chang (1992) showed independently, at ECCV and CVPR in the same year, that two uncalibrated views give the scene up to a projective transformation, and that this is the most that can be found without further knowledge. The result led to the stratified approach of later work, in which a projective reconstruction is upgraded to an affine and then a metric one. Hartley and Zisserman give the theorem with a proof through camera pairs that share a fundamental matrix, and extend it to more views.

References

  1. Richard Hartley and Andrew Zisserman, Multiple View Geometry in Computer Vision, second edition, Cambridge University Press, 2004, Section 10.3, The projective reconstruction theorem, with the result on camera pairs that share a fundamental matrix in Chapter 9
  2. Olivier D. Faugeras, What can be seen in three dimensions with an uncalibrated stereo rig?, European Conference on Computer Vision (ECCV), 1992, Lecture Notes in Computer Science 588, the result that an uncalibrated pair gives the scene up to a projective transformation
  3. Richard Hartley, Rajiv Gupta and Tom Chang, Stereo from uncalibrated cameras, IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 1992, the reconstruction from uncalibrated views up to a projective transformation
  4. Richard Szeliski, Computer Vision, Algorithms and Applications, second edition, Springer, 2022, Section 11.3.3, on projective reconstruction from uncalibrated views

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/PJSPY7/text.yaml