Algorithm Search⌘K

Definitioncore

Essential matrix

Also called E matrix.

The matrix E = [t]x R of two calibrated views, with x2^T E x1 = 0 for matching normalized image points. It has 5 degrees of freedom and singular values (s, s, 0).

The essential matrix EE is the 3×33 \times 3 matrix that writes the epipolar geometry of two calibrated views. In normalized image coordinates, matching points satisfy x^2TEx^1=0\hat{\mathbf{x}}_2^{\mathsf T}E\hat{\mathbf{x}}_1 = 0, and E=[t]×RE = [\mathbf{t}]_\times R is built directly from the relative pose. It is the fundamental matrix with the intrinsic matrices removed. Longuet-Higgins (1981) introduced it and showed how to recover the motion from it. This page defines EE and its basic properties. The exact algebraic test for a matrix to be essential is the characterization theorem, the pose comes back by decomposition, and the five-point algorithm finds EE from the fewest matches.

Definition

Let RR be a rotation (RTR=IR^{\mathsf T}R = I, det⁡R=1\det R = 1) and t∈R3\mathbf{t} \in \mathbb{R}^3, t≠0\mathbf{t} \ne \mathbf{0}. The essential matrix of the relative pose (R,t)(R, \mathbf{t}), with X2=RX1+t\mathbf{X}_2 = R\mathbf{X}_1 + \mathbf{t}, is

E=[t]×R,E = [\mathbf{t}]_\times R ,

taken up to a nonzero scale. Here [t]×[\mathbf{t}]_\times is the skew matrix with [t]×b=t×b[\mathbf{t}]_\times\mathbf{b} = \mathbf{t} \times \mathbf{b}. A real 3×33 \times 3 matrix is called an essential matrix when it equals [t]×R[\mathbf{t}]_\times R for some such pair.

The constraint. Let x^1=K1−1x1\hat{\mathbf{x}}_1 = K_1^{-1}\mathbf{x}_1 and x^2=K2−1x2\hat{\mathbf{x}}_2 = K_2^{-1}\mathbf{x}_2 be the normalized images of one point. Then x^1∼X1\hat{\mathbf{x}}_1 \sim \mathbf{X}_1, x^2∼X2\hat{\mathbf{x}}_2 \sim \mathbf{X}_2, and

x^2TEx^1=0,\hat{\mathbf{x}}_2^{\mathsf T}E\hat{\mathbf{x}}_1 = 0 ,

because X2T[t]×RX1=X2T(t×(X2−t))=0\mathbf{X}_2^{\mathsf T}[\mathbf{t}]_\times R\mathbf{X}_1 = \mathbf{X}_2^{\mathsf T}(\mathbf{t} \times (\mathbf{X}_2 - \mathbf{t})) = 0. In pixels this is the fundamental matrix constraint with

F=K2−TEK1−1,E=K2TFK1.F = K_2^{-\mathsf T}EK_1^{-1}, \qquad E = K_2^{\mathsf T}FK_1 .

Degrees of freedom. The rotation has 3, and t\mathbf{t} has 3, but the scale of EE is not fixed by the constraint, so only the direction of t\mathbf{t} counts. That gives 3+2=53 + 2 = 5. A common way to fix the scale is ∥t∥=1\|\mathbf{t}\| = 1, which gives ∥E∥F=2\|E\|_F = \sqrt2.

