# 正态分布变换

**正态分布变换（Normal Distributions Transform, NDT）** 是一种用于配准距离扫描和点云的扫描匹配算法：它将一次扫描或一张地图表示为栅格单元，每个单元存储一个正态（高斯）分布，局部建模测量到某一点的概率，并通过在该表示上数值优化得分来对齐第二帧扫描。该算法由[图宾根大学](https://www.edgepedia.org/zh/university-of-tubingen)的彼得·比伯（Peter Biber）和沃尔夫冈·斯特拉瑟（Wolfgang Straßer）在2003年IROS会议上关于二维激光扫描匹配的论文中提出，并在与马丁·马格努松（Martin Magnusson）博士论文相关的工作中扩展到三维，论文题为《三维正态分布变换——一种用于配准、表面分析和回环检测的高效表示》。<sup>[1](https://dblp.org/rec/conf/iros/BiberS03.html)</sup><sup> • </sup><sup>[2](https://github.com/PointCloudLibrary/pcl/blob/master/doc/tutorials/content/normal_distributions_transform.rst)</sup>

| 关键事实 | 详情 |
|---|---|
| 原始发表 | 比伯与斯特拉瑟，IROS 2003，第2743–2748页，DOI 10.1109/IROS.2003.1249285<sup>[1](https://dblp.org/rec/conf/iros/BiberS03.html)</sup> |
| 表示方法 | 平面（或空间）像占据栅格一样被细分为单元；每个单元存储一个正态分布，局部建模测量到某一点的概率<sup>[3](https://www.researchgate.net/publication/4045903_The_Normal_Distributions_Transform_A_New_Approach_to_Laser_Scan_Matching)</sup> |
| 关键特性 | 该变换产生分段连续且可微的概率密度，因此匹配可以使用牛顿算法，而无需建立显式的点对应关系<sup>[3](https://www.researchgate.net/publication/4045903_The_Normal_Distributions_Transform_A_New_Approach_to_Laser_Scan_Matching)</sup> |
| 典型PCL参数 | 体素分辨率1.0，More-Thuente步长0.1，变换epsilon 0.01，最大35次迭代<sup>[4](https://pcl-docs.readthedocs.io/en/latest/pcl/doc/tutorials/content/normal_distributions_transform.html)</sup> |
| 体素约束 | 分辨率必须足够大，使每个体素至少包含6个点，但又必须足够小，以唯一地描述环境<sup>[4](https://pcl-docs.readthedocs.io/en/latest/pcl/doc/tutorials/content/normal_distributions_transform.html)</sup> |
| 主要用途 | 移动机器人和自动驾驶车辆的相对位置跟踪、SLAM以及基于地图的定位<sup>[3](https://www.researchgate.net/publication/4045903_The_Normal_Distributions_Transform_A_New_Approach_to_Laser_Scan_Matching)</sup><sup> • </sup><sup>[5](https://www.egr.msu.edu/waves/papers/pdf/pang_2018_3d_scan_registration.pdf)</sup> |

## 变换的工作原理

NDT用目标的统计模型取代点对点对应关系。在原始二维建模方案中，平面被细分为单元，每个单元被赋予一个正态分布，局部建模测量到某一点的概率。其结果是一个分段连续且可微的概率密度。第二帧扫描的匹配通过搜索使该密度下各点似然最大化的位姿来实现，使用牛顿算法；无需在点或线等特征之间建立显式对应关系。<sup>[3](https://www.researchgate.net/publication/4045903_The_Normal_Distributions_Transform_A_New_Approach_to_Laser_Scan_Matching)</sup>

三维建模方案遵循相同的思路，但使用体素。目标点云的每个体素存储其所含点的统计数据——均值、协方差及相关量——点云被建模为一组多元高斯分布。这使得算法能够计算并优化体素内任意位置存在点的概率。<sup>[2](https://github.com/PointCloudLibrary/pcl/blob/master/doc/tutorials/content/normal_distributions_transform.rst)</sup> 点云库的实现根据离群值比例（默认0.55）和体素分辨率计算高斯拟合参数，遵循马格努松2009年博士论文中的公式，并使用[牛顿法](https://www.edgepedia.org/zh/newtons-method)和线搜索优化对齐。<sup>[6](https://pointcloudlibrary.gitlab.io/documentation/ndt_8hpp_source.html)</sup><sup> • </sup><sup>[7](https://deepwiki.com/PointCloudLibrary/pcl/7-processing-algorithms)</sup>

## 参数及其尺度调整

由于NDT使用体素化数据结构和线搜索，若干参数必须根据数据集进行尺度调整。在PCL教程中，变换epsilon——即变换向量[x, y, z, 横滚, 俯仰, 偏航]以米和弧度为单位的最小允许增量变化——设为0.01；当增量变化低于此阈值时，配准终止。步长0.1是More-Thuente线搜索允许的最大步长，该搜索在接近最优值时缩小步长；较大的最大步长能在较少的迭代中覆盖更远的距离，但存在过冲进入不良局部最小值的风险。分辨率1.0设定体素边长，是最依赖尺度的参数：它必须保证每个体素至少包含6个点，同时又要足够小以唯一地描述环境。适用于房间大小扫描的值，对于扫描咖啡杯等较小物体则需要显著减小。<sup>[4](https://pcl-docs.readthedocs.io/en/latest/pcl/doc/tutorials/content/normal_distributions_transform.html)</sup>

输入点云通常经过降采样以加速配准；目标点云无需滤波，因为体素栅格使用的是每个单元中点的统计数据而非单个点。<sup>[4](https://pcl-docs.readthedocs.io/en/latest/pcl/doc/tutorials/content/normal_distributions_transform.html)</sup> 生产系统选择类似的值：[Autoware](https://www.edgepedia.org/zh/autoware)的`ndt_scan_matcher`默认变换epsilon为0.01，步长为0.1，体素分辨率为2，最大迭代次数为30，线程数为4。<sup>[8](https://autowarefoundation.github.io/autoware_core/pr-602/localization/autoware_ndt_scan_matcher/)</sup>

## 变体

存在多个NDT变体系列。马丁·马格努松、安德烈亚斯·尼希特（Andreas Nüchter）、克里斯托弗·勒尔肯（Christopher Lörken）、阿希姆·J·利林塔尔（Achim J. Lilienthal）和约阿希姆·赫茨伯格（Joachim Hertzberg）在2009年ICRA会议上的一项研究中，在三维建图野外实验中比较了ICP与NDT，并提出了改进版NDT，其收敛域显著大于此前发表的版本。<sup>[9](https://portal.fis.tum.de/en/publications/evaluation-of-3d-registration-reliability-and-speed-a-comparison-/)</sup> 斯托扬诺夫（Stoyanov）、马格努松、安德烈亚松（Andreasson）和利林塔尔提出了一种分布到分布变体（D2D-NDT），最小化紧凑三维NDT表示之间的距离，配准速度比当时的最优水平快一个数量级，具有闭式协方差表达式和开源ROS实现。<sup>[10](https://journals.sagepub.com/doi/10.1177/0278364912460895)</sup> 其他工作将NDT与不同的优化器结合，例如DENDT将三维NDT与仿生差分进化算法配对，<sup>[11](https://www.researchgate.net/publication/318340515_DENDT_3D-NDT_scan_matching_with_Differential_Evolution)</sup> Open3D则提供了一个高斯-牛顿点到分布变体，最小化马哈拉诺比斯残差平方而非优化高斯得分。<sup>[12](https://www.open3d.org/docs/latest/tutorial/pipelines/ndt_registration.html)</sup> NDT表示也被用于配准之外的领域，例如作为NDT-Transformer场景识别网络的紧凑概率输入。<sup>[13](https://arxiv.org/abs/2103.12292)</sup>

## 应用

NDT广泛用于移动机器人和自动驾驶车辆基于预建地图的定位。在Autoware开源自动驾驶栈中，`ndt_scan_matcher`通过针对点云地图的扫描匹配来估计车辆位姿，通过蒙特卡罗服务估计初始位姿，并可选地添加正则化项，将解拉向GNSS提供的基准位置；它还支持动态加载周围地图瓦片，从而在内存限制内处理任意大的地图。<sup>[8](https://autowarefoundation.github.io/autoware_core/pr-602/localization/autoware_ndt_scan_matcher/)</sup> NDT扫描匹配也被用于校正车载多层扫描仪激光扫描中的畸变，方法是估计扫描周期内的传感器位姿并将扫描映射到世界坐标系。<sup>[14](https://www.jstage.jst.go.jp/article/transjsme/83/854/83_17-00061/_article/-char/en)</sup>

## 与ICP的性能比较

主要的替代方案——迭代最近点（ICP）——通过在两片点云之间生成最近邻对应关系来配准扫描，而NDT不需要显式的点对应关系，因为目标是体素结构中的一组正态分布。<sup>[15](https://onlinelibrary.wiley.com/doi/full/10.1002/rob.22392)</sup> 庞（Pang）及其同事在[密歇根州立大学](https://www.edgepedia.org/zh/michigan-state-university)和密歇根大学MCity测试设施进行的野外测试历时九个月，跨越夏、秋、冬三季，发现NDT比ICP更好地处理静态和动态环境变化等现实恶劣条件，且计算效率更高。<sup>[5](https://www.egr.msu.edu/waves/papers/pdf/pang_2018_3d_scan_registration.pdf)</sup> 一种考虑所有关联假设的2021年贝叶斯概率扫描匹配方法，报告了相比基于NDT和隐式移动最小二乘的方法在数值性能上的提升。<sup>[16](https://arxiv.org/abs/2106.04099)</sup>

## 脆弱性

由于NDT主要依赖预建地图中附近的激光雷达点云结构，它容易受到随时间累积的渐进式操纵的影响。[早稻田大学](https://www.edgepedia.org/zh/waseda-university)和德勤Tohmatsu Cyber的研究人员在2025年USENIX VehicleSec会议上的一项研究中，使用扩展卡尔曼滤波传感器融合模拟真实场景，确定目标物体选择和移动模式是定位误差的关键因素，并证实此类操纵可导致高达23米的误差，足以在端到端评估中导致车道偏离、漏检交通信号和意外侵入人行道。<sup>[17](https://www.usenix.org/conference/vehiclesec25/presentation/tanaka)</sup>

## References

1. [Peter Biber, Wolfgang Straßer (2003). The normal distributions transform: a new approach to laser scan matching. IROS 2003, dblp record.](https://dblp.org/rec/conf/iros/BiberS03.html)
2. [How to use Normal Distributions Transform, PCL tutorial (GitHub source, normal_distributions_transform.rst)](https://github.com/PointCloudLibrary/pcl/blob/master/doc/tutorials/content/normal_distributions_transform.rst)
3. [The Normal Distributions Transform: A New Approach to Laser Scan Matching (full text, ResearchGate)](https://www.researchgate.net/publication/4045903_The_Normal_Distributions_Transform_A_New_Approach_to_Laser_Scan_Matching)
4. [How to use Normal Distributions Transform, PCL 1.9.1 documentation](https://pcl-docs.readthedocs.io/en/latest/pcl/doc/tutorials/content/normal_distributions_transform.html)
5. [Pang, S. et al. (2018). 3D Scan Registration Based Localization for Autonomous Vehicles – A Comparison of NDT and ICP under Realistic Conditions. IEEE VTC 2018-Fall.](https://www.egr.msu.edu/waves/papers/pdf/pang_2018_3d_scan_registration.pdf)
6. [pcl::NormalDistributionsTransform implementation, ndt.hpp source](https://pointcloudlibrary.gitlab.io/documentation/ndt_8hpp_source.html)
7. [Processing Algorithms, DeepWiki PCL overview](https://deepwiki.com/PointCloudLibrary/pcl/7-processing-algorithms)
8. [autoware_ndt_scan_matcher, Autoware Core documentation](https://autowarefoundation.github.io/autoware_core/pr-602/localization/autoware_ndt_scan_matcher/)
9. [Magnusson, M. et al. (2009). Evaluation of 3D registration reliability and speed – A comparison of ICP and NDT. ICRA 2009, pp. 3907–3912.](https://portal.fis.tum.de/en/publications/evaluation-of-3d-registration-reliability-and-speed-a-comparison-/)
10. [Stoyanov, T. et al. (2012). Fast and accurate scan registration through minimization of the distance between compact 3D NDT representations. IJRR 31(12).](https://journals.sagepub.com/doi/10.1177/0278364912460895)
11. [Gonzalez Prieto, P. et al. (2017). DENDT: 3D-NDT scan matching with Differential Evolution. MED 2017.](https://www.researchgate.net/publication/318340515_DENDT_3D-NDT_scan_matching_with_Differential_Evolution)
12. [Normal Distributions Transform, Open3D 0.20.0 documentation](https://www.open3d.org/docs/latest/tutorial/pipelines/ndt_registration.html)
13. [NDT-Transformer: Large-Scale 3D Point Cloud Localisation using the Normal Distribution Transform Representation. arXiv:2103.12292.](https://arxiv.org/abs/2103.12292)
14. [Inui, K. et al. (2017). Distortion correction of laser point cloud from in-vehicle laser scanner based on NDT scan-matching. Transactions of the JSME 83(854).](https://www.jstage.jst.go.jp/article/transjsme/83/854/83_17-00061/_article/-char/en)
15. [Park et al. (2024). Uncertainty-aware LiDAR-based localization for outdoor mobile robots. Journal of Field Robotics.](https://onlinelibrary.wiley.com/doi/full/10.1002/rob.22392)
16. [Mendrzik, R., Meyer, F. (2021). Probabilistic Scan Matching: Bayesian Pose Estimation from Point Clouds. arXiv:2106.04099.](https://arxiv.org/abs/2106.04099)
17. [Tanaka, Y. et al. (2025). WIP: Understanding the Mechanisms Behind NDT-Based Localization Vulnerabilities in Autonomous Driving. USENIX VehicleSec 25, pp. 211–219.](https://www.usenix.org/conference/vehiclesec25/presentation/tanaka)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 机器人技术与自动化 › Robot software, AI, and methods › SLAM and visual odometry

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/normal-distributions-transform

English original: https://www.edgepedia.org/normal-distributions-transform
