Algorithm Search⌘K

Segmentation and recognition

Problems

  • Object recognition

    Say which known objects or object classes an image shows, from instance recognition of one particular object to recognition of a category.

    intro
  • Content-based image retrieval

    Given a query image, rank a large collection by how likely each image is to show the same object or scene.

    core
  • Instance segmentation

    Detect each object of the known classes in an image and give the exact set of its pixels, keeping objects of the same class apart.

    core
  • Interactive segmentation

    Cut an object out of an image from a few user inputs such as seeds, a box or boundary clicks, and update the result quickly each time the user corrects it.

    O(n^3) worstcore
  • Object detection

    Find every object of the known classes in an image and return for each a class, a bounding box and a confidence score.

    core
  • Semantic segmentation

    Assign a class label from a fixed set, such as road, car or sky, to every pixel of an image.

    core
  • Image matting

    Recover the opacity alpha of the foreground at each pixel, and often its color, from an image that is a blend alpha F + (1 - alpha) B and a trimap or scribbles.

    O(n^3) worstadvanced
  • Object proposal generation

    Produce a few hundred or thousand boxes or regions likely to contain some object, so that a detector need only classify those.

    advanced
  • Panoptic segmentation

    Give every pixel a class and, for countable things, an instance id, joining semantic and instance segmentation in one output.

    advanced
  • Visual place recognition

    Recognize from an image which known place it was taken at, by retrieval against a database of geotagged images under changes of light and season.

    advanced

Algorithms

  • Boykov-Jolly interactive graph cuts

    Segment an object from user seeds by a minimum s-t cut. Seeds are hard constraints, and new seeds reuse the old flow, so each correction gives a new global optimum fast.

    O(W^3 H^3) worst · average1 languagescore
  • Dalal-Triggs pedestrian detector

    Detect people by a linear SVM on HOG descriptors of sliding windows over an image pyramid, with hard negative mining during training.

    O(m d + k^2) worst · average1 languagescore
  • Eigenfaces

    Recognize aligned face images by projecting them on the leading principal components of a training set, found from a small M x M matrix, and taking the nearest class.

    O(M^2 P + M^3) worst · average · best1 languagescore
  • Generalized Hough transform

    Detect an arbitrary shape by having each edge point vote, through a table indexed by gradient direction, for the positions of the shape reference point.

    O(e m + W H) worst1 languagescore
  • Intelligent scissors

    Trace an object boundary interactively. A least cost path on the pixel graph, from a seed point to the cursor, snaps to edges; the cost mixes Laplacian zero crossings, gradient size and direction.

    O(W H log(W H)) worst · average1 languagescore
  • Non-maximum suppression for detections

    Sort detections by score, keep the best, drop every remaining box whose IoU with it exceeds a threshold, and repeat on what is left.

    Θ(n^2) worst1 languagescore
  • Closed-form matting

    Find a soft alpha matte from a few scribbles. Alpha is affine in the color in each small window, so F and B drop out and alpha solves one sparse linear system.

    O(W^3 H^3) worst · average1 languagesadvanced
  • Contour detection and hierarchical segmentation

    A boundary map whose thresholds give a nested hierarchy of segmentations. Build it from regions and edge strengths by merging the pair with the weakest mean boundary first.

    O(W H + R^2 log R) worst · average1 languagesadvanced
  • Fast R-CNN

    Compute the CNN features of an image once, pool each proposal from them by RoI pooling, and classify and regress all proposals in one network.

    O(R c (m + H)^2 + K R^2) worst1 languagesadvanced
  • Faster R-CNN

    Fast R-CNN with a region proposal network that scores and refines anchors on the shared feature map, making detection one trainable network.

    O(A log A + N P + K P^2) worst1 languagesadvanced
  • Fisher vector

    Represent an image by the gradient of the log-likelihood of its descriptors under a Gaussian mixture with respect to the means and variances, whitened and normalized.

    O(n K D) worst · best1 languagesadvanced
  • Fully connected CRF inference

    Mean field inference in a CRF with Gaussian pairwise terms between all pixel pairs, made linear time by high-dimensional filtering of messages.

    O(N L W H) worst · average · best1 languagesadvanced
  • Mask R-CNN

    Faster R-CNN with RoIAlign and a third head that predicts a binary mask per class for each detection, for instance segmentation.

    O(R C P^2 s^2 + R W H) worst1 languagesadvanced
  • Quick shift

    Mode seeking that links each pixel to its nearest neighbor of higher density in joint space and color, which builds a tree whose cut gives superpixels.

    O(W H k) worst · average · best1 languagesadvanced
  • R-CNN

    Detect objects by warping each selective search proposal to a fixed size, extracting CNN features, classifying them with SVMs and regressing the box.

    O(P S^2 + P C d + C P^2) worst1 languagesadvanced
  • Random walker segmentation

    Label each pixel with the seed label that a random walk from it most likely reaches first. The probabilities solve a sparse Laplacian system with the seeds as boundary values.

    O(W^3 H^3 + K W^2 H^2) worst · average1 languagesadvanced
  • Selective search

    Generate object proposals by greedily merging the most similar adjacent regions of an over-segmentation under several color spaces and similarity measures.

    O(p + n^2 (b + log n)) worst1 languagesadvanced
  • Single shot multibox detector

    Predict class scores and offsets for default boxes on several feature maps of different resolutions in one pass, followed by non-maximum suppression.

    O(C D^2) worst1 languagesadvanced
  • Soft-NMS

    Non-maximum suppression that lowers the scores of overlapping boxes by a function of their IoU instead of removing them, which helps with crowded objects.

    Θ(n^2) worst1 languagesadvanced
  • Spatial pyramid matching

    Compare images by histograms of visual words over grids of finer and finer cells, combined by a weighted histogram intersection kernel.

    O(M 4^L) dense1 languagesadvanced
  • VLAD

    Represent an image by summing, for each visual word, the residuals of the descriptors assigned to it, then normalizing the concatenated vector.

    O(n K D) worst · best1 languagesadvanced
  • YOLO

    Detect objects in one pass by having each cell of a grid over the image predict box coordinates, objectness and class scores directly.

    O(C S^4 B^2) worst1 languagesadvanced
  • DETR

    Predict a fixed set of boxes with a transformer and train by a Hungarian matching of predictions to objects, with no anchors and no non-maximum suppression.

    O(N C + N M^2) worst1 languagesresearch

