In computer vision, the essential matrix is a 3×3 matrix, 𝐄 that relates corresponding points in stereo images assuming that the cameras satisfy the pinhole camera model.
Function More specifically, if 𝐲 and 𝐲′ are homogeneous normalized image coordinates in image 1 and 2, respectively, then
(𝐲′)⊤𝐄𝐲=0 if 𝐲 and 𝐲′ correspond to the same 3D point in the scene (not an "if and only if" due to the fact that points that lie on the same epipolar line in the first image will get mapped to the same epipolar line in the second image). The above relation which defines the essential matrix was published in 1981 by H. Christopher Longuet-Higgins, introducing the concept to the computer vision community. Richard Hartley and Andrew Zisserman's book reports that an analogous matrix appeared in photogrammetry long before that. Longuet-Higgins' paper includes an algorithm for estimating 𝐄 from a set of corresponding normalized image coordinates as well as an algorithm for determining the relative position and orientation of the two cameras given that 𝐄 is known. Finally, it shows how the 3D coordinates of the image points can be determined with the aid of the essential matrix.
Use The essential matrix can be seen as a precursor to the fundamental matrix, 𝐅. Both matrices can be used for establishing constraints between matching image points, but the essential matrix can only be used in relation to calibrated cameras since the inner camera parameters (matrices 𝐊 and 𝐊′) must be known in order to achieve the normalization. If, however, the cameras are calibrated the essential matrix can be useful for determining both the relative position and orientation between the cameras and the 3D position of corresponding image points. The essential matrix is related to the fundamental matrix with
𝐄=(𝐊′)⊤𝐅𝐊.
Derivation and definition This derivation follows the paper by Longuet-Higgins. Two normalized cameras project the 3D world onto their respective image planes. Let the 3D coordinates of a point P be (x1,x2,x3) and (x'1,x'2,x'3) relative to each camera's coordinate system. Since the cameras are normalized, the corresponding image coordinates are
(y1y2)=1x3(x1x2) and (y'1y'2)=1x'3(x'1x'2) A homogeneous representation of the two image coordinates is then given by
(y1y21)=1x3(x1x2x3) and (y'1y'21)=1x'3(x'1x'2x'3) which also can be written more compactly as
𝐲=1x3𝐱~ and 𝐲′=1x'3𝐱~′ where 𝐲 and 𝐲′ are homogeneous representations of the 2D image coordinates and 𝐱~ and 𝐱~′ are proper 3D coordinates but in two different coordinate systems. Another consequence of the normalized cameras is that their respective coordinate systems are related by means of a translation and rotation. This implies that the two sets of 3D coordinates are related as
𝐱~′=𝐑(𝐱~−𝐭) where 𝐑 is a 3×3 rotation matrix and 𝐭 is a 3-dimensional translation vector. The essential matrix is then defined as:
where [𝐭]× is the matrix representation of the cross product with 𝐭. Note: Here, the transformation [𝐑T|𝐭] will transform points in the 2nd view to the 1st view. For the definition of 𝐄 we are only interested in the orientations of the normalized image coordinates (See also: Triple product). As such we don't need the translational component when substituting image coordinates into the essential equation. To see that this definition of 𝐄 describes a constraint on corresponding image coordinates multiply 𝐄 from left and right with the 3D coordinates of point P in the two different coordinate systems:
𝐱~'T𝐄𝐱~=(1)𝐱~T𝐑T𝐑[𝐭]×𝐱~=(2)𝐱~T[𝐭]×𝐱~=(3)0
Insert the above relations between 𝐱~′ and 𝐱~ and the definition of 𝐄 in terms of 𝐑 and 𝐭. 𝐑T𝐑=𝐈 since 𝐑 is a rotation matrix. Properties of the matrix representation of the cross product. Finally, it can be assumed that both x3 and x'3 are > 0, otherwise they are not visible in both cameras. This gives
0=(𝐱~′)T𝐄𝐱~=1x'3(𝐱~′)T𝐄1x3𝐱~=(𝐲′)T𝐄𝐲 which is the constraint that the essential matrix defines between corresponding image points.
Properties Not every arbitrary 3×3 matrix can be an essential matrix for some stereo cameras. To see this notice that it is defined as the matrix product of one rotation matrix and one skew-symmetric matrix, both 3×3. The skew-symmetric matrix must have two singular values which are equal and another which is zero. The multiplication of the rotation matrix does not change the singular values which means that also the essential matrix has two singular values which are equal and one which is zero. The properties described here are sometimes referred to as internal constraints of the essential matrix. If the essential matrix 𝐄 is multiplied by a non-zero scalar, the result is again an essential matrix which defines exactly the same constraint as 𝐄 does. This means that 𝐄 can be seen as an element of a projective space, that is, two such matrices are considered equivalent if one is a non-zero scalar multiplication of the other. This is a relevant position, for example, if 𝐄 is estimated from image data. However, it is also possible to take the position that 𝐄 is defined as
𝐄=[𝐭~]×𝐑 where 𝐭~=−𝐑𝐭, and then 𝐄 has a well-defined "scaling". It depends on the application which position is the more relevant. The constraints can also be expressed as
det𝐄=0 and
2𝐄𝐄T𝐄−tr(𝐄𝐄T)𝐄=0. Here, the last equation is a matrix constraint, which can be seen as 9 constraints, one for each matrix element. These constraints are often used for determining the essential matrix from five corresponding point pairs. The essential matrix has five or six degrees of freedom, depending on whether or not it is seen as a projective element. The rotation matrix 𝐑 and the translation vector 𝐭 have three degrees of freedom each, in total six. If the essential matrix is considered as a projective element, however, one degree of freedom related to scalar multiplication must be subtracted leaving five degrees of freedom in total.
… excerpt ends here. Continue reading the full article.