Algorithm Search⌘K

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 P=(p1,…,pn)P = (p_1, \ldots, p_n) and a target point set Q={q1,…,qm}Q = \{q_1, \ldots, q_m\} in R3\mathbb{R}^3 (or R2\mathbb{R}^2), sometimes with normals, colors or other attributes per point. A class T\mathcal{T} of transformations, by default the rigid motions x↦Rx+tx \mapsto R x + t with R∈SO(3)R \in SO(3) and t∈R3t \in \mathbb{R}^3 (the special Euclidean group). A cost that measures how badly a transformed source fits the target.

Output. A transformation T∈TT \in \mathcal{T} 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,

E(T)=∑i=1nmin⁡j∣T(pi)−qj∣2.E(T) = \sum_{i=1}^n \min_j |T(p_i) - q_j|^2 .

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 T\mathcal{T} 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 ϵ\epsilon 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.

AlgorithmTimeSpacePropertiesCode
Coherent point driftΘ(N K n) worst · averageΘ(K n) extradeterministicnot exactofflineiterative1 language
Fast global registrationΘ(N m) worst · average · bestΘ(m) extradeterministicnot exactofflineiterative1 language
4-points congruent setsO(N (n^2 + k n^2)) worstO(n^2 + k) extrarandomizednot exactofflineiterative1 language
Generalized ICPO(n^2 log n + m^2 log m + N n (m + S)) worst · averageΘ(n + m) extradeterministicnot exactofflineiterative1 language
Go-ICPO(K T n m) worst · averageO(K + T + n) extradeterministicnot exactofflineiterative1 language
Iterative closest pointΘ(N n m) worst · averageΘ(n) extradeterministicnot exactofflineiterative1 language
Normal distributions transformO(n + N m) worst · averageΘ(n) extradeterministicnot exactofflineiterative1 language
Point-to-plane ICPΘ(N n m) worst · averageΘ(n) extradeterministicnot exactofflineiterative1 language
Robust point matchingΘ(N K n m) worst · averageΘ(n m) extradeterministicnot exactofflineiterative1 language
TEASERO(3^(m/3) + N m^2) worst · averageΘ(m^2) extradeterministicnot exactofflineiterative1 language
Trimmed ICPΘ(N n m) worst · averageΘ(n) extradeterministicnot exactofflineiterative1 language

Bounds

What is known about the solutions:

  • Known pairs. If the pairs (pi,qc(i))(p_i, q_{c(i)}) are given, the least squares rigid motion has a closed form by the SVD (Kabsch algorithm) or by a unit quaternion (quaternion superposition), in Θ(n)\Theta(n) time. Umeyama (1991) adds the scale and the sign fix that keeps a proper rotation.
  • A minimum exists. For the rigid cost EE above with finite QQ, EE is continuous and grows without bound as ∣t∣|t| grows, and SO(3)SO(3) 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. EE 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 ϵ\epsilon of the global minimum by branch and bound, but its time grows quickly as ϵ\epsilon 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 O(nlog⁡n)O(n \log n) 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

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW1 outline
  • Examples