Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

RANSAC

A robust model-fitting procedure that repeatedly samples minimal point sets and keeps whichever fit gets the most support.

RANSAC (RANdom SAmple Consensus) fits a model in the presence of outliers by repeatedly drawing a minimal random sample of points, fitting a candidate model to that sample, counting how many of the remaining points agree with it within a tolerance (its inlier count), and keeping the candidate with the largest inlier consensus across many iterations. See the RANSAC consensus guarantee for how many iterations that takes to trust with a given confidence.

Examples

  • Fitting a homography from 200 noisy matches, RANSAC repeatedly samples 4 points, fits a candidate homography, and counts inliers, keeping whichever sampled fit wins the most support across many iterations.

Read the full section →
Graph settings

Calculator