Algorithm Search⌘K

Projective and multiple view geometry

Problems

  • Homography estimation

    Find the homography that best maps one set of image points to another, from at least four point pairs in general position.

    core
  • Image stitching

    Combine overlapping photographs into one seamless image by aligning them with homographies or rotations and blending the overlaps.

    core
  • Perspective-n-point

    Find the pose of a calibrated camera from n known 3D points and their image projections.

    core
  • Point triangulation

    Find the 3D point whose projections best match its observed image points in two or more views with known cameras.

    core
  • Relative pose estimation

    Find the rotation and the direction of translation between two calibrated cameras from matched image points.

    core
  • Robust model fitting

    Fit a model such as a homography or an essential matrix to data that contain a large fraction of outliers, which ordinary least squares cannot tolerate.

    core

Algorithms

  • Midpoint triangulation

    Take the midpoint of the shortest segment between the two back-projected rays; simple and fast, but not affine or projective invariant.

    Θ(1) worst · average · best1 languagesintro
  • RANSAC

    Fit a model to many random minimal samples of the data, count the data within a threshold of each model, and keep the model with the largest consensus set.

    Θ(k n) worst · average · best1 languagesintro
  • Direct linear transformation for homography

    Stack two linear equations per point pair into a system Ah = 0 and take h as the right singular vector of A of least singular value.

    Θ(n) worst · average · best1 languagescore
  • Eight-point algorithm

    Estimate the essential or fundamental matrix linearly from eight or more matches by SVD, then enforce rank 2 by zeroing the smallest singular value.

    Θ(n) worst · average · best1 languagescore
  • Linear triangulation

    Stack the cross product equations x × PX = 0 of all views and take X as the singular vector of least singular value.

    Θ(m) worst · average · best1 languagescore
  • Normalized eight-point algorithm

    The eight-point algorithm run on Hartley-normalized points and mapped back by F = T2^T G T1. The normalization makes the linear system well conditioned and the result stable.

    Θ(n) worst · average · best1 languagescore
  • P3P

    Solve the pose from three point pairs by finding the distances to the three points from a quartic equation, giving up to four solutions.

    Θ(n) worst · average · best1 languagescore
  • Pose recovery from the essential matrix

    Factor E by SVD into four candidate rotation and translation pairs and keep the one that puts triangulated points in front of both cameras.

    Θ(n) worst · average · best1 languagescore
  • EPnP

    Write each 3D point as a weighted sum of four control points and solve linearly for the control points in the camera frame, an O(n) solution of PnP.

    Θ(n) worst · average · best1 languagesadvanced
  • Five-point algorithm

    Find the up to ten essential matrices consistent with five calibrated matches by solving a polynomial of degree 10 built from the cubic essential matrix constraints.

    Θ(n) worst · average · best1 languagesadvanced
  • Hartley-Sturm optimal triangulation

    Find the two-view triangulation of least reprojection error exactly, by reducing it to the roots of a degree 6 polynomial over the pencil of epipolar lines.

    Θ(1) worst · average · best1 languagesadvanced
  • Homography decomposition

    Recover the rotation, the scaled translation and the plane normal from a calibrated homography of a plane, up to a few solutions told apart by visibility.

    Θ(n) worst · average · best1 languagesadvanced
  • LO-RANSAC

    RANSAC that, each time a sample gives a new best model, refines it by least squares fits on its inliers, so the number of samples comes close to the count the formula predicts.

    Θ(k n) worst · average · best1 languagesadvanced
  • MLESAC

    RANSAC that scores each model by the likelihood of a mixture of Gaussian inliers and uniform outliers; for each model, EM estimates only the mixing weight.

    Θ(k m n) worst · average · best1 languagesadvanced
  • MSAC

    RANSAC that scores a model by a truncated quadratic cost of the residuals instead of the inlier count, so it prefers models that fit the inliers well.

    Θ(k n) worst · average · best1 languagesadvanced
  • Multi-band blending

    Blend two images by blending each level of their Laplacian pyramids with a mask smoothed to the same level, so low frequencies mix widely and high ones narrowly.

    Θ(W H + N) worst · average · best1 languagesadvanced
  • PROSAC

    RANSAC that draws samples first from the matches of best quality and grows the pool over time, which finds a good model much sooner when the ranking is good.

    Θ(k n + n²) worst · average · best1 languagesadvanced
  • Preemptive RANSAC

    Generate a fixed set of hypotheses, score them on the data in random order, and keep only the better half after each block of data, so the time is fixed in advance.

    O(M (c + 2B) + M log M + N) worst · average · best1 languagesadvanced
  • Seven-point algorithm

    Estimate the fundamental matrix from seven matches by taking the 2D null space of the linear system and solving the cubic det F = 0, giving one or three solutions.

    Θ(1) worst · average · best1 languagesadvanced
  • J-linkage

    Fit several models at once: describe each point by the set of random hypotheses it supports, then cluster the points agglomeratively by the Jaccard distance.

    Θ(n^3 M) worst1 languagesresearch
  • MAGSAC

    RANSAC with no inlier threshold, scoring and refining each model by marginalizing a robust cost over a range of noise scales.

    Θ(k n) worst · average · best1 languagesresearch

