Algorithm Search⌘K

Stereo and dense reconstruction

Problems

  • Multi-view stereo

    Reconstruct a dense 3D surface, depth maps or point set from many images of a scene whose cameras are known, by finding the shape on which the images agree.

    Ω(N W H) worstcore
  • Stereo matching

    For each pixel of one rectified image, find the disparity of the matching pixel in the other image of a stereo pair.

    core
  • Shape from shading

    Recover the shape of a surface from the shading of one image under known light and reflectance. Without boundary data the first-order PDE is ill-posed.

    Ω(W H) worstadvanced

Algorithms

  • Block matching stereo

    Give each pixel the disparity whose window in the other image has the least sum of absolute or squared differences.

    Θ(W H D) worst · average · best1 languagesintro
  • Iterated conditional modes

    Minimize an MRF energy by setting each variable in turn to its best label given its neighbors, until nothing changes. Fast, but it stops at a local minimum that depends on the order.

    O(k L (n + m)) worst · average1 languagesintro
  • Census transform

    Replace each pixel by the bit string of whether each neighbor is darker than it, and match pixels by the Hamming distance of their strings.

    Θ(W H (r^2 + D)) worst · average · best1 languagescore
  • Dynamic programming stereo

    Match each pair of scanlines separately by dynamic programming over monotone matchings, with a cost for each occluded pixel, in O(W D) time per line.

    Θ(W H D) worst · average · best1 languagescore
  • Photometric stereo

    Recover a surface normal and albedo at each pixel from three or more images under known distant lights, by least squares on the Lambertian model.

    Θ(N W H) worst · average · best1 languagescore
  • Plane sweep stereo

    Warp the other images onto a series of planes through the scene by homographies, score photo-consistency at each, and give every pixel the depth of its best plane.

    Θ(D N W H) worst · average · best1 languagescore
  • Semi-global matching

    Sum, over 8 or 16 directions, 1D dynamic programs on the cost volume with small and large jump penalties, then take the best disparity per pixel.

    Θ(W H D R) worst · average · best1 languagescore
  • Stereo rectification

    Warp both images of a stereo pair by homographies so that epipolar lines become matching horizontal scanlines.

    Θ(W H) worst · average · best1 languagescore
  • Adaptive support weights

    Aggregate costs with weights that fall off with color difference and distance from the center pixel, like a bilateral filter on the cost volume.

    Θ(W H D r^2) worst · average · best1 languagesadvanced
  • Alpha-beta swap

    Minimize a multi-label energy with a semimetric pairwise term by repeated min cuts, each letting the sites labeled alpha or beta exchange those two labels. No constant factor bound.

    O(k L^2 (F + n + m)) worst · average1 languagesadvanced
  • Alpha-expansion

    Minimize a multi-label energy with a metric pairwise term by repeated min cuts, each letting any set of sites switch to one label alpha. Within 2c of the optimum, so 2 for Potts.

    O(k L (F + n + m)) worst · average1 languagesadvanced
  • Boykov-Kolmogorov max-flow algorithm

    An augmenting path max-flow algorithm that grows search trees from the source and the sink and repairs them after each augmentation instead of starting again. Fast on vision grids.

    O(m n C) worst · average1 languagesadvanced
  • Graph cut stereo

    Solve stereo by minimizing an energy with data, smoothness, occlusion and uniqueness terms over sets of pixel matches, by expansion moves that are each one minimum cut.

    O(k D (F + n)) worst · average1 languagesadvanced
  • Patch-based multi-view stereo

    Match features into small oriented patches, expand them into neighboring image cells and filter those that break visibility or have few neighbors, giving a dense set of patches on the surface.

    O(N^3 F^2 E s + R M N (N E s + k)) worst · average1 languagesadvanced
  • PatchMatch

    Find approximate nearest neighbor patches between two images by random initialization, propagation of good offsets to neighbors and random search around them.

    Θ(n p T log w) worst · average · best1 languagesadvanced
  • PatchMatch stereo

    Estimate a slanted disparity plane per pixel by PatchMatch propagation and random refinement, so that windows on slanted surfaces match well.

    Θ(T W H s log D) worst · average · best1 languagesadvanced
  • QPBO

    Minimize a non-submodular binary pairwise energy by a min cut on a doubled graph, labeling part of the variables with values that some optimum shares, and giving a lower bound.

    O(F + n + m) worst · average · best1 languagesadvanced
  • Shape from focus

    Take images at many focus settings and give each pixel the depth of the setting at which a local sharpness measure is largest, refined by a Gaussian fit.

    Θ(N W H) worst · average · best1 languagesadvanced
  • Space carving

    Remove voxels that fail a photo-consistency test until none fails. The result is the photo hull, the largest shape that explains all the calibrated input images.

    O(N W H n^4) worst · average1 languagesadvanced
  • TSDF fusion

    Fuse many depth images into a voxel grid by a weighted running average of truncated signed distances to the surface, then extract the zero level set as the fused surface.

    Θ(N n^3) worst · average · best1 languagesadvanced
  • Voxel coloring

    Visit voxels in layers of growing distance from the cameras and color each one whose still unexplained pixels agree. Needs no scene point inside the convex hull of the cameras.

    Θ(N W H n) worst · average · best1 languagesadvanced

Data structures

  • Cost volume

    A 3D array of matching costs indexed by pixel column, row and disparity, on which aggregation and optimization run.

    Θ(W H D) build1 languagescore

Techniques

  • Cost aggregation

    Replace each matching cost by a weighted sum of the costs at the same disparity over a support region, a box, an adaptive window or a tree, before choosing disparities.

    core
  • Left-right consistency check

    Compute disparity maps with each image as reference and invalidate the pixels whose two disparities do not map back to each other, which marks occlusions and many mismatches.

    core
  • Structured light scanning

    Project coded patterns, such as Gray codes or shifted sine waves, so that each camera pixel decodes its projector column, then intersect the two rays to get depth.

    core
  • Subpixel disparity refinement

    Fit a curve to the costs at the best integer disparity and its two neighbors and take the minimum of the curve as a fractional disparity.

    core
  • Depth map fusion

    Combine depth maps from many views into one consistent model, by voting, visibility reasoning or a volumetric function, removing outliers.

    advanced

Concepts

  • Depth from disparity

    For a rectified pair with focal length f and baseline b, a point with disparity d has depth Z = f b / d, so depth error grows as the square of depth.

    intro
  • Photo-consistency

    A 3D point is photo-consistent when the images that see it agree in color around its projections, the test on which multi-view stereo rests.

    core
  • Stereo matching cost

    A number that says how badly a left pixel matches a right pixel at a given disparity, such as an absolute difference, a census Hamming distance or mutual information.

    core

Definitions

  • Disparity

    The shift along the scanline between the images of one point in a rectified stereo pair, inversely proportional to its depth.

    intro
  • Visual hull

    The largest shape with the same silhouettes as an object from every view in a region. The cones of finitely many views give an outer bound on it.

    core

Theorems

  • Kolmogorov-Zabih representability theorem

    Only regular (submodular) binary energies can be represented by a cut. With terms of at most three variables, regularity is also sufficient, so one min cut minimizes them exactly.

    advanced

Models

  • 3D Gaussian splatting

    Represent a scene by many anisotropic 3D Gaussians with color, rendered by sorted alpha blending of their projections and fitted to posed images by gradients.

    research
  • Neural radiance field

    Represent a scene as a function from 3D position and direction to density and color, fitted to posed images by differentiable volume rendering.

    research