Essential and Fundamental Matrices

In 1981, Christopher Longuet-Higgins (Lon81) was the first to observe that a generic point in world coordinates, its corresponding points in camera coordinates, and the pin-holes must be coplanar. The geometric derivation of the relationships between these points is omitted; instead, we present the analytical derivation directly.

As noted several times, a point in an image defines a line in the world, and the projection of that world line onto another image, acquired by a camera at a different viewpoint, is the epipolar line on which the corresponding point in the first image lies. This equation, which relates points in one image to lines in the other, can be expressed in matrix form.

To follow Longuet-Higgins’s reasoning, we omit the intrinsic-parameter matrix and use normalized camera coordinates.

Without loss of generality, consider a system consisting of two cameras. Let the coordinate system be that of the second camera, whose projection center is therefore at the origin and whose axes coincide with those of the coordinate system. The pose of the first camera relative to the second is described by the rotation

\begin{displaymath}\mathbf{R}=\prescript{2}{}{\mathbf{R}}_{1} \end{displaymath}

and the translation $\mathbf{t}$, which represents the position of camera 1’s optical center in the coordinate system of camera 2.

A generic point $\mathbf{x} \in \mathbb{R}^3$ has coordinates $\mathbf{x}_1$ and $\mathbf{x}_2$ in the two coordinate systems and is projected onto sensors 1 and 2 at points $\mathbf{m}_1$ and $\mathbf{m}_2$, respectively, expressed in camera coordinates.

The image point $\mathbf{m}_2$ defines an optical ray in three-dimensional space passing through the projection center of the second camera. Since this center is at the origin of the coordinate system, the ray can be parameterized as

\begin{displaymath}
\mathbf{x}_2 = \lambda_2 \mathbf{m}_2, \qquad \lambda_2 > 0.
\end{displaymath} (10.38)

A generic point $\mathbf{x}_1 = \lambda_1 \mathbf{m}_1$ expressed in sensor 1 coordinates and observed by that sensor can be projected into sensor 2 coordinates according to the equation

\begin{displaymath}
\mathbf{x}_2 = \prescript{2}{}{ \mathbf{R}_1 } \mathbf{x}_1 + \mathbf{t}
\end{displaymath} (10.39)

The equation of the epipolar line—the line in camera coordinates in the second sensor on which $\mathbf{m}_2$ must lie—associated with the point $\mathbf{m}_1$ (observed and therefore expressed in the first sensor’s camera coordinates) is

\begin{displaymath}
\lambda_2 \mathbf{m}_2 = \lambda_1 \prescript{2}{}{ \mathbf{R}_1 } \mathbf{m}_1 + \mathbf{t}
\end{displaymath} (10.40)

The locus of homogeneous points $\mathbf{m}_2$ is obtained by varying the parameter $\lambda_1$, and this line in $\mathbb{R}^3$ is also a line in $\mathbb{R}^2$. If two points are indeed corresponding points, the system is solvable, and the parameters $\lambda_1$ and $\lambda_2$ can be recovered (this is an example of three-dimensional reconstruction by triangulation, as discussed in Section 10.3.1).

There is, however, a relationship that directly links corresponding points in the two images without explicitly specifying the depth parameters $\lambda$. This constraint not only makes it possible to check whether two observations are compatible, but also to estimate the relative pose $\left( \mathbf{R}, \mathbf{t} \right)$ between the two cameras from a set of correspondences.

If both sides of equation (10.40) are first multiplied vectorially by $\mathbf{t}$ and then scalarly by $\mathbf{m}^{\top}_{2}$, we obtain

