Quiz: describing a keypoint

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


Q1. Why does the descriptor not need to be invariant to rotation and zoom by itself?

What does the keypoint already know?

The keypoint carries a frame (x, y, \sigma, \theta) that moves with the image. The window is sampled in this frame (centred, size ∝ σ, turned by θ), so translation, zoom and rotation are removed before the descriptor is computed. The descriptor only has to tolerate what is left: lighting, small frame errors, deformation, noise.


Q2. An image is made twice as bright and 30 grey levels are added. What happens to a gradient-histogram descriptor (normalised), and to a binary descriptor?

Gradients of 2I + 30; the order of two intensities.

Neither changes. The gradients double (the offset disappears in the derivative), and normalising to length 1 removes the factor 2. In the binary descriptor every comparison I(\mathbf p) < I(\mathbf q) keeps its result under any increasing map.


Q3. Why a 4 × 4 grid of cells, and not one histogram for the whole window?

A disc and a ring can have the same histogram of directions.

One histogram forgets where the gradients are, so very different windows (a disc, a star, a ring) can look the same. The cells keep coarse positions (which quarter of the window) while still tolerating small shifts inside each cell: a compromise between distinctiveness and robustness.


Q4. Two 256-bit descriptors differ in 6 bits. Two unrelated ones typically differ in how many? Is the pair a likely match?

Each bit of two unrelated strings agrees with probability ½.

Unrelated: about 128 ± 8 bits. Six is 15 standard deviations below: almost certainly the same point (or a repeated pattern).


Q5. Without orientation assignment, a 90° rotation of the image makes the descriptor useless. Why?

What happens to the 8-bin histograms?

Every gradient turns by 90°, so every cell histogram shifts by two bins, and the cells themselves move to other places in the grid. The vector is a different one. With θ, the window is read relative to the dominant direction, which turns with the image, and the descriptor is the same again.


Q6. When would you choose a binary descriptor over a gradient histogram?

Size and speed against distinctiveness.

When speed and memory matter more than the last bit of accuracy: video, many images on a small device, real-time tracking. Gradient histograms are more distinctive and more robust to blur and viewpoint changes, which matters for accurate registration and 3D reconstruction.


Q7. Light-microscopy and electron-microscopy images of the same section are to be aligned. Why do standard descriptors often fail?

Is a bright structure bright in both?

The two modalities show different contrast: a structure bright in one can be dark or invisible in the other, so gradients reverse or disappear, and the descriptors of the same point differ. Options: sign-free orientation histograms, a few manual landmarks, or intensity-based registration with mutual information.


Q8. (math) Show that for unit vectors \|\mathbf a - \mathbf b\|^2 = 2 - 2\,\mathbf a\cdot\mathbf b.

Expand the square.

\|\mathbf a - \mathbf b\|^2 = \mathbf a\cdot\mathbf a - 2\,\mathbf a\cdot\mathbf b + \mathbf b\cdot\mathbf b = 1 - 2\,\mathbf a\cdot\mathbf b + 1. So the Euclidean distance and the dot product (the NCC of normalised patches) rank candidates in the same order.