Normal distributions transform

From HandWiki

The normal distributions transform (NDT) is a point cloud registration algorithm introduced by Peter Biber and Wolfgang Straßer in 2003, while working at University of Tübingen. The algorithm registers two point clouds by first associating a piecewise normal distribution to the first point cloud, that gives the probability of sampling a point belonging to the cloud at a given spatial coordinate, and then finding a transform that maps the second point cloud to the first by maximising the likelihood of the second point cloud on such distribution as a function of the transform parameters.

Originally introduced for 2D point cloud map matching in simultaneous localization and mapping (SLAM) and relative position tracking,[1] the algorithm was extended to 3D point clouds[2] and has wide applications in computer vision and robotics. NDT is very fast and accurate, making it suitable for application to large scale data, but it is also sensitive to initialisation, requiring a sufficiently accurate initial guess, and for this reason it is typically used in a coarse-to-fine alignment strategy.[3][4][5]

Formulation

The NDT function associated to a point cloud is constructed by partitioning the space in regular cells. For each cell, it is possible to define the mean [math]\displaystyle{ \textstyle \mathbf{q} = \frac{1}{n} \sum_i \mathbf{x_i} }[/math] and covariance [math]\displaystyle{ \textstyle \mathbf{S} = \frac{1}{n} \sum_i \left(\mathbf{x}_i - \mathbf{q}\right) \left(\mathbf{x}_i - \mathbf{q}\right)^\top }[/math] of the [math]\displaystyle{ n }[/math] points of the cloud [math]\displaystyle{ \mathbf{x}_1, \dots, \mathbf{x}_n }[/math] that fall within the cell. The probability density of sampling a point at a given spatial location [math]\displaystyle{ \mathbf{x} }[/math] within the cell is then given by the normal distribution

[math]\displaystyle{ e^{-\frac{1}{2} \left(\mathbf{x} - \mathbf{q}\right)^\top \mathbf{S}^{-1} \left(\mathbf{x} - \mathbf{q}\right)} }[/math] .

Two point clouds can be mapped by a Euclidean transformation [math]\displaystyle{ f }[/math] with rotation matrix [math]\displaystyle{ \mathbf{R} }[/math] and translation vector [math]\displaystyle{ \mathbf{t} }[/math]

[math]\displaystyle{ f_{\mathbf{R}, \mathbf{t}}(\mathbf{x}) = \mathbf{R} \mathbf{x} + \mathbf{t} }[/math]

that maps from the second cloud to the first, parametrised by the rotation angles and translation components.

The algorithm registers the two point clouds by optimising the parameters of the transformation that maps the second cloud to the first, with respect to a loss function based on the NDT of the first point cloud, solving the following problem

[math]\displaystyle{ \arg\min_{\mathbf{R}, \mathbf{t}} \left\{ -\sum_i \operatorname{NDT} \left( f_{\mathbf{R}, \mathbf{t}} \left( \mathbf{x_i} \right) \right) \right\} }[/math]

where the loss function represents the negated likelihood, obtained by applying the transformation to all points in the second cloud and summing the value of the NDT at each transformed point [math]\displaystyle{ f_{\mathbf{R}, \mathbf{t}}(\mathbf{x}) }[/math]. The loss is piecewise continuous and differentiable, and can be optimised with gradient-based methods (in the original formulation, the authors use Newton's method).

In order to reduce the effect of cell discretisation, a technique consists of partitioning the space into multiple overlapping grids, shifted by half cell size along the spatial directions, and computing the likelihood at a given location as the sum of the NDTs induced by each grid.[1]

References

  1. 1.0 1.1 (Biber Straßer)
  2. (Magnusson 2009)
  3. (Dong et al. 2020)
  4. (Li Wang)
  5. (Cheng et al. 2018)

Sources

  • Biber, Peter; Straßer, Wolfgang (2003). "The normal distributions transform: A new approach to laser scan matching". 3. 
  • Cheng, Liang; Chen, Song; Liu, Xiaoqiang; Xu, Hao; Wu, Yang; Li, Manchun; Chen, Yanming (2018). "Registration of laser scanning point clouds: A review". Sensors (Multidisciplinary Digital Publishing Institute) 18 (5): 1641. doi:10.3390/s18051641. PMID 29883397. Bibcode2018Senso..18.1641C. 
  • Dong, Zhen; Liang, Fuxun; Yang, Bisheng; Xu, Yusheng; Zang, Yufu; Li, Jianping; Wang, Yuan; Dai, Wenxia et al. (2020). "Registration of large-scale terrestrial laser scanner point clouds: A review and benchmark". ISPRS Journal of Photogrammetry and Remote Sensing (Elsevier) 163: 327–342. doi:10.1016/j.isprsjprs.2020.03.013. Bibcode2020JPRS..163..327D. 
  • Li, Leihui; Wang, Riwei; Zhang, Xuping (2021). "A Tutorial Review on Point Cloud Registrations: Principle, Classification, Comparison, and Technology Challenges". Mathematical Problems in Engineering (Hindawi) 2021. 
  • Magnusson, Martin (2009). The three-dimensional normal-distributions transform: an efficient representation for registration, surface analysis, and loop detection (Ph.D.). Örebro universitet.

External links