Theoremadvanced
Characterization of essential matrices
Also called Huang-Faugeras constraint.
A nonzero real 3 by 3 matrix is essential exactly when its singular values are (s, s, 0), or exactly when det E = 0 and 2 E E^T E - tr(E E^T) E = 0. Minimal solvers use these cubics.
The characterization theorem gives two exact tests for a real matrix to be an essential matrix . The first is on the singular values: with . The second is a set of polynomial equations of degree 3 in the entries: and . The first test is the way to project a noisy estimate onto the essential matrices, and the second is the system that the five-point algorithm and other minimal solvers solve. The word "real" matters: over the complex numbers the cubic equations have solutions that are not essential.
Statement
Theorem. Let be a real matrix, . The following three conditions are equivalent.
- for some , , and some rotation (, ).
- has rank 2 and its two nonzero singular values are equal, that is, its singular values are with .
- and .
Moreover, when they hold with , , and the third column of , one factorization is and with .
Corollary (the closest essential matrix). Let be a real matrix with an SVD , . Among all matrices with singular values , , the closest to in the Frobenius norm is with .
Condition 2 and its equivalence with condition 1 are the result of Huang and Faugeras (1989), and Hartley and Zisserman state it as Result 9.17. The cubic equations of condition 3 are the ones that Nister (2004) uses.
In plain words
An essential matrix is made of a rotation and a direction of travel. The theorem says how to tell, from the nine numbers alone, whether a matrix can be written that way. One test looks at how the matrix stretches space: it must flatten one direction to nothing and stretch the other two by the same amount. The other test is a short list of equations that the nine numbers must satisfy. The equations are what a solver can use, because they are polynomials. The stretch test is what a program uses to clean up a noisy estimate: keep the two main directions, give them the same stretch, and drop the third. Both tests work only for matrices of ordinary real numbers.
Proof
We use two facts. First, for a rotation and a vector , , because a rotation keeps cross products: . Second, , and a direct product gives .
1 implies 2. . This matrix maps to and each vector orthogonal to to times itself. So its eigenvalues are , and the singular values of , their square roots, are with .
2 implies 1. Take an SVD with orthogonal and . If , change the sign of the third column of ; this does not change the product, because the third singular value is 0. Do the same for . Now and are rotations. Then
is a product of rotations, so it is a rotation, and . This also proves the factorization in the statement.
2 is equivalent to 3. Let be any SVD, and put . Then and , so
This is zero if and only if each is 0 or satisfies . If singular values , , are given, then , the two nonzero values satisfy , and . So 2 implies 3. For the converse, let be the number of nonzero singular values; because . Each of them has square , so , and since , . The two nonzero singular values are both , which is condition 2.
Proof of the corollary. By von Neumann's trace inequality, for real matrices with singular values and in decreasing order. For with singular values this gives
The right side is smallest at , and attains it, since then .
Consequences
- Five degrees of freedom. Condition 1 gives the count directly: 3 for and 2 for the direction of , so the essential matrices up to scale form a set of dimension 5 inside the 8-dimensional space of matrices up to scale. Each match gives one linear equation, so five matches are the minimum for calibrated cameras.
- The ten equations of the five-point solver. Condition 3 is one equation of degree 3 () and nine of degree 3 (the entries of the matrix equation). Five matches leave a four-dimensional space of matrices , and the five-point algorithm solves these ten cubics in . That the problem has at most 10 complex solutions for five points in general position is a result of Demazure (1988) and of Faugeras and Maybank (1990); it is cited here, not proved.
- Over the reals one equation is enough. The proof shows that for a real the matrix equation alone forces nonzero singular values, so it already implies . Solvers keep anyway, because they work with polynomials whose roots can be complex.
- Projection of a noisy estimate. The corollary is the last step of the essential matrix form of the eight-point algorithm, and of many other linear methods: replace the singular values by . Since is defined up to scale, is just as common. The projection is optimal in the Frobenius norm of the matrix, which has no direct meaning in the images; it is a convenient step, not a statistically optimal estimate.
- Pose from the SVD. The factorization in the statement is one of four; the decomposition page proves that there are exactly four and shows how cheirality picks one.
- Fundamental matrices are not constrained this way. In pixel coordinates, only has rank 2. The equal singular values come back only after the intrinsics are removed. This is the basis of some self-calibration methods, which look for that makes essential.
Tightness
- "Real" is needed. The complex matrix has and (the transpose, not the conjugate transpose: the first row times itself is , and the rows are orthogonal in the same sense). So , and condition 3 holds. But has rank 1, since its second row is times the first. The proof breaks because a complex matrix has no SVD of the form with real orthogonal factors.
- is needed. The zero matrix satisfies condition 3 and is not essential.
- Rank 2 alone is not enough. has rank 2 and is a fundamental matrix, but .
- Equal singular values alone are not enough. The identity has singular values and rank 3; condition 3 fails with .
- The scale is free. All three conditions hold for whenever they hold for , ; a negative is absorbed by the sign of .
History
Longuet-Higgins (1981) introduced the matrix of the bilinear constraint and gave a linear method to find it from eight matches. Huang and Faugeras (1989) proved that a real matrix is essential if and only if one singular value is zero and the other two are equal, and noted that the linear method does not enforce this. The cubic equations appear in the study of how many solutions five matches allow: Demazure (1988) showed that there are 10 complex solutions in general, against the 11 that Kruppa (1913) had claimed, and Faugeras and Maybank (1990) studied the same count. Nister (2004) built his five-point solver on these ten cubics. Hartley and Zisserman (2000, second edition 2004) and Ma, Soatto, Kosecka and Sastry (2004) give textbook proofs by the SVD.
References
- Thomas S. Huang and Olivier D. Faugeras, Some properties of the E matrix in two-view motion estimation, IEEE Transactions on Pattern Analysis and Machine Intelligence 11(12), 1989, 1310-1312, the condition that one singular value of E is zero and the other two are equal, as necessary and sufficient
- Richard Hartley and Andrew Zisserman, Multiple View Geometry in Computer Vision, second edition, Cambridge University Press, 2004, Section 9.6, The essential matrix (Result 9.17 and its proof by the SVD)
- Yi Ma, Stefano Soatto, Jana Kosecka and S. Shankar Sastry, An Invitation to 3-D Vision, Springer, 2004, Chapter 5, Section 5.1.2 (elementary properties of the essential matrix: the characterization and the projection onto the essential space)
- David Nister, An efficient solution to the five-point relative pose problem, IEEE Transactions on Pattern Analysis and Machine Intelligence 26(6), 2004, the cubic constraints det E = 0 and 2 E E^T E - trace(E E^T) E = 0 as the ten equations of the solver
- Olivier D. Faugeras and Stephen Maybank, Motion from point matches, multiplicity of solutions, International Journal of Computer Vision 4(3), 1990, 225-246, the algebraic constraints on E and the number of solutions from five matches
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 7NN1Q0 Edit this page History Report an error Markdown