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
A generic point
has coordinates
and
in the two coordinate systems and is projected onto sensors 1 and 2 at points
and
, respectively, expressed in camera coordinates.
The image point 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
| (10.38) |
A generic point
expressed in sensor 1 coordinates and observed by that sensor can be projected into sensor 2 coordinates according to the equation
The equation of the epipolar line—the line in camera coordinates in the second sensor on which must lie—associated with the point
(observed and therefore expressed in the first sensor’s camera coordinates) is
There is, however, a relationship that directly links corresponding points in the two images without explicitly specifying the depth parameters . This constraint not only makes it possible to check whether two observations are compatible, but also to estimate the relative pose
between the two cameras from a set of correspondences.
If both sides of equation (10.40) are first multiplied vectorially by and then scalarly by
, we obtain
| (10.41) |
This step has a precise geometric interpretation. The resulting relationship expresses the fact that the vector , the optical ray associated with
, and the optical ray associated with
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
.
This formula expresses the relationship between corresponding points and
, represented as homogeneous camera coordinates, in a compact form:
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
The matrix 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
| (10.45) |
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
to relationship (10.44) gives
| (10.47) |
The Fundamental Matrix (Fundamental matrix) is defined (Faugeras and Hartley, 1992) as:
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 in the first image, the corresponding point
in the second image must lie on the epipolar line
| (10.49) |
The relationship between the Fundamental Matrix and the Essential Matrix is given by equation (10.46):
| (10.50) |
| (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.
is a
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:
|
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.