RANSAC and Consensus Fitting
Calculate how sample size and inlier fraction affect consensus search and distinguish a fitted hypothesis from its final refit.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
An all-inlier sample has a predictable chance under a model
If each independently chosen sample element is an inlier with probability \(w\), a sample of size \(s\) is all inliers with probability \(w^s\). With \(N\) independent samples, the chance none is all inliers is \((1-w^s)^N\). For \(w=1/2,s=2\), each draw succeeds with probability one quarter and 17 draws make failure less than one percent under those assumptions. Nondegenerate samples and inlier detection still matter.
Evaluate each hypothesis against more than its generating points
Estimate the model from a small sample, count other observations within a meaningful error threshold, and refit using accepted inliers when suitable. Coincident solutions or biased correspondences can make count alone insufficient. Patch matching supplies candidate correspondences. Homographies give an example where a minimal sample can be geometrically degenerate.[1][2]