Properties. Let E=[t]×RE = [\mathbf{t}]_\times R.

  • Singular values. EET=[t]×[t]×T=∥t∥2I−ttTEE^{\mathsf T} = [\mathbf{t}]_\times[\mathbf{t}]_\times^{\mathsf T} = \|\mathbf{t}\|^2 I - \mathbf{t}\mathbf{t}^{\mathsf T}, whose eigenvalues are ∥t∥2\|\mathbf{t}\|^2, ∥t∥2\|\mathbf{t}\|^2 and 0. So the singular values of EE are (∥t∥,∥t∥,0)(\|\mathbf{t}\|, \|\mathbf{t}\|, 0), and EE has rank 2.
  • The converse. A real 3×33 \times 3 matrix with singular values (s,s,0)(s, s, 0), s>0s > 0, is an essential matrix. With the cubic test: a real E≠0E \ne 0 is essential if and only if det⁡E=0\det E = 0 and 2EETE−tr⁡(EET)E=02EE^{\mathsf T}E - \operatorname{tr}(EE^{\mathsf T})E = 0. Both are parts of the characterization theorem, which also shows why the word "real" is needed.
  • Epipoles. ETt=RT[t]×Tt=0E^{\mathsf T}\mathbf{t} = R^{\mathsf T}[\mathbf{t}]_\times^{\mathsf T}\mathbf{t} = \mathbf{0}, so e2∼t\mathbf{e}_2 \sim \mathbf{t}, the image of the first center in camera 2. And E(RTt)=t×t=0E(R^{\mathsf T}\mathbf{t}) = \mathbf{t} \times \mathbf{t} = \mathbf{0}, so e1∼RTt\mathbf{e}_1 \sim R^{\mathsf T}\mathbf{t}, the direction of the second center −RTt-R^{\mathsf T}\mathbf{t} seen from camera 1.
  • Four factorizations. Up to scale, an essential matrix is [t]×R[\mathbf{t}]_\times R for exactly four pairs with ∥t∥=1\|\mathbf{t}\| = 1: two rotations and two signs of t\mathbf{t}. The decomposition page proves this, and cheirality picks the right pair.
  • Closest essential matrix. For a real matrix G=Udiag⁡(s1,s2,s3)VTG = U\operatorname{diag}(s_1, s_2, s_3)V^{\mathsf T}, the matrix with singular values (m,m,0)(m, m, 0) closest to GG in the Frobenius norm is Udiag⁡(mˉ,mˉ,0)VTU\operatorname{diag}(\bar m, \bar m, 0)V^{\mathsf T} with mˉ=(s1+s2)/2\bar m = (s_1 + s_2)/2. The eight-point algorithm proves this with von Neumann's trace inequality and uses it to make a linear estimate essential.

Examples and non-examples

The running example. For R=(0.800.6010−0.600.8)R = \begin{pmatrix} 0.8 & 0 & 0.6 \\ 0 & 1 & 0 \\ -0.6 & 0 & 0.8 \end{pmatrix} and t=(1,0,0)\mathbf{t} = (1, 0, 0),

E=(0000.60−0.8010),EET=(000010001)=I−ttT.E = \begin{pmatrix} 0 & 0 & 0 \\ 0.6 & 0 & -0.8 \\ 0 & 1 & 0 \end{pmatrix}, \qquad EE^{\mathsf T} = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} = I - \mathbf{t}\mathbf{t}^{\mathsf T} .
  • The singular values are (1,1,0)(1, 1, 0). An SVD with two rotations is U=(00−1010100)U = \begin{pmatrix} 0 & 0 & -1 \\ 0 & 1 & 0 \\ 1 & 0 & 0 \end{pmatrix} and V=(00.6−0.81000−0.8−0.6)V = \begin{pmatrix} 0 & 0.6 & -0.8 \\ 1 & 0 & 0 \\ 0 & -0.8 & -0.6 \end{pmatrix}; one can check that Udiag⁡(1,1,0)VT=EU\operatorname{diag}(1, 1, 0)V^{\mathsf T} = E and det⁡U=det⁡V=1\det U = \det V = 1.
  • ET(1,0,0)T=0E^{\mathsf T}(1, 0, 0)^{\mathsf T} = \mathbf{0} and E(0.8,0,0.6)T=0E(0.8, 0, 0.6)^{\mathsf T} = \mathbf{0}, with (0.8,0,0.6)=RTt(0.8, 0, 0.6) = R^{\mathsf T}\mathbf{t}.
  • The point X1=(0,0,5)\mathbf{X}_1 = (0, 0, 5) goes to X2=(4,0,4)\mathbf{X}_2 = (4, 0, 4); with x^1=(0,0,1)\hat{\mathbf{x}}_1 = (0, 0, 1) and x^2=(1,0,1)\hat{\mathbf{x}}_2 = (1, 0, 1), Ex^1=(0,−0.8,0)E\hat{\mathbf{x}}_1 = (0, -0.8, 0) and x^2TEx^1=0\hat{\mathbf{x}}_2^{\mathsf T}E\hat{\mathbf{x}}_1 = 0.
  • The same pose seen with K=(50003200500240001)K = \begin{pmatrix} 500 & 0 & 320 \\ 0 & 500 & 240 \\ 0 & 0 & 1 \end{pmatrix} in both cameras gives the matrix FF on the fundamental matrix page, and KTFKK^{\mathsf T}FK gives back EE up to scale.

