ArticleslgStudy

mathematics

Essential matrix

Essential matrix is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Essential matrix rather than just read about it. In short: 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 point…

Key takeaways

  • Essential matrix belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Essential matrix to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Essential matrix from memory before moving on to harder problems.

Reference excerpt

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.

Worked examples

Example 1 — a first encounter with Essential matrix

Start with the simplest possible case. Write down what Essential matrix claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Essential matrix before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Essential matrix ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Essential matrix

In research
Essential matrix appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Essential matrix in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Essential matrix is common in secondary-school and first-year university syllabi. It links to neighbouring topics Geometry in computer vision, so understanding it makes those chapters shorter.
In everyday life
Look for Essential matrix outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Essential matrix” →

How to study Essential matrix in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Essential matrix means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Essential matrix out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Essential matrix in simple terms?

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 (𝐲…

Why does Essential matrix matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Essential matrix?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Essential matrix.

Tags

  • Geometry in computer vision

Keep exploring