Techniques

  • Hartley normalization

    Translate and scale the points of each image so that their centroid is the origin and their mean distance is sqrt(2) before a linear estimate, which makes it stable.

    core
  • Stratified reconstruction

    Upgrade a projective reconstruction to an affine one by finding the plane at infinity, then to a metric one by finding the absolute conic.

    advanced

Concepts

  • Hierarchy of planar transformations

    The nested groups of Euclidean, similarity, affine and projective maps of the plane, each with more freedom and fewer invariants than the one before.

    intro
  • Algebraic and geometric error

    The residual of a linear equation such as Ah = 0 is cheap to minimize but has no geometric meaning; the image distance is meaningful but needs nonlinear optimization.

    core
  • Cheirality

    The condition that reconstructed points lie in front of the cameras that see them, which removes the false solutions of many geometric problems.

    core
  • Epipolar geometry

    The geometry of two views of one scene. A point in one image must have its match on a line in the other image, and all these lines pass through the image of the other camera center.

    core
  • Critical configurations of two views

    Point and camera arrangements, such as points on a ruled quadric through the camera centers, for which the two-view reconstruction is not unique.

    advanced
  • Minimal solver

    An algorithm that finds all models consistent with the fewest data that fix them, often by solving a polynomial system, as used inside RANSAC.

    advanced

Definitions

  • Homography

    An invertible map of the projective plane given by a 3 by 3 matrix up to scale; it relates two images of a plane and two images taken from one center.

    intro
  • Projective plane

    The plane plus a line of points at infinity, modeled as the lines through the origin of 3-space, in which any two distinct lines meet in exactly one point.

    intro
  • Reprojection error

    The image distance between a measured point and the projection of its estimated 3D point by the estimated camera, the usual cost in geometric vision.

    intro
  • Cross-ratio

    A number computed from four collinear points that every projective transformation preserves, the basic invariant of projective geometry.

    core
  • Essential matrix

    The matrix E = [t]x R of two calibrated views, with x2^T E x1 = 0 for matching normalized image points. It has 5 degrees of freedom and singular values (s, s, 0).

    core
  • Fundamental matrix

    The rank 2 matrix F of two uncalibrated views, defined up to scale, with x2^T F x1 = 0 for every pair of matching pixels x1 in image 1 and x2 in image 2. It has 7 degrees of freedom.

    core
  • Sampson distance

    A first-order approximation of the geometric distance of a point to a variety, the algebraic residual divided by the norm of its gradient.

    advanced
  • Trifocal tensor

    A 3 by 3 by 3 tensor that relates points and lines in three views, playing for three views the role that the fundamental matrix plays for two.

    advanced

Theorems

  • RANSAC iteration bound

    If a sample of s items is all inliers with probability w^s, independently, then ceil(log(1-p)/log(1-w^s)) samples give one with probability at least p. With noise the count is optimistic.

    core
  • Characterization of essential matrices

    A nonzero real 3 by 3 matrix is essential exactly when its singular values are (s, s, 0), or exactly when det E = 0 and 2 E E^T E - tr(E E^T) E = 0. Minimal solvers use these cubics.

    advanced
  • Projective reconstruction theorem

    From image matches alone the cameras and points of uncalibrated views are fixed only up to a projective transformation of space, and no better.

    advanced