Data structures

  • Vocabulary tree

    A tree from hierarchical k-means on descriptors that quantizes a feature in logarithmic time to one of millions of visual words.

    O(n k L D I) build1 languagesadvanced

Techniques

  • Sliding window detection

    Run a classifier on windows at every position and scale of an image pyramid and keep the windows it scores high, followed by non-maximum suppression.

    intro
  • Anchor boxes

    A fixed set of reference boxes of several scales and aspect ratios at each feature map position, from which a detector predicts offsets and scores.

    1 languagesadvanced
  • Average query expansion

    Average the representation of the query with those of top verified results and search again, which recalls views the first query missed.

    advanced
  • Bounding box regression

    Predict a box as offsets from a reference box: the center shift divided by the reference size, and the log of the width and height ratios.

    1 languagesadvanced
  • Feature pyramid network

    Build a pyramid of feature maps with strong semantics at every scale by a top-down path with lateral connections, and detect objects on each level.

    advanced
  • IoU-based anchor assignment

    Label each anchor positive when its IoU with some true box exceeds a high threshold or is the best for that box, negative below a low threshold, else ignored.

    1 languagesadvanced
  • Recognition by alignment

    Hypothesize a model pose from a minimal set of model to image matches and verify it by projecting the whole model and counting supporting features.

    advanced
  • RoI pooling

    Turn the feature cells under a box into a fixed grid by max pooling over rounded bins. RoIAlign, with bilinear samples and no rounding, is the different step of Mask R-CNN.

    1 languagesadvanced
  • Spatial verification

    Re-rank the top retrieved images by fitting a geometric transformation to their matches with the query and counting inliers.

    advanced

Definitions

  • Intersection over union

    The area of the intersection of two boxes or regions divided by the area of their union, the measure of how well a detection matches an object.

    1 languagesintro
  • Mean average precision for detection

    For each class, the area under the precision-recall curve of detections matched to objects at an IoU threshold, averaged over classes and often over thresholds.

    1 languagescore
  • Mean intersection over union

    The intersection over union of predicted and true pixels for each class, averaged over classes, the standard score for semantic segmentation.

    1 languagescore
  • Boundary F-measure

    The harmonic mean of precision and recall of predicted boundary pixels matched to human boundaries within a small distance by bipartite matching.

    1 languagesadvanced
  • Mumford-Shah functional

    An energy over a piecewise smooth image and a set of edges that weighs fit to the data, smoothness off the edges and the total edge length.

    advanced

Models

  • Bag of visual words

    Quantize local descriptors to a vocabulary of k-means centers and represent an image by its histogram of visual words, searched with an inverted file.

    core
  • Active appearance model

    A PCA model of landmark shape and of the texture warped to the mean shape, fitted to an image by updates computed from the texture residual.

    advanced
  • Active shape model

    A shape is the mean of aligned landmark sets plus a few PCA modes with bounded weights; it is fitted to an image by moving each landmark along its normal and projecting back.

    advanced
  • Deformable part model

    Score an object as a root HOG filter plus part filters at displaced positions minus a quadratic deformation cost, maximized fast with generalized distance transforms.

    advanced
  • Implicit shape model

    Detect objects by letting each matched codebook patch vote for the object center in a generalized Hough space and finding the maxima of the votes.

    advanced
  • Pictorial structures

    Model an object as parts joined by springs, and with a tree of springs find the best placement of all parts by dynamic programming over the tree.

    1 languagesadvanced