Problemcore
Point cloud registration
Also called point set registration, scan matching, scan alignment.
Find the transformation, often a rigid motion, that best aligns one point cloud to another when the point correspondences are not known.
Point cloud registration is the problem of finding the transformation that best aligns a source point cloud to a target point cloud of the same scene, when it is not known which source point corresponds to which target point. The transformation is usually a rigid motion, a rotation and a translation, but it can also be a similarity, an affine map or a smooth deformation. This page states the general problem and compares the methods. Iterative closest point and its variants refine a pose from a start; Go-ICP searches all poses with a proof of optimality; feature-based methods such as TEASER and fast global registration need no start pose. Real-time correlative scan matching is one method for a special case from robotics: it aligns a 2D laser scan to a map by a search over a grid of poses on a rasterized likelihood table. When the correspondences are known, the problem becomes optimal superposition, which has a closed-form solution.
In plain words
Two scans of the same object are taken from different places. Each scan is a set of 3D points in the coordinates of its own sensor. To combine them, we must find how to turn and slide one scan so that it lies on top of the other.
The hard part is that we do not know which point in one scan is the same physical spot as which point in the other. The two scans also see different parts of the object and have noise. So registration has to find the pairs and the motion together.
Definition
Input. A source point set and a target point set in (or ), sometimes with normals, colors or other attributes per point. A class of transformations, by default the rigid motions with and (the special Euclidean group). A cost that measures how badly a transformed source fits the target.
Output. A transformation of least cost, or a good one when the least cost is too expensive to find.
The usual cost is the sum of squared distances from each transformed source point to its closest target point,
Other costs replace the squared distance by the distance to the tangent plane of the target (point-to-plane ICP), by a Mahalanobis distance (generalized ICP), by a robust function of the distance, or by a sum over only part of the points (trimmed ICP). Probabilistic forms model the target as a Gaussian mixture (coherent point drift) or as Gaussians per voxel (the normal distributions transform) and maximize a likelihood.
Variants
- Rigid, similarity and affine. The class can add a global scale (Umeyama 1991) or allow any affine map.
- Non-rigid. Non-rigid registration finds a deformation with a regularizer for smoothness, for example for faces or bodies.
- Partial overlap and outliers. Only part of each cloud has a partner in the other. Trimmed costs, robust costs and rejection of far pairs handle this.
- Many clouds. Registration of many scans at once spreads the error over all of them; it leads to pose graph optimization and bundle adjustment.
- 2D scans to maps. In robotics, a 2D laser scan is aligned to a map or to the previous scan, for example by real-time correlative scan matching or the normal distributions transform.
Known algorithms
| Method | Needs a start pose | Guarantee | Notes |
|---|---|---|---|
| ICP | yes | cost never rises; a fixed point | the standard refinement step |
| Point-to-plane ICP | yes | local; fast near a solution | needs target normals |
| Generalized ICP | yes | local | covariance per point |
| Trimmed ICP | yes | trimmed cost never rises | partial overlap |
| Normal distributions transform | yes | local | Gaussians per voxel, no closest points |
| Coherent point drift | yes, but a wide basin | local (EM) | also non-rigid |
| Go-ICP | no | within of the global minimum | slow; small clouds |
| RANSAC on feature matches | no | probabilistic | descriptors such as FPFH |
| 4PCS | no | probabilistic | four-point bases, no descriptors |
| Fast global registration | no | local in a robust cost | feature matches, no closest points |
| TEASER | no | certifiable under its noise model | many outliers |
A common pipeline uses two stages. A global method, usually feature matching with RANSAC, gives a coarse pose, and ICP or one of its variants refines it. The taxonomy of ICP variants lists the choices inside the refinement step.
| Algorithm | Time | Space | Properties | Code |
|---|---|---|---|---|
| Coherent point drift | Θ(N K n) worst · average | Θ(K n) extra | deterministicnot exactofflineiterative | 1 language |
| Fast global registration | Θ(N m) worst · average · best | Θ(m) extra | deterministicnot exactofflineiterative | 1 language |
| 4-points congruent sets | O(N (n^2 + k n^2)) worst | O(n^2 + k) extra | randomizednot exactofflineiterative | 1 language |
| Generalized ICP | O(n^2 log n + m^2 log m + N n (m + S)) worst · average | Θ(n + m) extra | deterministicnot exactofflineiterative | 1 language |
| Go-ICP | O(K T n m) worst · average | O(K + T + n) extra | deterministicnot exactofflineiterative | 1 language |
| Iterative closest point | Θ(N n m) worst · average | Θ(n) extra | deterministicnot exactofflineiterative | 1 language |
| Normal distributions transform | O(n + N m) worst · average | Θ(n) extra | deterministicnot exactofflineiterative | 1 language |
| Point-to-plane ICP | Θ(N n m) worst · average | Θ(n) extra | deterministicnot exactofflineiterative | 1 language |
| Robust point matching | Θ(N K n m) worst · average | Θ(n m) extra | deterministicnot exactofflineiterative | 1 language |
| TEASER | O(3^(m/3) + N m^2) worst · average | Θ(m^2) extra | deterministicnot exactofflineiterative | 1 language |
| Trimmed ICP | Θ(N n m) worst · average | Θ(n) extra | deterministicnot exactofflineiterative | 1 language |
Bounds
What is known about the solutions:
- Known pairs. If the pairs are given, the least squares rigid motion has a closed form by the SVD (Kabsch algorithm) or by a unit quaternion (quaternion superposition), in time. Umeyama (1991) adds the scale and the sign fix that keeps a proper rotation.
- A minimum exists. For the rigid cost above with finite , is continuous and grows without bound as grows, and is compact, so a least cost motion exists.
- It need not be unique. A symmetric shape, such as a cube, has many motions of the same cost. A plane, a sphere or a long cylinder leaves directions of motion that the points do not fix at all.
- The cost is not convex. has many local minima in the rotation, and it is not differentiable where a closest point changes. So local methods such as ICP find the global minimum only from a good start (see the ICP convergence theorem).
- Global search is possible but slow. Go-ICP finds a motion within a given gap of the global minimum by branch and bound, but its time grows quickly as falls and as the clouds grow.
- Exact copies are easy. If the source is an exact rigid copy of the target, with the same number of points, testing this and finding the motion is a problem of exact congruence, which algorithms of computational geometry solve in time in 3D. Noise, partial overlap and different sampling, which real scans always have, make this result inapplicable.
Applications
- Merging range scans into one model, before surface reconstruction.
- Odometry and mapping for robots and cars with lidar.
- Tracking of a depth camera, as in KinectFusion, which aligns each depth frame to a model by point-to-plane ICP.
- Inspection: alignment of a scanned part to its CAD model.
- Medical imaging: alignment of surfaces from different scans of a patient.
References
- Paul J. Besl and Neil D. McKay, A method for registration of 3-D shapes, IEEE Transactions on Pattern Analysis and Machine Intelligence 14(2), 1992, 239-256, The statement of rigid registration with unknown correspondences and the ICP algorithm
- Shinji Umeyama, Least-squares estimation of transformation parameters between two point patterns, IEEE Transactions on Pattern Analysis and Machine Intelligence 13(4), 1991, 376-380, The closed form least squares rotation, translation and scale when the correspondences are known
- Jiaolong Yang, Hongdong Li, Dylan Campbell and Yunde Jia, Go-ICP: A globally optimal solution to 3D ICP point-set registration, IEEE Transactions on Pattern Analysis and Machine Intelligence 38(11), 2016, 2241-2254, The global minimization of the ICP cost over all rigid motions by branch and bound
- Andriy Myronenko and Xubo Song, Point set registration: Coherent point drift, IEEE Transactions on Pattern Analysis and Machine Intelligence 32(12), 2010, 2262-2275, The probabilistic form of the problem, with rigid, affine and non-rigid transformations
- Richard Szeliski, Computer Vision, Algorithms and Applications, second edition, Springer, 2022, Section 13.2.1, Range data merging (ICP and its variants)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W1 outline |
|
Tag AQNFQ0 Edit this page History Report an error Markdown