Plane fitting in a point cloud
A depth camera on a mobile robot sees the floor, and finding it is often the first step of obstacle detection. The floor is a plane with unit normal , and three points that are not collinear determine it, so . The residual of a point is its distance to the plane, which is one-dimensional, so the threshold is at 95%, as it was for the line. The synthetic cloud below has 300 floor points with 1 cm of noise on a slightly tilted plane, 150 points on the faces of two boxes standing on the floor, and 50 points scattered at random.Homographies: four correspondences
The homographies section estimates a planar homography from point correspondences with RANSAC. A homography has parameters, and each correspondence gives two equations, so a minimal sample is correspondences. That section runs 400 trials with a threshold of 0.20 on the reprojection error, and reports that RANSAC accepted 25 of 36 correspondences, an inlier ratio of 0.694. Its synthetic destination points have Gaussian noise with standard deviation 0.08 in each coordinate. The results of the previous section explain both settings.RANSAC and ICP
The scan registration section aligns two point clouds with the iterative closest point algorithm (ICP) (Besl & McKay, 1992). ICP alternates two steps: pair every point of one scan with its nearest neighbor in the other, then solve for the rigid motion that best aligns the pairs. This is the same loop as k-means. The nearest-neighbor pairing is a hard assignment like , and the rigid fit plays the role of recomputing the cluster means. ICP is hard EM over correspondences, and variants that weight every candidate pair by a probability are EM proper. Like k-means and EM, it climbs to the nearest local optimum and needs a good starting alignment. On matched features, such as descriptor matches between two scans or two images, RANSAC draws minimal samples of correspondences (three for a rigid motion in 3D). It needs no starting alignment and tolerates many wrong matches, but its accuracy is limited by the matches it keeps. Registration pipelines therefore use both: RANSAC on feature matches gives a coarse global alignment, and ICP refines it on all the points. The correspondence estimation section uses the same split for SLAM: descriptor matches are checked against the geometry, and only the matches that pass go to the filter. Key references: (Hartley & Zisserman, 2004; Besl & McKay, 1992)References
- Besl, P., McKay, N. (1992). A method for registration of 3-D shapes. IEEE Trans. Pattern Anal. Mach. Intell.
- Hartley, R., Zisserman, A. (2004). Multiple View Geometry in Computer Vision.
Found an error on this page? Report an issue.

