Expand description
Speeded-Up Robust Features (SURF).
SURF is a faster relative of SIFT built on the integral image, in which the sum of any axis-aligned rectangle costs four lookups regardless of its size. Following Bay et al. (2008):
- Detection. The determinant of the Hessian
Dxx Dyy − (0.9 Dxy)²is approximated with box filters of increasing size (9, 15, 21, 27, then 15, 27, 39, 51, … in octaves). Instead of shrinking the image, SURF grows the filter, so each scale costs the same. Local maxima over position and scale are refined with a quadratic fit. - Orientation. Haar-wavelet responses in a circle of radius
6sare weighted by a Gaussian and aπ/3window is slid around the circle; the window with the longest summed response gives the dominant orientation. - Descriptor. A
20s × 20ssquare aligned with that orientation is divided into 4×4 subregions of 5×5 Haar samples; each subregion contributes(Σdx, Σdy, Σ|dx|, Σ|dy|), giving a 64-vector normalised to unit length. (uprightskips orientation for speed when images are not rotated.)
The image is normalised to [0, 1] first, so the detection threshold is relative to its dynamic
range. The sign of the Laplacian (Dxx + Dyy) is stored so bright blobs on dark and dark on
bright are never matched.
See the book entry Local features.
Structs§
- Integral
Image - An integral image (summed-area table):
box_sumof any rectangle in four lookups. - Surf
Keypoint - A SURF keypoint with its descriptor.
- Surf
Params - SURF parameters.
Functions§
- surf
- Detects SURF keypoints and computes their descriptors.