In 1981, Christopher Longuet-Higgins (Lon81) was the first to observe that a generic point expressed 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, and the analytical derivation is presented directly.
It has been noted several times that a point in an image subtends a line in space, and that this line, projected onto another image acquired by a camera at a different viewpoint, represents the epipolar line on which the corresponding point from the first image lies. This equation, which relates points in one image to lines in the other, can be expressed in matrix form.
Following Higgins's reasoning, the intrinsic-parameter matrix will be left implicit, and normalized camera coordinates will be used.
Without loss of generality, consider a system consisting of two cameras, with the first positioned and oriented with respect to the second by the projection matrix
, while the second is located at the origin of the reference frame and aligned with the axes, with projection matrix
. The same result can be obtained starting from two generic calibrated cameras, arbitrarily oriented and positioned with respect to a third reference frame, through relationships
and
, namely, the position of camera 1 with respect to reference frame 2.
A generic point
has coordinates
and
in the two different reference frames and is projected onto sensors 1 and 2 at the points, expressed in camera coordinates,
and
, respectively.
The image point identifies an optical ray in three-dimensional space passing through the projection center of the second camera. Since this center has been placed at the origin of the reference frame, the ray can be parameterized as
| (10.38) |
A generic point
expressed in the coordinates of sensor 1 and observed by that sensor can be projected into the coordinates of sensor 2 according to
The equation of the epipolar line, a line in camera coordinates in the second sensor and the locus of points on which must lie, associated with point
(observed and therefore expressed in the camera coordinates of the first sensor), is
There is, however, a relationship between points in the two cameras that eliminates parameters and, more importantly, makes it possible to reason in the reverse direction, namely, to determine the relative pose between the two cameras
from a list of corresponding points.
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 meaning. The resulting relationship expresses the fact that 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 reference frames through transformation
.
Using this formula, the relationships between corresponding points and
, represented as homogeneous camera coordinates, can be expressed in the very compact form
Finally, attention must be paid to the conventions adopted, since the literature contains no unique choice for the ordering of points in epipolar relationships.
In the case of relationship
Matrix , relating homogeneous points, is also homogeneous and is therefore defined up to a multiplicative factor.
The Essential Matrix has the following properties:
defined as the image of the other camera centre)
The Essential Matrix establishes relationships in camera coordinates and therefore, to use it in practice, points expressed in this particular reference frame must be available; that is, the intrinsic parameters of the cameras involved must be known.
The equation
| (10.45) |
It is nevertheless possible to introduce an additional relationship between image points that does not require explicit knowledge of the cameras' intrinsic parameters.
Applying the definition of homogeneous camera coordinates
in relationship (10.44) gives
| (10.47) |
The Fundamental Matrix (Fundamental matrix) is defined (Faugeras and Hartley, 1992) as:
If two points in the two images of the stereo pair represent the same world point, equation (10.48) must be satisfied.
The Fundamental Matrix narrows the search interval for correspondences between the two images because, by point-line duality, relationship (10.48) can be used to specify the locus of points in the second image where the point from the first image must be sought.
In fact, the equation of a line on which points and
must lie is given by
| (10.49) |
The relationship between the Fundamental Matrix and the Essential Matrix is, according to equation (10.46),
| (10.50) |
| (10.51) |
The Essential Matrix depends exclusively on the relative pose between the cameras, whereas the Fundamental Matrix depends on both the intrinsic parameters and the relative pose.
The Essential Matrix introduces constraints identical to those of the Fundamental Matrix but, although it was historically introduced before the Fundamental Matrix, it is a special case of the latter because it expresses the relationships in camera coordinates.
is a
rank-2 matrix, and 7 points are sufficient to determine it, since it has only 7 degrees of freedom (a multiplicative factor 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, however, a linear estimate of the matrix can 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 filter out possible outliers (for example, in RANSAC). Decomposing the Essential Matrix makes it possible to recover the relative pose between the two cameras10.2, thereby providing an approximate indication of the motion undergone by a camera moving through the world (motion stereo) or of the relative pose of two cameras in a stereo pair (relative auto-calibration).
Using the Essential Matrix makes it possible to recover the relative pose between two views. However, the length of the baseline joining the two pin-holes cannot be determined; only its direction can be recovered. Nevertheless, given the Essential Matrix, it is always possible to reconstruct the observed scene three-dimensionally up to a multiplicative factor: the ratios between distances are known, but not their absolute values. When the same scene is observed from more than two different views, this makes it possible to obtain a consistent three-dimensional reconstruction in which the unknown multiplicative factor remains the same for all views, thereby allowing all the individual reconstructions to be fused into a single reconstruction known up to the same scale factor.