# 刚性图像配准

刚性图像配准确定平移和旋转，使物体一个视图中的点与另一视图中的对应点对齐，产生的是几何映射而非融合图像；融合是单独的步骤，且需要先进行配准。<sup>[1](https://helios2.mi.parisdescartes.fr/~lomn/Cours/CV/BME/Registration/registration3.pdf)</sup> 刚性情形将该映射限制为六个自由度——三个平移和三个旋转，常用于医学影像中，将同一患者的结构性MRI或CT扫描与功能性fMRI或PET扫描对齐。<sup>[2](https://www.ncbi.nlm.nih.gov/books/NBK597490/)</sup>

| 关键事实 | 详情 |
|---|---|
| 变换模型 | 六个参数：3个旋转和3个平移；刚性变换保持所有距离不变，是仿射变换的子集<sup>[3](https://yanivresearch.info/writtenMaterial/rigidRegistrationIGIBook.pdf)</sup><sup> • </sup><sup>[4](https://www.fil.ion.ucl.ac.uk/spm/doc/books/hbf2/pdfs/Ch2.pdf)</sup> |
| 多模态度量 | 互信息，不同模态图像的首选度量<sup>[5](https://docs.itk.org/projects/doxygen/en/latest/RegistrationPage.html)</sup> |
| 模态内度量 | 差值平方和，通过高斯-牛顿优化最小化<sup>[4](https://www.fil.ion.ucl.ac.uk/spm/doc/books/hbf2/pdfs/Ch2.pdf)</sup> |
| 基于点的解 | 三个或更多非共线点时解唯一；最小二乘闭式解，平移 \( t = \mu_{\mathrm{r}} - R(\mu_{\mathrm{l}}) \)<sup>[3](https://yanivresearch.info/writtenMaterial/rigidRegistrationIGIBook.pdf)</sup> |
| 典型精度 | CT/MR和PET配准达到亚体素级；TG-132测试中最大误差低于1.3毫米和1度<sup>[6](https://doi.org/10.1109/42.563664)</sup><sup> • </sup><sup>[7](https://aapm.onlinelibrary.wiley.com/doi/10.1002/acm2.12348)</sup> |
| 临床地位 | 刚性配准在临床操作中占据主导地位<sup>[8](https://elastix.dev/marius/downloads/2016_j_MedIA.pdf)</sup> |

## 工作原理

配准被视为一个优化问题：找到使移动图像与固定图像对齐的空间映射。<sup>[9](https://itk.org/ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch3.html)</sup> 在SimpleITK中，固定到移动的映射由三个变换复合而成，\( p_{\mathrm{moving}} = T_{\mathrm{m}}(T_{\mathrm{opt}}(T_{\mathrm{f}}^{-1}(p_{\mathrm{fixed}}))) \)。<sup>[10](https://simpleitk.readthedocs.io/en/latest/registrationOverview.html)</sup> 三维刚性变换完全由六个参数确定；ITK的Rigid3D变换用四元数表示旋转。<sup>[3](https://yanivresearch.info/writtenMaterial/rigidRegistrationIGIBook.pdf)</sup><sup> • </sup><sup>[5](https://docs.itk.org/projects/doxygen/en/latest/RegistrationPage.html)</sup>

相似性度量编码了“对齐”的含义。在同一模态内，配准通常最小化图像间的差值平方和。<sup>[4](https://www.fil.ion.ucl.ac.uk/spm/doc/books/hbf2/pdfs/Ch2.pdf)</sup> [互相关](https://www.edgepedia.org/zh/cross-correlation)对相对强度偏移具有鲁棒性，而SSD则不然；在没有强度偏移的情况下，归一化互相关作为代价函数等价于SSD。<sup>[2](https://www.ncbi.nlm.nih.gov/books/NBK597490/)</sup> 对于不同模态，互信息（MI）衡量的是已知一幅图像后另一幅图像的不确定性减少了多少，使用香农熵 \( H(A) = -\sum_i p(a_i)\log(p(a_i)) \) 和 \( I(X;Y) = H(X) + H(Y) - H(X,Y) \)。<sup>[5](https://docs.itk.org/projects/doxygen/en/latest/RegistrationPage.html)</sup><sup> • </sup><sup>[11](https://eprints.qut.edu.au/17908/15/17908.pdf)</sup> MI方法被称为多模态配准中的领先技术。<sup>[12](https://www.math.tau.ac.il/~turkel/imagepapers/registration_survey.pdf)</sup> 由于熵的范围取决于图像大小，且图像重叠量会使MI产生偏倚，常使用归一化变体 \( \Upsilon(x,y) = (h(x)+h(y))/h(x,y) \)，即边际熵之和与联合熵之比。<sup>[4](https://www.fil.ion.ucl.ac.uk/spm/doc/books/hbf2/pdfs/Ch2.pdf)</sup><sup> • </sup><sup>[11](https://eprints.qut.edu.au/17908/15/17908.pdf)</sup> 在ITKv4框架中，优化器总是最小化，因此MI度量返回负的互信息。<sup>[9](https://itk.org/ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch3.html)</sup>

对于基于点的配准，最常见的表述是最小化对应点间的距离平方和，最优平移为 \( t = \mu_{\mathrm{r}} - R(\mu_{\mathrm{l}}) \)；唯一解需要三个或更多非共线点。<sup>[3](https://yanivresearch.info/writtenMaterial/rigidRegistrationIGIBook.pdf)</sup>

## 实现方式

实践者从可互换的组件组装配准实例：两幅输入图像、一个变换、一个度量、一个插值器和一个优化器。<sup>[9](https://itk.org/ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch3.html)</sup><sup> • </sup><sup>[10](https://simpleitk.readthedocs.io/en/latest/registrationOverview.html)</sup> 初始化叠加几何图像中心或灰度质心（ITK的CenteredTransformInitializer的两种模式）。<sup>[13](https://docs.itk.org/projects/doxygen/en/v4.11.0/Examples%5F2RegistrationITKv4%5F2ImageRegistration13%5F8cxx-example.html)</sup> 由于旋转角度和以毫米计的平移量无法直接比较，参数缩放往往决定优化是否收敛到正确的最优值；ITKv4自动估计缩放。<sup>[10](https://simpleitk.readthedocs.io/en/latest/registrationOverview.html)</sup>

采样和多分辨率控制成本与鲁棒性。度量可以使用所有体素、规则采样或带替换的随机采样；多分辨率金字塔按层级配置收缩因子和平滑sigma。<sup>[10](https://simpleitk.readthedocs.io/en/latest/registrationOverview.html)</sup> 金字塔平滑掉局部极小值并扩大捕获区域，以一定的最终精度代价容忍更大的失配。<sup>[5](https://docs.itk.org/projects/doxygen/en/latest/RegistrationPage.html)</sup> 基于直方图的MI通常每幅图像使用256个bin，配合部分体积插值，每次优化进行200到600次准则评估。<sup>[6](https://doi.org/10.1109/42.563664)</sup> Slicer的快速刚性模块建议Mattes度量使用30到100个直方图bin和2%到5%的空间采样。<sup>[14](https://www.slicer.org/wiki/Modules:RigidRegistration-Documentation-3.6)</sup>

## 起源

1992年，莉莎·戈特斯费尔德·布朗（Lisa Gottesfeld Brown）在《ACM Computing Surveys》上发表了一篇全面的图像配准方法综述。<sup>[15](https://doi.org/10.1145/146370.146374)</sup> 早期多模态方面的一步是罗杰·P·伍兹（Roger P. Woods）、[约翰·C·马齐奥塔](https://www.edgepedia.org/zh/john-c-mazziotta)（John C. Mazziotta）和西蒙·R·切里（Simon R. Cherry）的自动MRI-PET配准算法，发表于1993年的《Journal of Computer Assisted Tomography》。<sup>[16](https://doi.org/10.1097/00004728-199307000-00004)</sup> Wells课题组的论文《通过最大化互信息实现多模态体积配准》（威廉·M·韦尔斯（William M. Wells）及其同事）于1996年发表在《Medical Image Analysis》上，<sup>[17](https://doi.org/10.1016/s1361-8415%2801%2980004-9)</sup> F. Maes及其同事于1997年在《IEEE Transactions on Medical Imaging》上发表了《通过最大化互信息实现多模态图像配准》；该论文声明它扩展了Collignon等人首次提出的思想。<sup>[6](https://doi.org/10.1109/42.563664)</sup> MI作为相似性度量的日益广泛使用，在基于强度的配准成为多模态应用首选方法的过程中发挥了突出作用，Wells和Maes的论文被引用为入门文章。<sup>[8](https://elastix.dev/marius/downloads/2016_j_MedIA.pdf)</sup> Mattes互信息度量通过D. Mattes及其同事的《利用自由形变进行胸部PET-CT图像配准》（IEEE Transactions on Medical Imaging，2003）进入实践。<sup>[18](https://doi.org/10.1109/tmi.2003.809072)</sup>

## 变体

配准方法按基础分为基于点、基于表面和基于强度的方法，按模态分为模态内和模态间。<sup>[1](https://helios2.mi.parisdescartes.fr/~lomn/Cours/CV/BME/Registration/registration3.pdf)</sup> 基于强度的变体以MI家族为中心，包括Slicer刚性模块中使用的基于直方图的Mattes度量。<sup>[14](https://www.slicer.org/wiki/Modules:RigidRegistration-Documentation-3.6)</sup> 基于点的配准是少数具有闭式解的配准任务之一；不同解在变换表示（矩阵、单位四元数和[对偶四元数](https://www.edgepedia.org/zh/dual-quaternion)）上有所不同，但在实践中表现相当。<sup>[3](https://yanivresearch.info/writtenMaterial/rigidRegistrationIGIBook.pdf)</sup> 配准点集最常用的优化器是迭代最近点算法，它不需要预定义对应关系，迭代趋向最近的局部误差极小值。<sup>[19](https://ww2.odu.edu/~kiftekha/ECE783_883/image%20registration.pdf)</sup> 基于表面的配准没有闭式解；医学图像中等值面分割的便利性——最著名的是行进立方体算法——推动了其广泛使用。<sup>[3](https://yanivresearch.info/writtenMaterial/rigidRegistrationIGIBook.pdf)</sup> 基于学习的刚性和仿射方法使用仅编码器网络直接输出变换参数。<sup>[20](https://arxiv.org/html/2307.15615)</sup> 其谱系可追溯至VoxelMorph——古哈·巴拉克里希南（Guha Balakrishnan）、艾米·赵（Amy Zhao）、梅尔特·R·萨本库（Mert R. Sabuncu）、约翰·古塔格（John Guttag）和阿德里安·V·达尔卡（Adrian V. Dalca）提出的无监督可变形配准学习框架（IEEE TMI，2019），<sup>[21](https://doi.org/10.1109/tmi.2019.2897538)</sup> 以及SynthMorph——无需采集图像即可学习对比度不变配准（马尔特·霍夫曼（Malte Hoffmann）及其同事，IEEE TMI，2021）。<sup>[22](https://doi.org/10.1109/tmi.2021.3116879)</sup>

## 应用

大多数图像引导导航系统将整个解剖结构建模为刚体并采用刚性配准，这对于患者体内的骨性结构完全正确，对许多神经外科手术也足够精确。<sup>[3](https://yanivresearch.info/writtenMaterial/rigidRegistrationIGIBook.pdf)</sup> 图像到患者的配准——将术前图像与术中解剖对齐——是图像引导手术中的关键步骤。<sup>[23](https://onlinelibrary.wiley.com/doi/pdfdirect/10.1002/mp.17243)</sup> 刚性配准经常用于对齐同一受试者的图像以进行纵向分析，以及消除受试者间的全局失配，并将同一患者的结构性MRI或CT扫描与功能性fMRI或PET扫描对齐。<sup>[2](https://www.ncbi.nlm.nih.gov/books/NBK597490/)</sup><sup> • </sup><sup>[20](https://arxiv.org/html/2307.15615)</sup> 可靠的fMRI分析需要配准来校正成像过程中受试者的少量运动。<sup>[19](https://ww2.odu.edu/~kiftekha/ECE783_883/image%20registration.pdf)</sup> 当断层图像与X射线投影、内窥镜、腹腔镜、显微镜、视频或摄影一起引导手术时，必须解决二维到三维的配准问题。<sup>[1](https://helios2.mi.parisdescartes.fr/~lomn/Cours/CV/BME/Registration/registration3.pdf)</sup>

量化的精度支持了这些用途。Maes方法相对于立体定向参考，对刚体CT/MR和PET配准达到亚体素精度，完全自动且无需分割。<sup>[6](https://doi.org/10.1109/42.563664)</sup> 在AAPM TG-132框架下，Mirada RTx v1.6中的多模态刚性配准被认为可接受，最大误差低于1.3毫米和1度，CT到CT和CT到CBCT的x和y方向误差从未超过0.13毫米。<sup>[7](https://aapm.onlinelibrary.wiley.com/doi/10.1002/acm2.12348)</sup> 由德扬·托马热维奇（Dejan Tomaževič）、博什蒂扬·利卡尔（Boštjan Likar）和弗兰约·佩尔努什（Franjo Pernuš）在《Computer Aided Surgery》（2004）上发表的用于2D/3D配准的猪头尸体金标准数据集显示，投影距离误差低于2.71毫米，总体预期目标配准误差低于1.88毫米。<sup>[24](https://doi.org/10.3109/10929080500097687)</sup><sup> • </sup><sup>[25](https://pmc.ncbi.nlm.nih.gov/articles/PMC3091017/)</sup>

## 局限与替代方案

基于梯度的优化器可能陷入局部极小值；起始估计应接近最优值，平滑图像可减少局部极小值的数量。<sup>[4](https://www.fil.ion.ucl.ac.uk/spm/doc/books/hbf2/pdfs/Ch2.pdf)</sup> 插值伪影或用于构建联合直方图的数据不足也会引发失败。<sup>[4](https://www.fil.ion.ucl.ac.uk/spm/doc/books/hbf2/pdfs/Ch2.pdf)</sup> MI在强度样本太少无法估计密度的小区域中有效性显著下降，且严重依赖良好的初始化。<sup>[2](https://www.ncbi.nlm.nih.gov/books/NBK597490/)</sup> 将掩膜与低采样率结合可能使MI样本不足并导致配准失败；裁剪到掩膜边界框更为可取。<sup>[10](https://simpleitk.readthedocs.io/en/latest/registrationOverview.html)</sup> 对于某些度量，行为显著取决于哪幅图像是浮动图像、哪幅是目标图像。<sup>[26](https://iopscience.iop.org/article/10.1088/0031-9155/52/18/008)</sup> 2007年以具有金标准配准的CT/MR和PET/MR图像对为基础，对12种相似性度量进行的比较发现，MI、归一化MI和熵相关系数最准确，陷入局部最优的风险最小，<sup>[26](https://iopscience.iop.org/article/10.1088/0031-9155/52/18/008)</sup> 而Roche、Malandain和Ayache报告称相关比对PET/MR和US/MR配准优于MI，因此没有单一度量在所有情况下都胜出。<sup>[27](https://www-sop.inria.fr/asclepios/Publications/Roche/ijist00.pdf)</sup> 对于基于点的最小二乘，存在放宽各向同性IID高斯误差假设的算法，包括广义全最小二乘和变量误差回归，但均未广泛使用。<sup>[3](https://yanivresearch.info/writtenMaterial/rigidRegistrationIGIBook.pdf)</sup>

刚性配准非常适合颅骨等刚性解剖结构，但无法校正软组织变化，例如神经外科手术中脑脊液泄漏导致的脑移位；非刚性配准——通常在初始刚性对齐后执行——可处理这一问题，而刚性配准通常是高阶BSpline和Demons变换的预处理步骤。<sup>[28](https://link.springer.com/content/pdf/10.1007/s11548-026-03639-7.pdf)</sup><sup> • </sup><sup>[14](https://www.slicer.org/wiki/Modules:RigidRegistration-Documentation-3.6)</sup> 当基于图像的配准在术中成像条件退化时失败，基于点的方法仍是可靠的备选方案。<sup>[28](https://link.springer.com/content/pdf/10.1007/s11548-026-03639-7.pdf)</sup>

[深度学习](https://www.edgepedia.org/zh/deep-learning)重塑了这一权衡中速度的一面。配准网络作为单次前向传播执行配准，实现实时刚性和非刚性配准。<sup>[29](https://iopscience.iop.org/article/10.1088/2516-1091/abd37c/meta)</sup> 传统迭代配准在高分辨率下每次配准可能需要数小时甚至数天，这推动了基于学习和GPU加速的替代方案的发展。<sup>[2](https://www.ncbi.nlm.nih.gov/books/NBK597490/)</sup> 2016年的一项回顾预测，鉴于对局部相似性度量的需求，MI可能失去流行度，深度学习可能成为配准领域的下一个变革者。<sup>[8](https://elastix.dev/marius/downloads/2016_j_MedIA.pdf)</sup>

## References

1. [Chapter 8 Image Registration (Handbook of Medical Imaging, Fitzpatrick et al.)](https://helios2.mi.parisdescartes.fr/~lomn/Cours/CV/BME/Registration/registration3.pdf)
2. [Chapter 14 Image Registration: Fundamentals and Recent Advances Based on Deep Learning (NCBI Bookshelf)](https://www.ncbi.nlm.nih.gov/books/NBK597490/)
3. [Rigid Registration (Ziv Yaniv, book chapter, Image-Guided Interventions)](https://yanivresearch.info/writtenMaterial/rigidRegistrationIGIBook.pdf)
4. [Rigid Body Registration (Human Brain Function, 2nd ed., SPM/UCL)](https://www.fil.ion.ucl.ac.uk/spm/doc/books/hbf2/pdfs/Ch2.pdf)
5. [ITK Doxygen: Registration Techniques](https://docs.itk.org/projects/doxygen/en/latest/RegistrationPage.html)
6. [F. Maes and colleagues (1997). Multimodality image registration by maximization of mutual information. IEEE Transactions on Medical Imaging.](https://doi.org/10.1109/42.563664)
7. [Practical quantification of image registration accuracy following the AAPM TG-132 report framework](https://aapm.onlinelibrary.wiley.com/doi/10.1002/acm2.12348)
8. [A retrospective view on 20 years of medical image registration (Medical Image Analysis 2016)](https://elastix.dev/marius/downloads/2016_j_MedIA.pdf)
9. [ITK Software Guide, Book 2, Chapter 3: Registration](https://itk.org/ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch3.html)
10. [SimpleITK Registration Overview](https://simpleitk.readthedocs.io/en/latest/registrationOverview.html)
11. [The Use of Mutual Information for Rigid Medical Image Registration: A Review (Fookes & Bennamoun, QUT)](https://eprints.qut.edu.au/17908/15/17908.pdf)
12. [A survey of image registration methods (Zitová & Flusser, Image and Vision Computing 21, 2003)](https://www.math.tau.ac.il/~turkel/imagepapers/registration_survey.pdf)
13. [ITK Example ImageRegistration13.cxx: 2D rigid registration with Mattes mutual information](https://docs.itk.org/projects/doxygen/en/v4.11.0/Examples%5F2RegistrationITKv4%5F2ImageRegistration13%5F8cxx-example.html)
14. [Slicer 3.6 Documentation: Fast Rigid Registration module](https://www.slicer.org/wiki/Modules:RigidRegistration-Documentation-3.6)
15. [Lisa Gottesfeld Brown (1992). A survey of image registration techniques. ACM Computing Surveys.](https://doi.org/10.1145/146370.146374)
16. [Roger P. Woods, John C. Mazziotta, and Simon R. Cherry (1993). MRI-PET Registration with Automated Algorithm. Journal of Computer Assisted Tomography.](https://doi.org/10.1097/00004728-199307000-00004)
17. [Multi-modal volume registration by maximization of mutual information (Medical Image Analysis, 1996)](https://doi.org/10.1016/s1361-8415%2801%2980004-9)
18. [D. Mattes and colleagues (2003). PET-CT image registration in the chest using free-form deformations. IEEE Transactions on Medical Imaging.](https://doi.org/10.1109/tmi.2003.809072)
19. [Non-rigid image registration: theory and practice (review, Crum, Griffin et al.)](https://ww2.odu.edu/~kiftekha/ECE783_883/image%20registration.pdf)
20. [A survey on deep learning in medical image registration (arXiv, 2023)](https://arxiv.org/html/2307.15615)
21. [Guha Balakrishnan and colleagues (2019). VoxelMorph: A Learning Framework for Deformable Medical Image Registration. IEEE Transactions on Medical Imaging.](https://doi.org/10.1109/tmi.2019.2897538)
22. [Malte Hoffmann and colleagues (2021). SynthMorph: Learning Contrast-Invariant Registration Without Acquired Images. IEEE Transactions on Medical Imaging.](https://doi.org/10.1109/tmi.2021.3116879)
23. [Rigid point cloud registration based on correspondence cloud for image-to-patient registration in image-guided surgery (Li et al., Medical Physics 2024)](https://onlinelibrary.wiley.com/doi/pdfdirect/10.1002/mp.17243)
24. [Dejan Tomaževič, Boštjan Likar, Franjo Pernuš (2004). “Gold standard” data for evaluation and comparison of 3D/2D registration methods. Computer Aided Surgery.](https://doi.org/10.3109/10929080500097687)
25. [Validation for 2D/3D registration I: A new gold standard data set](https://pmc.ncbi.nlm.nih.gov/articles/PMC3091017/)
26. [Comparative evaluation of similarity measures for the rigid registration of multi-modal head images (Škerl et al., Physics in Medicine & Biology 52, 2007)](https://iopscience.iop.org/article/10.1088/0031-9155/52/18/008)
27. [Unifying Maximum Likelihood Approaches in Medical Image Registration (Roche et al., Int. J. Imaging Syst. Technol. 11, 71–80, 2000)](https://www-sop.inria.fr/asclepios/Publications/Roche/ijist00.pdf)
28. [Model-based rigid and nonrigid volumetric image registration for image-guided interventions (Springer)](https://link.springer.com/content/pdf/10.1007/s11548-026-03639-7.pdf)
29. [Deep learning in medical image registration (IOPscience review)](https://iopscience.iop.org/article/10.1088/2516-1091/abd37c/meta)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026; Oct 25, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › 算法与计算方法 › 数值、字符串与几何算法

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/rigid-image-registration

English original: https://www.edgepedia.org/rigid-image-registration