\begin{displaymath}
\lambda_2 \mathbf{m}^{\top}_{2} \left( \mathbf{t} \times \ma...
...thbf{m}^{\top}_{2} \left( \mathbf{t} \times \mathbf{t} \right)
\end{displaymath} (10.41)

The properties of the vector product $\mathbf{t} \times \mathbf{t}=\textbf{0}$ and scalar product $\mathbf{m}_2 \cdot \left( \mathbf{t} \times \mathbf{m}_2 \right)=0$ can be applied to this relationship.

This step has a precise geometric interpretation. The resulting relationship expresses the fact that the vector $\mathbf{t}$, the optical ray associated with $\mathbf{m}_2$, and the optical ray associated with $\prescript{2}{}{\mathbf{R}_1}\mathbf{m}_1$ lie in the same epipolar plane. In other words, the two projection centers and the observed three-dimensional point are coplanar. The rigidity assumption also makes it possible to relate the coordinates of the same point in the two coordinate systems through the transformation $(\mathbf{R}, \mathbf{t})$.

This formula expresses the relationship between corresponding points $\mathbf{m}_1$ and $\mathbf{m}_2$, represented as homogeneous camera coordinates, in a compact form:

\begin{displaymath}
\mathbf{m}^{\top}_{2} \left( \mathbf{t} \times \mathbf{ R } \mathbf{m}_1 \right) = 0
\end{displaymath} (10.42)

Finally, denoting the cross product in matrix form by $[\mathbf{t}]_{\times}$, a skew-symmetric matrix (Section 1.8), we can collect the various terms into the matrix
\begin{displaymath}
\mathbf{E} = [\mathbf{t}]_{\times} \mathbf{R} = \mathbf{R} \left[ \mathbf{R}^{\top} \mathbf{t} \right]_{\times}
\end{displaymath} (10.43)

where $\mathbf{R}=\prescript{2}{}{\mathbf{R}_1}$ and $\mathbf{t}$ have the meanings introduced in equation (10.39): $\mathbf{R}$ transforms coordinates from the camera 1 coordinate system to the camera 2 coordinate system, while $\mathbf{t}$ represents the position of camera 1’s optical center in the camera 2 coordinate system. This defines a linear relationship between the camera points in the two views:
\begin{displaymath}
\mathbf{m}^{\top}_{2} \mathbf{ E } \mathbf{m}_1 = 0
\end{displaymath} (10.44)

The matrix $\mathbf{E}$ is called the Essential Matrix and encodes the relative pose of the two cameras up to a scale factor on the translation.

Care must be taken with the conventions used, since the literature does not adopt a single ordering of points in epipolar relationships. For the relationship

\begin{displaymath}\mathbf{m}_2^{\top}\mathbf{E}\mathbf{m}_1 = 0, \end{displaymath}

, the matrix $\mathbf{E}=[\mathbf{t}]_{\times}\mathbf{R}$ is constructed using the rotation $\mathbf{R}$ and translation $\mathbf{t}$ that transform coordinates from the camera 1 coordinate system to the camera 2 coordinate system.

The matrix $\mathbf{E}$ relates homogeneous points and is therefore itself homogeneous, defined up to a multiplicative factor.

The Essential Matrix has the following properties:

The Essential Matrix defines relationships in camera coordinates, so in practice its use requires points expressed in this particular coordinate system—that is, the intrinsic parameters of the cameras involved must be known.

The equation

\begin{displaymath}
\mathbf{m}^{\top}_{2} \left( \mathbf{ E } \mathbf{m}_1 \right) = 0
\end{displaymath} (10.45)

expresses the epipolar constraint between observations $\mathbf{m}_1$ and $\mathbf{m}_2$ of the same three-dimensional point.

It is, however, possible to introduce another relationship between image points that does not require explicit knowledge of the cameras’ intrinsic parameters.

Applying the definition of homogeneous camera coordinates $\mathbf{p} = \mathbf{K} \mathbf{m}$ to relationship (10.44) gives

\begin{displaymath}
\mathbf{p}^{\top}_2 \mathbf{K}^{-\top}_{2} \mathbf{E} \mathb...
...{1} \mathbf{p}_1 = \mathbf{p}^{\top}_2 \mathbf{F} \mathbf{p}_1
\end{displaymath} (10.46)

and hence
\begin{displaymath}
\mathbf{F} = \mathbf{K}^{-\top}_{2} \mathbf{E} \mathbf{K}^{-1}_{1}
\end{displaymath} (10.47)

The Fundamental Matrix (Fundamental matrix) is defined (Faugeras and Hartley, 1992) as:

\begin{displaymath}
\mathbf{p}^{\top}_{2} \mathbf{ F } \mathbf{p}_1 = 0
\end{displaymath} (10.48)

where $\mathbf {p}_1$ and $\mathbf {p}_2$ are homogeneous coordinates of corresponding points in the first and second images, respectively.

If points in the two images of a stereo pair represent the same world point, equation (10.48) must be satisfied.

The Fundamental Matrix narrows the search range for correspondences between the two images. By the point-line duality, relationship (10.48) gives the geometric locus of possible corresponding points. Indeed, given a point $\mathbf {p}_1$ in the first image, the corresponding point $\mathbf {p}_2$ in the second image must lie on the epipolar line

\begin{displaymath}
\begin{array}{l}
\mathbf{l}_2 = \mathbf{F} \mathbf{p}_1 \\
\mathbf{l}_1 = \mathbf{F}^{\top} \mathbf{p}_2 \\
\end{array}\end{displaymath} (10.49)

where $\mathbf{l}_1$ and $\mathbf{l}_2$ represent the epipolar lines in the first and second images, respectively, in implicit form.

The relationship between the Fundamental Matrix and the Essential Matrix is given by equation (10.46):

\begin{displaymath}
\mathbf{E} = \mathbf{K}^{\top}_{2} \mathbf{F} \mathbf{K}_{1}
\end{displaymath} (10.50)

or, conversely,
\begin{displaymath}
\mathbf{F} = \mathbf{K}^{-\top}_{2} \mathbf{E} \mathbf{K}^{...
...\top}_{2} [\mathbf{t}]_{\times} \mathbf{R} \mathbf{K}^{-1}_{1}
\end{displaymath} (10.51)

The Essential Matrix depends only on the relative pose of the cameras, whereas the Fundamental Matrix depends on both the intrinsic parameters and the relative pose.

The Essential Matrix imposes the same constraints as the Fundamental Matrix. Although it was introduced historically before the Fundamental Matrix, it is a special case of the latter because it expresses relationships in camera coordinates.

$\mathbf{F}$ is a $3 \times 3$ rank-2 matrix and can be determined from just 7 points, since it has only 7 degrees of freedom (homogeneity and the zero determinant reduce the dimensionality of the problem). The relationship between the Fundamental Matrix and its 7 degrees of freedom is nonlinear10.1. With (at least) 8 points, a linear estimate of the matrix can instead be obtained, as described in the next section.

The Fundamental Matrix has the following properties:

Figure 10.3: The Fundamental Matrix identifies the epipolar lines in the right image on which the points corresponding to points in the left image lie.
Image fig_fundamental

The Fundamental and Essential Matrices can be used to narrow the search for corresponding points between two images and/or to filter out outliers (for example, in RANSAC). Once decomposed, the Essential Matrix also makes it possible to estimate the relative pose of two cameras10.2. This information can be used both to estimate the motion of a camera moving through a scene (motion stereo or visual odometry) and to determine the relative pose of two cameras observing the same scene, as in calibration or self-calibration procedures.

The Essential Matrix can be used to recover the relative pose between two views. However, the length of the baseline between the two pin-holes cannot be determined—only its direction. Nevertheless, given the Essential Matrix, the observed scene can always be reconstructed in three dimensions up to a multiplicative factor: the ratios between distances are known, but their absolute values are not. When the same scene is observed from more than two different views, this still makes it possible to obtain a consistent three-dimensional reconstruction in which the unknown multiplicative factor is the same for all views, allowing all the individual reconstructions to be combined into a single reconstruction known up to the same scale factor.



Footnotes

... nonlinear10.1
The constraint $\det(\mathbf F)=0$ introduces a nonlinear cubic relationship between the matrix elements.
... cameras10.2
As shown in the following sections, decomposing the Essential Matrix yields four possible geometric configurations, and the translation is determined only up to a scale factor.


Subsections
Paolo medici
2026-10-19