RANSAC and Robust Verification
Minimal samples, residual thresholds, and adaptive iteration counts for fitting models among outliers.
Key Terms
Minimal SampleInlier ThresholdConsensus SetAdaptive IterationsConfidenceMSAC / PROSAC
Python Tools
OpenCVNumPyMatplotlib
Textbook Reference
Szeliski Ch.8Hartley & Zisserman Ch.4
Topics Covered
- 1Outlier-contaminated correspondences and the breakdown of least squares
- 2Minimal sample sets for lines, homographies, and fundamental matrices
- 3Residual definitions and choosing an inlier threshold from noise
- 4Probability of success and the adaptive iteration-count formula
- 5Refinement on the consensus set and variants such as MSAC and PROSAC
Learning Outcomes
- Derive the RANSAC iteration count from inlier ratio and target confidence
- Choose residuals and thresholds appropriate to a geometric model
- Combine RANSAC with a final least-squares refit on the inliers
Step-by-step walkthrough · Stage 1 of 8
How RANSAC finds and verifies a homography
Follow one concrete example from tentative matches to a robust alignment. Every matrix, residual, and score comes from the same data. Use ← → keys or the buttons.
● Tentative match◎ Sample / candidate● Inlier / final fit× Rejected / all-match fit
step 1 / 24
Start with tentative correspondences · Source features
Detect corners on a flat surface in image A. We will follow the same 24 feature points throughout this example.
Lecture PDFs
RANSAC and Robust Verification
The embedded PDF preview is disabled to reduce Vercel bandwidth usage. Open the lecture file directly in Google Drive for viewing, downloading, or presenting.