RANSAC

Table of contents

  1. ▪ Overview
  2. ▪ Core idea
  3. ▪ Role in SLAM
  4. ▪ References

▪ Overview

Random Sample Consensus (RANSAC) is a robust estimation method for fitting a model when some measurements are incorrect. Measurements that agree with a candidate model within an error threshold are called inliers; the others are treated as outliers.

▪ Core idea

  1. Randomly select a small subset of measurements.
  2. Fit a candidate model using that subset.
  3. Check all measurements against the model and count its inliers.
  4. Repeat, keep the model with the strongest support, and refine it using its inliers.

▪ Role in SLAM

Visual SLAM can use RANSAC to handle incorrect feature matches during geometric estimation. Examples include estimating an essential matrix from matches between images, estimating camera pose with PnP from 3D-to-2D matches, and geometrically verifying candidate loop closures.

RANSAC is a general estimation tool used within a SLAM system. Its success depends on the model, error threshold, number of iterations, and proportion of inliers.

See Visual Features and Tracking for the observations being matched, and Loop-Closure Detection for revisit verification.

▪ References


This site uses Just the Docs, a documentation theme for Jekyll.