Local features and matching
Problems
- Feature matching
Given the features of two images, find the pairs that show the same scene point, usually by nearest neighbors in descriptor space and a filter of the doubtful ones.
intro
Algorithms
- Moravec corner detector
Score each pixel by the smallest sum of squared differences between its window and the window shifted by one pixel in four directions, and keep the local maxima.
1 languagesintro - BRIEF descriptor
Describe a keypoint by a string of n_d bits, each the result of one intensity comparison between two random points of a smoothed patch, and compare strings by Hamming distance.
1 languagescore - Difference-of-Gaussians detector
Find blobs as extrema in space and scale of the difference of adjacent Gaussian smoothed images, a cheap approximation of the scale-normalized Laplacian.
1 languagescore - FAST corner detector
Call a pixel a corner when n contiguous pixels of the 16 on a circle around it are all brighter or all darker by a threshold, tested in an order learned by a decision tree.
1 languagescore - Histogram of oriented gradients
Describe a window by histograms of gradient orientation over a grid of small cells, normalized over overlapping blocks of cells; with linear SVMs it became a standard pedestrian detector.
1 languagescore - Local binary patterns
Code each pixel by the signs of the differences to P neighbors on a circle, then describe a region by the histogram of the codes, often in the uniform or rotation invariant form.
1 languagescore - Maximally stable extremal regions
Find connected regions of a thresholded image whose area changes least as the threshold moves, computed for all thresholds with a union-find sweep.
1 languagescore - ORB features
FAST keypoints with an orientation from the intensity centroid and a BRIEF descriptor steered by that orientation, with test pairs learned for low correlation.
1 languagescore - Shi-Tomasi corner detector
Score each pixel by the smaller eigenvalue of its structure tensor and keep strong local maxima a minimum distance apart, the points a translation tracker follows well.
1 languagescore - Speeded up robust features
A scale-invariant detector and descriptor that approximates Hessian filters and Haar wavelet responses with box filters on an integral image.
1 languagescore - BRISK features
Scale-space AGAST keypoints with a binary descriptor from a fixed concentric sampling pattern, with long pairs giving the orientation and short pairs the bits.
1 languagesadvanced - Best bin first search
Approximate nearest neighbor search in a k-d tree that visits bins in order of distance from the query, from a priority queue, and stops after a fixed number of leaves.
1 languagesadvanced - DAISY descriptor
A dense descriptor that samples convolved orientation maps on concentric rings of points, so that it can be computed at every pixel quickly.
1 languagesadvanced - Determinant of Hessian detector
Find blobs as scale-space maxima of the scale-normalized determinant of the Hessian of the smoothed image.
1 languagesadvanced - Harris-Laplace detector
Find Harris corners at each scale and keep those whose scale is a maximum of the normalized Laplacian, giving scale-covariant corner points.
1 languagesadvanced - Harris-affine and Hessian-affine detectors
Detect Harris or Hessian points at their characteristic scale and refine each to an affine covariant ellipse by shape adaptation.
1 languagesadvanced - KAZE features
Detect and describe features in a nonlinear scale space built by anisotropic diffusion, which blurs within regions but keeps their boundaries.
1 languagesadvanced - Shape context
Describe each point of a shape by the log-polar histogram of the other points around it, then match two shapes by the least-cost assignment of chi-square costs between histograms.
1 languagesadvanced - LoFTR
Match two images without a detector, by transformer attention over coarse feature maps followed by a refinement of each match at a fine level.
1 languagesresearch - SuperGlue
Match two sets of keypoints with attention between and within the sets, then solve a partial assignment with a dustbin by Sinkhorn iterations.
1 languagesresearch - SuperPoint
A network that detects points and computes descriptors in one pass, trained on its own detections warped by random homographies, called homographic adaptation.
1 languagesresearch
Data structures
- Randomized k-d forest
Several k-d trees that split on dimensions chosen at random among those of highest variance, searched together through one priority queue for approximate neighbors.
1 languagesadvanced
Techniques
- Lowe's ratio test
Keep a match only when the distance to the nearest descriptor is much smaller than the distance to the second nearest, which rejects ambiguous matches.
1 languagescore - Mutual nearest neighbor matching
Keep a pair only when each feature is the nearest neighbor of the other in descriptor space.
1 languagescore - Automatic scale selection
Pick the scale of a feature at the extremum over scale of a derivative normalized by a power of the scale, so that the chosen scale follows the size of the structure.
advanced - RootSIFT
L1-normalize a SIFT vector and take the square root of each entry, so that the dot product of two results equals the Hellinger kernel of the originals.
1 languagesadvanced
Concepts
- Feature descriptor
A vector computed from the patch around a feature so that patches of the same scene point have close vectors and patches of different points have distant ones.
intro - Covariant and invariant local features
A detector is covariant when its regions move with the image under a class of transformations, and a descriptor is invariant when its value does not change under them.
core - Scale space
The family of images made by smoothing one image with Gaussians of growing width, so that structures of every size can be found at their own scale.
core
Definitions
- Detector repeatability
The fraction of features found in one image that are found again, at the corresponding place and shape, in a transformed image of the same scene.
core