Quiz: matching descriptors

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


Q1. Nearest-neighbour matching gives every point of image 1 a partner. Why is that a problem?

Is every point of image 1 visible and detected in image 2?

Many points have no true partner: they lie outside the overlap, or the detector did not fire there in image 2. Nearest-neighbour matching still pairs them with something, so most of its matches can be wrong (24 % correct in the demo scene).


Q2. Match A has d_1 = 0.20, d_2 = 0.60; match B has d_1 = 0.30, d_2 = 0.32. Which passes the ratio test at 0.8, and what is B probably?

Compute the ratios.

A: 0.33, accepted. B: 0.94, rejected: two descriptors of image 2 are almost equally close, as on a repetitive texture or a common-looking corner. Its nearest is a coin toss.


Q3. Why is the ratio d_1/d_2 a better criterion than d_1 alone?

Are all features equally distinctive?

Distinctive features have large distances to all impostors, ordinary ones small distances. A single threshold on d_1 cannot serve both. d_2 measures how close the impostors of this feature come, so the ratio is a per-feature threshold.


Q4. What does the mutual check remove that the ratio test can miss?

Look at it from image 2.

Several points of image 1 picking the same point of image 2 (each with a fine ratio). The mutual check keeps only the pair where the point of image 2 picks the point of image 1 back.


Q5. 250 matches are accepted, 210 of them correct, and 400 correct matches were possible. Precision and recall?

Correct over accepted, correct over possible.

Precision 210/250 = 0.84, recall 210/400 = 0.525.


Q6. Why do exact k-d trees not help for 128-dimensional descriptors?

How many neighbouring cells does the search ball reach?

In high dimensions the nearest neighbour is hardly nearer than the others, so the ball around the query reaches very many cells and backtracking visits almost all leaves: no faster than brute force. Approximate search with a fixed leaf budget trades a few wrong neighbours for speed.


Q7. A culture is imaged at two time points with a stage drift. Which matches are correct as descriptors but wrong for the drift?

What moves besides the stage?

Matches on cells that moved or divided between the time points: the descriptor finds the same cell, but its displacement is not the drift. Geometry (RANSAC in the next unit) treats them as outliers if the static background provides enough matches.


Q8. (math) Show that mutual nearest-neighbour pairs never share a point.

Assume (i, j) and (i, j') are both mutual.

If (i, j) is mutual, j is i’s nearest; if (i, j') is mutual, j' is i’s nearest. With a unique nearest neighbour, j = j'. The same argument from the other side shows that no j is in two pairs. So the mutual pairs form a matching.