Pure translation. With R=IR = I, E=[t]×E = [\mathbf{t}]_\times, a skew-symmetric matrix. For t=(0,0,1)\mathbf{t} = (0, 0, 1), E=(0−10100000)E = \begin{pmatrix} 0 & -1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix}, and the constraint reads u1v2−u2v1=0u_1v_2 - u_2v_1 = 0: the two image points and the image center lie on one line.

Non-examples.

  • E=0E = 0 (from t=0\mathbf{t} = \mathbf{0}, a camera that only rotates) is excluded by the definition. Such images have a homography, not an essential matrix.
  • G=diag⁡(1,2,0)G = \operatorname{diag}(1, 2, 0) has rank 2, so it is a fundamental matrix of some pair of cameras, but its nonzero singular values differ, so it is not essential. The cubic test sees this: GGTG=diag⁡(1,8,0)GG^{\mathsf T}G = \operatorname{diag}(1, 8, 0), tr⁡(GGT)=5\operatorname{tr}(GG^{\mathsf T}) = 5, and 2GGTG−5G=diag⁡(−3,6,0)≠02GG^{\mathsf T}G - 5G = \operatorname{diag}(-3, 6, 0) \ne 0.
  • G=diag⁡(3,1,0.5)G = \operatorname{diag}(3, 1, 0.5), a typical rank 3 output of a linear solve, is not essential. The closest essential matrix in the Frobenius norm is diag⁡(2,2,0)\operatorname{diag}(2, 2, 0), at distance 1+1+0.25=1.5\sqrt{1 + 1 + 0.25} = 1.5.
  • The complex matrix (1i0i−10000)\begin{pmatrix} 1 & i & 0 \\ i & -1 & 0 \\ 0 & 0 & 0 \end{pmatrix} satisfies det⁡E=0\det E = 0 and EET=0EE^{\mathsf T} = 0, so it passes the cubic test, but it has rank 1. It is not an essential matrix; the cubic test characterizes essential matrices only among real matrices.
  • Fundamental matrix: the same constraint in pixels, with 7 degrees of freedom. Every essential matrix is a fundamental matrix of the normalized images, but not the other way round.
  • Essential matrix characterization: the theorem that singular values (s,s,0)(s, s, 0), or the cubic equations, characterize real essential matrices.
  • Skew matrix of a vector and rotation group: the two factors of EE.
  • Relative pose problem: the problem of finding (R,t)(R, \mathbf{t}), usually through EE.
  • Homography: for a plane nTX1=d\mathbf{n}^{\mathsf T}\mathbf{X}_1 = d, the normalized homography H=R+tnT/dH = R + \mathbf{t}\mathbf{n}^{\mathsf T}/d satisfies E=[t]×HE = [\mathbf{t}]_\times H, because [t]×t=0[\mathbf{t}]_\times\mathbf{t} = \mathbf{0}.
  • Camera extrinsic parameters: the pose of each camera; (R,t)(R, \mathbf{t}) here is the pose of camera 2 relative to camera 1.

References

  1. H. C. Longuet-Higgins, A computer algorithm for reconstructing a scene from two projections, Nature 293, 1981, 133-135, the matrix of the bilinear constraint between the two images of a point, and the recovery of the motion from it
  2. Richard Hartley and Andrew Zisserman, Multiple View Geometry in Computer Vision, second edition, Cambridge University Press, 2004, Section 9.6, The essential matrix (the definition, Result 9.17 on the singular values, and Results 9.18 and 9.19 on the factorizations)
  3. Yi Ma, Stefano Soatto, Jana Kosecka and S. Shankar Sastry, An Invitation to 3-D Vision, Springer, 2004, Chapter 5, Section 5.1.1 (the epipolar constraint and the essential matrix) and Section 5.1.2 (elementary properties of the essential matrix)
  4. 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 conditions on the singular values of E

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/DJ7NTA/text.yaml