Algorithm Search⌘K

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.

    O(m n D) worstintro

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.

    O(W H r^2) worst · average · best1 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.

    O(W H + k d) worst · average · best1 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.

    O(s W H) worst · average · best1 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.

    O(W H n) worst1 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.

    O(W H + W H B / c^2) worst · average · best1 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.

    O(W H P + 2^P P) worst · average · best1 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.

    O(N α(N) + M T) worst · average · best1 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.

    O(W H log(W H) + n m) worst · average1 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.

    O(W H r + K log K + K N) worst · average1 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.

    O(W H + n) worst · average · best1 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.

    O(W H + n q) worst · average · best1 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.

    O(E log n (d + log(E log n)) + E log k) worst · average1 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.

    O(W H B Q (R + T)) worst · average · best1 languagesadvanced
  • Determinant of Hessian detector

    Find blobs as scale-space maxima of the scale-normalized determinant of the Hessian of the smoothed image.

    O(K W H r) worst · average · best1 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.

    O(K W H r) worst · average · best1 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.

    O(P K r^3) worst · average1 languagesadvanced
  • KAZE features

    Detect and describe features in a nonlinear scale space built by anisotropic diffusion, which blurs within regions but keeps their boundaries.

    O(N W H + n) worst · average · best1 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.

    O(n^2 + m^2 + n m K + (n + m)^3) worst · average · best1 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.

    O(M N d + K w^2 d) worst · average · best1 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.

    O(T M N) worst · average · best1 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.

    O(W H log(W H) + K r^2 + K C) worst · average1 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.

    O(T d n h) build1 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