ArticleslgStudy

computer science

Triangulation (computer vision)

Triangulation (computer vision) is a computer science 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 Triangulation (computer vision) rather than just read about it. In short: In computer vision, triangulation refers to the process of determining a point in 3D space given its projections onto two, or more, images. In order to solve this problem it is necessary to know the parameters of the camera projection function from 3D to 2D for the cameras involved, in the simplest case represented by the camera matrices.

Triangulation (computer vision) — main illustration
Triangulation (computer vision) — illustration

Key takeaways

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

Reference excerpt

In computer vision, triangulation refers to the process of determining a point in 3D space given its projections onto two, or more, images. In order to solve this problem it is necessary to know the parameters of the camera projection function from 3D to 2D for the cameras involved, in the simplest case represented by the camera matrices. Triangulation is sometimes also referred to as reconstruction or intersection. The triangulation problem is in principle trivial. Since each point in an image corresponds to a line in 3D space, all points on the line in 3D are projected to the point in the image. If a pair of corresponding points in two, or more images, can be found it must be the case that they are the projection of a common 3D point x. The set of lines generated by the image points must intersect at x (3D point) and the algebraic formulation of the coordinates of x (3D point) can be computed in a variety of ways, as is presented below. In practice, however, the coordinates of image points cannot be measured with arbitrary accuracy. Instead, various types of noise, such as geometric noise from lens distortion or interest point detection error, lead to inaccuracies in the measured image coordinates. As a consequence, the lines generated by the corresponding image points do not always intersect in 3D space. The problem, then, is to find a 3D point which optimally fits the measured image points. In the literature there are multiple proposals for how to define optimality and how to find the optimal 3D point. Since they are based on different optimality criteria, the various methods produce different estimates of the 3D point x when noise is involved.

Introduction

In the following, it is assumed that triangulation is made on corresponding image points from two views generated by pinhole cameras. The top image illustrates the epipolar geometry of a pair of stereo cameras of pinhole model. A point x (3D point) in 3D space is projected onto the respective image plane along a line (green) which goes through the camera's focal point, 𝐎1 and 𝐎2, resulting in the two corresponding image points 𝐲1 and 𝐲2. If 𝐲1 and 𝐲2 are given and the geometry of the two cameras are known, the two projection lines (green lines) can be determined and it must be the case that they intersect at point x (3D point). Using basic linear algebra that intersection point can be determined in a straightforward way. The bottom image shows the real case. The position of the image points 𝐲1 and 𝐲2 cannot be measured exactly. The reason is a combination of factors such as:

Geometric distortion, for example lens distortion, which means that the 3D to 2D mapping of the camera deviates from the pinhole camera model. To some extent these errors can be compensated for, leaving a residual geometric error. A single ray of light from x (3D point) is dispersed in the lens system of the cameras according to a point spread function. The recovery of the corresponding image point from measurements of the dispersed intensity function in the images gives errors. In a digital camera, the image intensity function is only measured in discrete sensor elements. Inexact interpolation of the discrete intensity function have to be used to recover the true one. The image points y1' and y2' used for triangulation are often found using various types of feature extractors, for example of corners or interest points in general. There is an inherent localization error for any type of feature extraction based on neighborhood operations. As a consequence, the measured image points are 𝐲'1 and 𝐲'2 instead of 𝐲1 and 𝐲2. However, their projection lines (blue) do not have to intersect in 3D space or come close to x. In fact, these lines intersect if and only if 𝐲'1 and 𝐲'2 satisfy the epipolar constraint defined by the fundamental matrix. Given the measurement noise in 𝐲'1 and 𝐲'2 it is rather likely that the epipolar constraint is not satisfied and the projection lines do not intersect. This observation leads to the problem which is solved in triangulation. Which 3D point xest is the best estimate of x given 𝐲'1 and 𝐲'2 and the geometry of the cameras? The answer is often found by defining an error measure which depends on xest and then minimizing this error. In the following sections, some of the various methods for computing xest presented in the literature are briefly described. All triangulation methods produce xest = x in the case that 𝐲1=𝐲'1 and 𝐲2=𝐲'2, that is, when the epipolar constraint is satisfied (except for singular points, see below). It is what happens when the constraint is not satisfied which differs between the methods.

Properties A triangulation method can be described in terms of a function τ such that

𝐱∼τ(𝐲'1,𝐲'2,𝐂1,𝐂2) where 𝐲'1,𝐲'2 are the homogeneous coordinates of the detected image points and 𝐂1,𝐂2 are the camera matrices. x (3D point) is the homogeneous representation of the resulting 3D point. The ∼ sign implies that τ is only required to produce a vector which is equal to x up to a multiplication by a non-zero scalar since homogeneous vectors are involved. Before looking at the specific methods, that is, specific functions τ, there are some general concepts related to the methods that need to be explained. Which triangulation method is chosen for a particular problem depends to some extent on these characteristics.

Singularities Some of the methods fail to correctly compute an estimate of x (3D point) if it lies in a certain subset of the 3D space, corresponding to some combination of 𝐲'1,𝐲'2,𝐂1,𝐂2. A point in this subset is then a singularity of the triangulation method. The reason for the failure can be that some equation system to be solved is under-determined or that the projective representation of xest becomes the zero vector for the singular points.

… excerpt ends here. Continue reading the full article.

Illustrations

Triangulation (computer vision) illustration

Worked examples

Example 1 — a first encounter with Triangulation (computer vision)

Start with the simplest possible case. Write down what Triangulation (computer vision) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, 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 Triangulation (computer vision) 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 Triangulation (computer vision) 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 Triangulation (computer vision)

In research
Triangulation (computer vision) appears in computer science 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 Triangulation (computer vision) 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
Triangulation (computer vision) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Geometry in computer vision, Stereophotogrammetry, so understanding it makes those chapters shorter.
In everyday life
Look for Triangulation (computer vision) 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 “Triangulation (computer vision)” →

How to study Triangulation (computer vision) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Triangulation (computer vision) 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 Triangulation (computer vision) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Triangulation (computer vision) in simple terms?

In computer vision, triangulation refers to the process of determining a point in 3D space given its projections onto two, or more, images. In order to solve this problem it is necessary to know the parameters of the camera projection function from 3D to 2D for the cameras involved, in the simplest…

Why does Triangulation (computer vision) matter?

Because it connects several computer science 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 Triangulation (computer vision)?

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 Triangulation (computer vision).

Tags

  • Geometry in computer vision
  • Stereophotogrammetry

Keep exploring