Quiz: two views, epipolar geometry and triangulation

Short questions to test your understanding. Try each on paper first, then open the answer.


Q1. Why does knowing the two cameras turn the search for a match from a 2D search into a 1D search?

Which plane contains the ray of the point and both camera centres?

The ray of the point and the two camera centres span the epipolar plane. The 3D point lies on the ray, so its image in camera 2 lies where this plane cuts image 2: a line (the epipolar line). The match need only be searched along that line.


Q2. A car drives straight ahead with a camera looking forward. Where are the epipoles of two successive frames, and what do the epipolar lines look like?

The epipole is the image of the other camera’s centre.

The other camera centre lies straight ahead (or behind) on the optical axis, so both epipoles are at the principal point (the focus of expansion). The epipolar lines radiate from it: every point streams outwards along a line through the image centre.


Q3. What is the difference between the essential matrix E and the fundamental matrix F? How many degrees of freedom does each have?

One works in pixels, the other in normalised (calibrated) coordinates.

E relates normalised coordinates K^{-1}\mathbf x and depends only on the relative rotation and the direction of the translation: 3 + 2 = 5 degrees of freedom. F = K'^{-\top}EK^{-1} relates pixel coordinates and includes both cameras’ intrinsics: 7 degrees of freedom (9 entries, minus scale, minus the rank-2 condition). F can be estimated without calibration.


Q4. Why do we normalise the point coordinates before the eight-point algorithm?

Look at the entries of one row (u'u, u'v, u', v'u, v'v, v', u, v, 1) for pixel coordinates of a few hundred.

The entries range from about 10^5 (u'u) down to 1, so the matrix is badly conditioned and small noise changes the null vector a lot. Shifting the points to mean 0 and scaling them to size about 1 makes all columns comparable; the result is then transformed back. It costs nothing and improves the estimate greatly.


Q5. Half of the matches are wrong. How many RANSAC iterations does the eight-point algorithm need for 99 % confidence, and how many does the five-point algorithm need?

N = \log(1 - p)/\log(1 - w^s).

s = 8: \log 0.01/\log(1 - 0.5^8) = 1177. s = 5: \log 0.01/\log(1 - 0.5^5) = 146.


Q6. From two photographs alone, can you tell whether a scene is a model house 1 m away or a real house 30 m away? What would decide it?

Scale everything (scene and camera positions) by the same factor.

No: a scene scaled by 30 and seen from camera positions scaled by 30 gives identical images. The relative pose from E has a translation of unknown length. A known length (the baseline between the cameras, a scale bar, a known object size) fixes the scale.


Q7. Two parallel cameras with f = 1000 px and baseline 0.2 m see a point with disparity 40 px. How far is it, and how much does the depth change if the disparity is 1 px smaller?

Z = fB/d.

Z = 1000 \cdot 0.2/40 = 5 m. With d = 39: 200/39 = 5.13 m, 0.13 m more (the rule Z^2/(fB) = 25/200 = 0.125 m per pixel agrees).


Q8. Why is a triangulated point much less certain in depth than sideways, and what can you do about it?

Draw the two thin wedges of one-pixel uncertainty.

The two rays meet at a small angle, so the region where the two wedges overlap is long along the viewing direction and narrow across it. Increase the angle between the rays: a wider baseline, a closer object, or a third camera from a different direction.


Q9. (math) Show that E = [\mathbf t]_\times R is singular. Which vector is in its null space?

[\mathbf t]_\times\mathbf t = \mathbf t \times \mathbf t.

E(R^\top\mathbf t) = [\mathbf t]_\times RR^\top\mathbf t = \mathbf t \times \mathbf t = 0, so R^\top\mathbf t \ne 0 is a null vector and \det E = 0. Up to sign it is the direction to the other camera centre, seen from camera 1: the epipole.