# 统计形状模型

统计形状模型（statistical shape model, SSM）是一种计算方法，用于表示一组解剖结构或物体形状的变异性，常用于医学图像中的结构分割。模型输出可以表示二维或三维形状；在医学应用中，它通常是某一人群平均解剖结构的三维表示，加上以主变异模式表达的人群水平几何变异性；在利用主成分分析（PCA）将点分布降维至 K 个模式之前，形状需先经相似变换对齐。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC8792348/)</sup> 因此，生成形状由平均形状和一个小型形状参数向量来描述，模型将合理的形状限定在训练集所覆盖的参数空间区域内。

| 关键事实 | 详情 |
|---|---|
| 模型表示的内容 | 经相似对齐和 PCA 后，人群的平均形状加上主变异模式<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC8792348/)</sup> |
| 核心方程 | \( x = \bar{x} + P \cdot b \)，其中 \( P \) 为协方差矩阵的前导特征向量，\( b \) 为形状参数<sup>[2](https://bmva-archive.org.uk/bmvc/1992/bmvc-92-028.pdf)</sup> |
| 合理性约束 | 形状参数限制在 \( \pm 3\sqrt{\lambda_{i}} \) 内，其中 \( \lambda_{i} \) 为第 i 个模式的方差<sup>[3](https://people.computing.clemson.edu/~ekp/courses/cpsc9500/assets/IntroASM.pdf)</sup> |
| 标准质量指标 | 紧凑性、泛化性和特异性，各自以模式数为自变量绘制<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC8792348/)</sup> |
| 典型训练集 | 一般为 10–50 个样本形状，形状向量维度可达数千<sup>[4](https://doi.org/10.1007/978-3-540-85988-8_51)</sup> |
| 奠基论文 | 《主动形状模型，“智能蛇”》（库茨与泰勒，1992）<sup>[5](https://doi.org/10.1007/978-1-4471-3201-1_28)</sup> 和《主动形状模型：训练与应用》（库茨、泰勒、库珀与格雷厄姆，1995）<sup>[6](https://doi.org/10.1006/cviu.1995.1004)</sup> |
| 最困难的构建步骤 | 在训练集所有形状之间建立稠密点对应关系<sup>[7](https://www.sciencedirect.com/science/article/abs/pii/S1361841509000425)</sup> |

## 工作原理

经典表述是点分布模型：形状是一个带标记标志点的向量，对此类向量构成的训练集进行统计分析。在 1992 年的表述中，模型由点的平均位置和描述点如何从均值偏移的主要变异模式组成，写作 \( x = \bar{x} + P \cdot b \)，其中 \( x \) 收集形状的 n 个点，\( P \) 是前 t 个变异模式的矩阵，对应于位置变量主成分分解中最显著的特征向量。<sup>[2](https://bmva-archive.org.uk/bmvc/1992/bmvc-92-028.pdf)</sup>

PCA 将维度从 2n 个点坐标降至小得多的参数向量；经相似对齐后，点位于一个 (2n−4) 维流形上，模型将形状近似为 \( x \approx \bar{x} + P \cdot b \)，其中 \( b = P^{T}(x - \bar{x}) \)。<sup>[3](https://people.computing.clemson.edu/~ekp/courses/cpsc9500/assets/IntroASM.pdf)</sup> 对每个参数 \( b_{i} \) 施加 \( \pm 3\sqrt{\lambda_{i}} \) 的限制，可确保生成形状与原始训练集中的形状相似。<sup>[3](https://people.computing.clemson.edu/~ekp/courses/cpsc9500/assets/IntroASM.pdf)</sup> 该方法区别于自由形变模型的关键特性在于，模型的实例只能以训练集中出现的方式进行形变。<sup>[8](https://personalpages.manchester.ac.uk/staff/timothy.f.cootes/papers/cviu95.pdf)</sup>

模型质量通过三个指标量化，均作为模式数的函数评估：紧凑性，即给定模式数所捕获的方差百分比（越高越好）；泛化性，即对未见形状的留一法重建误差（越低越好）；特异性，即采样形状与其最近训练样本之间的欧几里得 ℓ2 距离（越低越好）。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC8792348/)</sup>

## 构建方法

构建模型分四步进行。首先，收集形状训练集，通常是从三维图像数据中提取的 10–50 个表面，得到数千维的形状向量。其次，建立对应关系：每个形状必须由在所有训练形状中标识同一解剖位置的点来表示。在训练集所有形状之间建立稠密点对应关系，通常是三维模型构建中最具挑战性的部分。<sup>[7](https://www.sciencedirect.com/science/article/abs/pii/S1361841509000425)</sup> 第三，使用广义普氏分析对齐形状：普氏距离是一种最小二乘形状度量，通过将形状居中于其质心、重新缩放至相同大小、并通过旋转对齐方向来计算；其平方距离为各点距离平方之和。<sup>[9](https://www2.imm.dtu.dk/pubdb/edoc/imm403.pdf)</sup> 第四，对对齐后的点集应用 PCA，获得平均形状和模式。<sup>[3](https://people.computing.clemson.edu/~ekp/courses/cpsc9500/assets/IntroASM.pdf)</sup>

在分割过程中，主动形状模型（ASM）搜索通过将假设的模型实例与图像数据比较并使形状变形以拟合，来细化对形状、方向、尺度和位置的初始粗略估计。<sup>[8](https://personalpages.manchester.ac.uk/staff/timothy.f.cootes/papers/cviu95.pdf)</sup> 迭代算法将形状参数 \( b \) 初始化为零（平均形状），通过 \( x = \bar{x} + P \cdot b \) 生成模型点，找到最佳对齐模型点的姿态参数 \( (X_{t}, Y_{t}, s, \theta) \)，检查每个模型点周围区域以寻找最佳邻近图像匹配，更新参数以拟合新点，约束 \( b \) 使 \( \lvert b_{i} \rvert < 3\sqrt{\lambda_{i}} \)，并重复直至收敛，通常只需几次迭代。<sup>[3](https://people.computing.clemson.edu/~ekp/courses/cpsc9500/assets/IntroASM.pdf)</sup>

## 起源

作为一门学科，统计形状分析可追溯至达西·温特沃斯·汤普森爵士（Sir D'Arcy Wentworth Thompson）的工作，其 1917 年著作《论生长与形态》（*On growth and form*）被记录为该领域的早期根源之一。<sup>[10](https://doi.org/10.5962/bhl.title.11332)</sup> T. F. 库茨（T. F. Cootes）和 C. J. 泰勒（C. J. Taylor）于 1992 年在英国机器视觉会议上发表了《主动形状模型，“智能蛇”》<sup>[5](https://doi.org/10.1007/978-1-4471-3201-1_28)</sup>，该标题借卡斯（Kass）、威特金（Witkin）和泰佐普洛斯（Terzopoulos）的《蛇》论文吸引关注；与《蛇》不同，ASM 通过观察学习，具有关于形状的全局形状约束。<sup>[9](https://www2.imm.dtu.dk/pubdb/edoc/imm403.pdf)</sup> 其重要介绍《主动形状模型：训练与应用》由 T. F. 库茨、C. J. 泰勒、D. H. 库珀（D. H. Cooper）和 J. 格雷厄姆（J. Graham）撰写，于 1995 年发表于《计算机视觉与图像理解》（*Computer Vision and Image Understanding*），从自动对齐以最小化等效点间距离方差的标记点推导出点分布模型。<sup>[6](https://doi.org/10.1006/cviu.1995.1004)</sup> 该方法与卡斯等人的主动轮廓模型不同之处在于施加了全局形状约束，这也是作者采用“主动形状模型”一词的原因。<sup>[8](https://personalpages.manchester.ac.uk/staff/timothy.f.cootes/papers/cviu95.pdf)</sup>

## 变体

**主动外观模型。** 主动外观模型（AAM）属于一类线性形状与外观模型，该类还包括形状 AAM、直接外观模型、主动斑块（斯坦·斯克拉克夫（Stan Sclaroff）与约翰·伊西多罗（John Isidoro），2003）<sup>[11](https://doi.org/10.1016/s1077-3142%2803%2900003-1)</sup> 以及形变模型，其中许多于 1997–1998 年间被独立提出。<sup>[12](http://www.iainm.com/assets/pdf/Matthews-2004a.pdf)</sup>

**自动对应。** 当手动标志点不可用时，可对对应关系进行优化。最佳模型以“紧凑性”定义，通过其协方差矩阵的行列式衡量，参数化用遗传算法优化；该方法仅适用于二维，且缺乏严格论证。<sup>[13](https://bmva-archive.org.uk/bmvc/2001/papers/108/accepted_108.pdf)</sup> [最小描述长度](https://www.edgepedia.org/zh/minimum-description-length)（MDL）方法为模型构建定义了一个信息论目标，在 PCA 之前用广义普氏分析对齐形状。<sup>[13](https://bmva-archive.org.uk/bmvc/2001/papers/108/accepted_108.pdf)</sup> 戴维斯（Davies）及其同事表明，建立正确的对应关系至关重要，否则会产生劣质模型，而手动标志点在三维中不切实际，这促使了对三维 SSM 描述长度的直接优化。<sup>[14](https://personalpages.manchester.ac.uk/staff/timothy.f.cootes/Papers/davies_eccv02.pdf)</sup> 对应技术分为两大类：成对方法，将每个受试者映射到预定义的图谱或模板（例如 SPHARM-PDM）；以及分组方法，如 ShapeWorks、MDL 和 Deformetrica，它们学习人群特定的度量。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC8792348/)</sup>

**概率与高斯过程模型。** 表示平均形状和变异性模型的概率 SSM 可在最大后验框架中计算，解决了即使手动确定标志点也依然存在的对应问题。<sup>[15](https://www.thieme-connect.de/products/ejournals/abstract/10.3414/ME9228)</sup> 高斯过程形变模型（GPMM）将形状建模为从参考形状出发的形变 \( u \sim GP(\mu, k) \)，通过前导卡洛南-洛伊（Karhunen–Loève）基函数表示；离散化连续域得到的模型在数学上等价于 SSM，其主要优势在于可自由定义协方差函数，这在训练数据稀少时很有帮助。<sup>[16](https://ar5iv.labs.arxiv.org/html/1603.07254)</sup>

**SPHARM-PDM。** SPHARM-PDM 框架通过沿基函数轴归一化后共享相同参数化的点来建立对应关系，但仅限于球面拓扑的几何形状。<sup>[17](https://royalsocietypublishing.org/rsif/article/23/235/20250785/480479/Statistical-shape-modeling-in-cardiovascular)</sup>

## 应用

**心脏成像。** 一个全心脏 SSM 从患病及无症状患者的 100 例多层螺旋 CT 检查中自动构建，每例包含 15 个心动周期时相；该构建方法的一个关键优势是避免了训练集的手动勾画，而这是点分布模型的一个实际局限。<sup>[18](https://proceedings.spiedigitallibrary.org/conference-proceedings-of-spie/6511/65111K/A-statistical-shape-model-of-the-heart-and-its-application/10.1117/12.708879.full)</sup> SSM 也被应用于心脏 MR 图像的左心室心内膜分割。<sup>[19](https://www.ijbme.org/article_46319_be3571b4ee12c46862b7ead25cd703c9.pdf?lang=en)</sup>

**脑与群体形状分析。** 心血管应用是 2026 年一篇叙述性综述的主题。<sup>[17](https://royalsocietypublishing.org/rsif/article/23/235/20250785/480479/Statistical-shape-modeling-in-cardiovascular)</sup> 除专用 SSM 软件包外，FreeSurfer、Brain Voyager、FSL 和 SPM 等公开可用工具也提供形状建模能力，但它们针对特定解剖结构定制或范围有限。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC8792348/)</sup>

## 局限与替代方法

经典的基于 PCA 的 SSM 有三个结构性局限：它们仅表示线性流形，依赖所有训练形状之间的逐点对应关系，且在训练样本较少时对未见数据的泛化能力不佳。<sup>[20](https://link.springer.com/article/10.1007/s11548-022-02567-6)</sup> 模型阶数还带来进一步权衡：阶数过大，模型可能不够特异（过拟合）；阶数过小，同一形状的新观测可能无法准确表示（欠拟合）。<sup>[21](https://ar5iv.labs.arxiv.org/html/1808.00309)</sup> 在一项对两个统计模型和四个深度学习形状与外观模型的系统比较中，基于局部性的 SSM 在二维和三维形状建模中取得了最佳泛化能力，而深度学习方法显示出显著改善的特异性。<sup>[20](https://link.springer.com/article/10.1007/s11548-022-02567-6)</sup> 基于 SSM 的模型提供更好的可解释性、紧凑性、平滑插值和亚体素点精度，而深度学习模型则存在可解释性受损和潜在空间模糊的问题，且需要大得多的训练数据。<sup>[20](https://link.springer.com/article/10.1007/s11548-022-02567-6)</sup>

深度模型现在直接从图像学习形状表示。DeepSSM 使用深度 CNN 架构直接从图像学习低维形状描述子和对应关系，绕过分割、重采样、配准和迭代优化；由于典型的 100–200 个样本的 SSM 人群不足以训练 CNN 而不发生过拟合，它使用基于模型的数据增强，生成数千个保留人群特定统计量的训练样本。<sup>[22](https://pmc.ncbi.nlm.nih.gov/articles/PMC11087075/)</sup> Image2SSM（2024）是一个定位感知的深度学习框架，可直接从图像推断解剖结构的统计表示（如点分布模型），减轻了对耗时预处理流程的需求。<sup>[23](https://proceedings.mlr.press/v227/ukey24a.html)</sup>

## References

1. [Benchmarking off-the-shelf statistical shape modeling tools in clinical applications (PMC)](https://pmc.ncbi.nlm.nih.gov/articles/PMC8792348/)
2. [Active Shape Models - 'Smart Snakes' (BMVC 1992)](https://bmva-archive.org.uk/bmvc/1992/bmvc-92-028.pdf)
3. [An Introduction to Active Shape Models](https://people.computing.clemson.edu/~ekp/courses/cpsc9500/assets/IntroASM.pdf)
4. [Sample Sufficiency and Number of Modes to Retain in Statistical Shape Modelling](https://doi.org/10.1007/978-3-540-85988-8_51)
5. [T. F. Cootes, C. J. Taylor (1992). Active Shape Models, ‘Smart Snakes’. .](https://doi.org/10.1007/978-1-4471-3201-1_28)
6. [T.F. Cootes and colleagues (1995). Active Shape Models-Their Training and Application. Computer Vision and Image Understanding.](https://doi.org/10.1006/cviu.1995.1004)
7. [Statistical shape models for 3D medical image segmentation: A review (Medical Image Analysis)](https://www.sciencedirect.com/science/article/abs/pii/S1361841509000425)
8. [Active Shape Models - Their Training and Application (Cootes, Taylor, Cooper, Graham, CVIU 1995)](https://personalpages.manchester.ac.uk/staff/timothy.f.cootes/papers/cviu95.pdf)
9. [A Brief Introduction to Statistical Shape Analysis (DTU)](https://www2.imm.dtu.dk/pubdb/edoc/imm403.pdf)
10. [D'Arcy Wentworth Thompson (1917). On growth and form. University Press eBooks.](https://doi.org/10.5962/bhl.title.11332)
11. [Active blobs: region-based, deformable appearance models (Computer Vision and Image Understanding, 2003)](https://doi.org/10.1016/s1077-3142%2803%2900003-1)
12. [Active Appearance Models Revisited (IJCV 2004)](http://www.iainm.com/assets/pdf/Matthews-2004a.pdf)
13. [An Information Theoretic Approach to Statistical Shape Modelling (BMVC 2001)](https://bmva-archive.org.uk/bmvc/2001/papers/108/accepted_108.pdf)
14. [3D Statistical Shape Models Using Direct Optimisation of Description Length (ECCV 2002)](https://personalpages.manchester.ac.uk/staff/timothy.f.cootes/Papers/davies_eccv02.pdf)
15. [Computation of a Probabilistic Statistical Shape Model in a Maximum-a-posteriori Framework](https://www.thieme-connect.de/products/ejournals/abstract/10.3414/ME9228)
16. [Gaussian Process Morphable Models](https://ar5iv.labs.arxiv.org/html/1603.07254)
17. [Statistical shape modeling in cardiovascular disease: a narrative review (J R Soc Interface, 2026)](https://royalsocietypublishing.org/rsif/article/23/235/20250785/480479/Statistical-shape-modeling-in-cardiovascular)
18. [A statistical shape model of the heart and its application to model-based segmentation (SPIE)](https://proceedings.spiedigitallibrary.org/conference-proceedings-of-spie/6511/65111K/A-statistical-shape-model-of-the-heart-and-its-application/10.1117/12.708879.full)
19. [Statistical Shape Modeling and Segmentation of the Left Ventricle Endocardium from CMR Images based on Different Anatomical Landmark Alignments (IJBME)](https://www.ijbme.org/article_46319_be3571b4ee12c46862b7ead25cd703c9.pdf?lang=en)
20. [A systematic comparison of generative models for medical images (Int J CARS)](https://link.springer.com/article/10.1007/s11548-022-02567-6)
21. [Model-order selection in statistical shape models (arXiv)](https://ar5iv.labs.arxiv.org/html/1808.00309)
22. [DeepSSM: A Blueprint for Image-to-Shape Deep Learning Models (PMC)](https://pmc.ncbi.nlm.nih.gov/articles/PMC11087075/)
23. [Image2SSM: Localization-aware Deep Learning Framework for Statistical Shape Modeling Directly from Images (PMLR 2024)](https://proceedings.mlr.press/v227/ukey24a.html)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026; Oct 25, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Language and vision AI › Computer vision › Vision methods and geometry

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/statistical-shape-model

English original: https://www.edgepedia.org/statistical-shape-model
