# 细胞分割

细胞分割是一种计算图像分析方法，用于识别并勾勒出显微镜图像中的每一个独立细胞，生成逐像素的标签掩膜，其中每个像素被归于某个特定的细胞实例或背景。其输出是实例级的结果，而不仅仅是前景图，因为大多数下游分析需要归属于单个细胞的测量值，而非整个组织的测量值。<sup>[1](https://www.nature.com/articles/s41592-020-01018-x)</sup> 深度卷积网络可以在细胞核荧光图像、细胞质相差图像以及无荧光细胞质标记的共培养细胞类型上执行这一任务。<sup>[2](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1005177)</sup>

| 要点 | 详情 |
|---|---|
| 输出 | 标签图像，其中每个细胞是一个独立的整数区域（实例掩膜），另可选输出逐对象的概率或流场<sup>[3](https://github.com/stardist/stardist/)</sup> |
| 主流架构 | U-Net 风格的编码器–解码器网络，在 2020 至 2024 年调查的 198 篇细胞实例分割论文中，超过 70% 使用了此类架构<sup>[4](https://link.springer.com/article/10.1007/s00521-025-11119-3)</sup> |
| 标志性成果 | U-Net 在 PhC-U373 相差数据集上达到 92% 的平均交并比，而第二名算法为 83%<sup>[5](https://doi.org/10.48550/arxiv.1505.04597)</sup> |
| 通用模型 | Cellpose 在超过 70,000 个已分割对象上训练，无需重新训练即可分割多种图像类型中的细胞<sup>[1](https://www.nature.com/articles/s41592-020-01018-x)</sup> |
| 基准规模 | NeurIPS 2022 多模态 CellSeg 基准涵盖来自 50 多个生物学实验的 1,500 余张标注图像，涉及明场、荧光、相差和 DIC 模态<sup>[6](https://www.nature.com/articles/s41592-024-02233-6)</sup> |
| 当前前沿 | Cellpose-SAM 等基础模型适配版本在细胞分割上的表现大幅超越人际一致性<sup>[7](https://www.biorxiv.org/content/10.1101/2025.04.28.651001v1)</sup> |

## 工作原理

三个相关任务有所区别。[语义分割](https://www.edgepedia.org/zh/semantic-segmentation)为每个像素分配一个类别（细胞或背景），但不区分单个细胞；实例分割额外为每个细胞赋予唯一标签；细胞检测则定位细胞，例如以点或框的形式，但不提供完整轮廓。这一区分在实践中很重要：一个逐细胞预测二值掩膜的流程会在细胞接触时产生边界伪影，丢弃约 10% 的细胞面积，而唯一标记的实例掩膜则允许相邻掩膜相互接触。<sup>[8](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1013088)</sup>

深度学习方法以不同方式表示细胞。U-Net 风格网络使用收缩路径通过重复卷积和最大池化捕获上下文，同时使用对称的扩张路径，其跳跃连接将高分辨率编码器特征与上采样输出相结合。<sup>[5](https://doi.org/10.48550/arxiv.1505.04597)</sup> StarDist 将每个对象表示为星凸多边形，逐像素回归沿 32 个等角径向方向到对象边界的距离，同时给出对象概率，并通过非极大值抑制确定候选对象。<sup>[9](http://uweschmidt.org/research/pubs/miccai18schmidt.pdf)</sup> Cellpose 通过从边界指向内部的向量场编码细胞，沿向量场追踪至实例中心。<sup>[10](https://openaccess.thecvf.com/content/ICCV2023/papers/Wolf_Unsupervised_Learning_of_Object-Centric_Embeddings_for_Cell_Instance_Segmentation_in_ICCV_2023_paper.pdf)</sup> 基于嵌入的方法如 Cellulus 学习以对象为中心的像素嵌入，并通过均值漂移聚类进行分组。<sup>[10](https://openaccess.thecvf.com/content/ICCV2023/papers/Wolf_Unsupervised_Learning_of_Object-Centric_Embeddings_for_Cell_Instance_Segmentation_in_ICCV_2023_paper.pdf)</sup>

## 操作流程

典型工作流包含五个步骤。首先，准备图像，有时进行图像复原；Cellpose3 增加了一键图像复原功能，以改善退化图像的分割效果。<sup>[11](https://doi.org/10.1038/s41592-025-02595-5)</sup> 其次，选择工具：预训练的通用模型，或在用户数据上训练的模型。第三，标注：训练自定义模型需要标签图像，其中每个细胞区域内的像素使用同一个整数标签，不同细胞的标签不同，背景为 0。<sup>[3](https://github.com/stardist/stardist/)</sup> 标注是主要的人力成本，因为勾勒细胞边界需要经过培训的标注人员。<sup>[4](https://link.springer.com/article/10.1007/s00521-025-11119-3)</sup> 第四，训练或零样本推理。第五，后处理：对标签图像进行过滤，例如按对象像素数过滤，并转换为感兴趣区域对象以供测量。<sup>[12](https://py.imagej.net/en/stable/Cellpose-StarDist-Segmentation.html)</sup>

## 起源

经典谱系包括在 CellProfiler 和 Oufti 等工具中实现的阈值化、分水岭和 Voronoi 算法，以及 Ilastik 等监督机器学习工具，后者将边缘和纹理滤波器与随机森林分类相结合。<sup>[2](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1005177)</sup> 基于分水岭的分割和水平集方法曾被用于分离接触和重叠的细胞核，此外还有主动轮廓和蛇形算法。<sup>[13](https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-018-2375-z)</sup>

深度学习时代始于 埃文·谢尔哈默、乔纳森·朗和[特雷弗·达雷尔](https://www.edgepedia.org/zh/trevor-darrell) 提出的用于语义分割的全卷积网络（2016 年，[IEEE Transactions on Pattern Analysis and Machine Intelligence](https://www.edgepedia.org/zh/ieee-transactions-on-pattern-analysis-and-machine-intelligence)）。<sup>[14](https://doi.org/10.1109/tpami.2016.2572683)</sup> U-Net 由 奥拉夫·罗内贝格、菲利普·菲舍尔和托马斯·布罗克斯 提出（2015 年，arXiv），基于该设计构建，并在 2015 年 ISBI 细胞追踪挑战赛的透射光显微镜赛道中以大幅优势获胜。<sup>[5](https://doi.org/10.48550/arxiv.1505.04597)</sup> StarDist 由乌韦·施密特及其同事提出（2018 年，arXiv）。<sup>[9](http://uweschmidt.org/research/pubs/miccai18schmidt.pdf)</sup> Cellpose 由[卡森·斯特林格](https://www.edgepedia.org/zh/carsen-stringer)及其同事提出（2020 年，Nature Methods）。<sup>[1](https://www.nature.com/articles/s41592-020-01018-x)</sup>

## 变体

**StarDist 系列。** 三维扩展将对象表示为星凸多面体（[马丁·魏格特](https://www.edgepedia.org/zh/martin-weigert)及其同事，2019 年，arXiv）。<sup>[15](https://doi.org/10.48550/arxiv.1908.03636)</sup> 组织病理学版本增加了分类头，使每个分割的细胞核被赋予一个细胞类型（马丁·魏格特和乌韦·施密特，2022 年，arXiv）。<sup>[16](https://doi.org/10.48550/arxiv.2203.02284)</sup>

**Cellpose 系列。** Omnipose 由 凯文·J·卡特勒及其同事提出，面向形态无关的细菌细胞分割（2022 年，Nature Methods）。<sup>[17](https://doi.org/10.1038/s41592-022-01639-4)</sup> Cellpose-SAM 由 马里乌斯·帕奇塔留、迈克尔·拉里登和卡森·斯特林格 提出（2025 年，bioRxiv），将预训练的 SAM Transformer 骨干适配到 Cellpose 框架，对通道混洗、细胞大小、散粒噪声、降采样和模糊具有鲁棒性。<sup>[7](https://www.biorxiv.org/content/10.1101/2025.04.28.651001v1)</sup>

**其他工具。** InstanSeg 使用约四百万参数的修改版 Cellpose U-Net 骨干，约为原始 Cellpose 模型的一半，并在选定的种子像素周围聚类像素嵌入（蒂博·戈尔兹伯勒及其同事，2024 年，arXiv）。<sup>[18](https://doi.org/10.48550/arxiv.2408.15954)</sup> Mesmer 在大规模标注上训练，执行组织图像的全细胞分割（诺亚·F·格林沃尔德及其同事，2021 年，[Nature Biotechnology](https://www.edgepedia.org/zh/nature-biotechnology)）。<sup>[19](https://doi.org/10.1038/s41587-021-01094-0)</sup> nnU-Net 针对给定的生物医学数据集自行配置预处理、架构和训练（法比安·伊森泽及其同事，2020 年，Nature Methods）。<sup>[20](https://doi.org/10.1038/s41592-020-01008-z)</sup> [Mask R-CNN](https://www.edgepedia.org/zh/mask-r-cnn) 提供基于边界框的实例分割基线（[何恺明](https://www.edgepedia.org/zh/kaiming-he)及其同事，2018 年，IEEE Transactions on Pattern Analysis and Machine Intelligence）。<sup>[21](https://doi.org/10.1109/tpami.2018.2844175)</sup>

## 应用

细胞分割支持活细胞成像分析、细菌细胞术、组织病理学细胞核分类和组织成像。输入模态包括荧光、明场、相差和 DIC；NeurIPS 2022 基准有意涵盖全部四种模态。<sup>[6](https://www.nature.com/articles/s41592-024-02233-6)</sup> 支持三维堆栈：Cellpose 的三维扩展无需三维标注数据即可复用二维模型，<sup>[1](https://www.nature.com/articles/s41592-020-01018-x)</sup> 而 3D U-Net 从稀疏标注中学习密集体积分割（厄兹京·奇切克及其同事，2016 年，arXiv）。<sup>[22](https://doi.org/10.48550/arxiv.1606.06650)</sup> 时间序列细菌流程如 OmniSegger 将原始图像转换为跨相差、明场和荧光模态的动态细胞术数据。<sup>[8](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1013088)</sup>

**指标。** 当检测对象与真值对象的交并比（IoU）超过阈值 τ 时，该对象计为真正例；在 StarDist 采用的 DSB2018 约定下，得分为 \( AP_{\tau} = TP_{\tau}/(TP_{\tau}+FN_{\tau}+FP_{\tau}) \)，这与随置信度阈值变化而计算的精确率–召回率曲线下面积所定义的标准平均精确率不同。<sup>[9](http://uweschmidt.org/research/pubs/miccai18schmidt.pdf)</sup> 全景质量是检测质量（F1）与分割质量（正确匹配的平均 IoU）的乘积。<sup>[23](https://warwick.ac.uk/fac/cross_fac/tia/data/conic/stardist.pdf)</sup> 已报告的结果包括 U-Net 在 PhC-U373 上 92% 的 IoU 和在 DIC-HeLa 上 77.5% 的 IoU，而 DIC-HeLa 上的第二名为 46%，<sup>[5](https://doi.org/10.48550/arxiv.1505.04597)</sup> 以及 StarDist 在 DSB2018 上于 IoU 阈值低于 0.75 时以约 140 万参数超越包括 Mask R-CNN 在内的所有方法，而 Mask R-CNN 约有 4,500 万参数。<sup>[9](http://uweschmidt.org/research/pubs/miccai18schmidt.pdf)</sup>

**基础模型。** 该领域已转向基础模型，几乎所有细胞分割基础模型都是 Segment Anything Model 适配显微镜图像的扩展；安瓦伊·阿尔奇特和康斯坦丁·帕佩 在多样光显微数据集上评估了 CellPoseSAM、CellSAM 和 μSAM 以及 SAM、SAM2 和 SAM3，并引入了自动提示生成，持续改善 μSAM 的结果。<sup>[24](https://proceedings.mlr.press/v315/archit26a.html)</sup> 大规模多模态基准日趋成熟：NeurIPS 2022 CellSeg 挑战赛于 2024 年 3 月发表在 Nature Methods，将分割框定为弱监督任务，标注图像块有限而未标注图像众多，包括约 10,000 × 10,000 像素的全切片测试图像，由 MEDIAR 获胜，这是一种基于 Transformer 的算法，无需手动参数调整即可跨平台适用。<sup>[6](https://www.nature.com/articles/s41592-024-02233-6)</sup> 在空间转录组学中，Halo 通过将 RNA 转录本坐标转换为分子密度图并用 Cellpose-SAM 架构处理，从仅 DAPI 染色中重建全细胞边界。<sup>[25](https://academic.oup.com/bib/article/27/5/bbag515/8812206)</sup>

## 局限与替代方案

**跨模态泛化是最明显的失效模式。** 在一项对 18 种方法的系统评估中，所有方法在细胞核图像上训练后应用于全细胞图像时均失败，且大多数在反方向上性能下降；只有 Cascade Mask R-CNN seesaw 和 RF-Next 在跨模态时保持了几乎相同的性能。<sup>[26](https://pmc.ncbi.nlm.nih.gov/articles/PMC10862744/)</sup>

**接触细胞与边界。** 在 CellBinDB 上评估的所有模型的全景质量均低于 F1，表明分离紧密相邻实例存在困难；灰度转换和颜色反转大幅改善了为荧光设计的模型在 H&E 分割上的表现。<sup>[27](https://pmc.ncbi.nlm.nih.gov/articles/PMC12206155/)</sup> U-Net 通过加权损失解决接触细胞问题，为分隔细胞的背景标签赋予较大权重。<sup>[5](https://doi.org/10.48550/arxiv.1505.04597)</sup>

**哪类方法胜出取决于基准。** 一项系统评估发现，通用注意力方法（Centermask2、Swin、ResNeSt）总体表现最佳，Centermask2 在 LIVECell 上将全细胞准确率较 Cellpose 提升 96.9%，在 TissueNet 上提升 76.5%，而 Cellpose 是最佳的生物医学专用方法；<sup>[26](https://pmc.ncbi.nlm.nih.gov/articles/PMC10862744/)</sup> 然而在 CellBinDB 上，Cellpose3 是所评估模型中推荐度最高的。<sup>[27](https://pmc.ncbi.nlm.nih.gov/articles/PMC12206155/)</sup> 手动分割仍然劳动密集、易受人为偏差影响，并依赖标注人员的熟练程度。<sup>[28](https://www.mdpi.com/2313-433X/10/12/311)</sup>

## References

1. [Cellpose: a generalist algorithm for cellular segmentation (Nature Methods)](https://www.nature.com/articles/s41592-020-01018-x)
2. [Deep Learning Automates the Quantitative Analysis of Individual Cells in Live-Cell Imaging Experiments (Van Valen et al., PLOS Computational Biology)](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1005177)
3. [stardist/stardist, StarDist official repository and documentation](https://github.com/stardist/stardist/)
4. [A survey of deep learning methods on cell instance segmentation (Neural Computing and Applications, 2025)](https://link.springer.com/article/10.1007/s00521-025-11119-3)
5. [Ronneberger, Olaf, Fischer, Philipp, Brox, Thomas (2015). U-Net: Convolutional Networks for Biomedical Image Segmentation. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1505.04597)
6. [The multimodality cell segmentation challenge: toward universal solutions (Nature Methods 2024)](https://www.nature.com/articles/s41592-024-02233-6)
7. [Cellpose-SAM: superhuman generalization for cellular segmentation (bioRxiv 2025)](https://www.biorxiv.org/content/10.1101/2025.04.28.651001v1)
8. [OmniSegger: A time-lapse image analysis pipeline for bacterial cells (PLOS Computational Biology)](https://journals.plos.org/ploscompbiol/article?id=10.1371%2Fjournal.pcbi.1013088)
9. [Cell Detection with Star-convex Polygons (StarDist, MICCAI 2018, author-hosted PDF)](http://uweschmidt.org/research/pubs/miccai18schmidt.pdf)
10. [Unsupervised Learning of Object-Centric Embeddings for Cell Instance Segmentation in Microscopy Images (Cellulus, ICCV 2023)](https://openaccess.thecvf.com/content/ICCV2023/papers/Wolf_Unsupervised_Learning_of_Object-Centric_Embeddings_for_Cell_Instance_Segmentation_in_ICCV_2023_paper.pdf)
11. [Carsen Stringer, Marius Pachitariu (2025). Cellpose3: one-click image restoration for improved cellular segmentation. Nature Methods.](https://doi.org/10.1038/s41592-025-02595-5)
12. [Cellpose/StarDist Segmentation (PyImageJ notebook)](https://py.imagej.net/en/stable/Cellpose-StarDist-Segmentation.html)
13. [A deep learning-based algorithm for 2-D cell segmentation in microscopy images (Al-Kofahi et al., BMC Bioinformatics 2018)](https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-018-2375-z)
14. [Evan Shelhamer, Jonathan Long, Trevor Darrell (2016). Fully Convolutional Networks for Semantic Segmentation. IEEE Transactions on Pattern Analysis and Machine Intelligence.](https://doi.org/10.1109/tpami.2016.2572683)
15. [Weigert, Martin and colleagues (2019). Star-convex Polyhedra for 3D Object Detection and Segmentation in Microscopy. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1908.03636)
16. [Weigert, Martin, Schmidt, Uwe (2022). Nuclei instance segmentation and classification in histopathology images with StarDist. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2203.02284)
17. [Kevin J. Cutler and colleagues (2022). Omnipose: a high-precision morphology-independent solution for bacterial cell segmentation. Nature Methods.](https://doi.org/10.1038/s41592-022-01639-4)
18. [Goldsborough, Thibaut and colleagues (2024). InstanSeg: an embedding-based instance segmentation algorithm optimized for accurate, efficient and portable cell segmentation. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2408.15954)
19. [Noah F. Greenwald and colleagues (2021). Whole-cell segmentation of tissue images with human-level performance using large-scale data annotation and deep learning. Nature Biotechnology.](https://doi.org/10.1038/s41587-021-01094-0)
20. [Fabian Isensee and colleagues (2020). nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation. Nature Methods.](https://doi.org/10.1038/s41592-020-01008-z)
21. [Kaiming He and colleagues (2018). Mask R-CNN. IEEE Transactions on Pattern Analysis and Machine Intelligence.](https://doi.org/10.1109/tpami.2018.2844175)
22. [Çiçek, Özgün and colleagues (2016). 3D U-Net: Learning Dense Volumetric Segmentation from Sparse Annotation. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1606.06650)
23. [Nuclei Instance Segmentation and Classification in Histopathology Images with StarDist (CoNIC challenge, ISBIC 2022)](https://warwick.ac.uk/fac/cross_fac/tia/data/conic/stardist.pdf)
24. [Revisiting foundation models for cell instance segmentation (Archit & Pape, MIDL/PMLR v315)](https://proceedings.mlr.press/v315/archit26a.html)
25. [Halo: a pretrained model for whole-cell segmentation from nuclei images in spatial transcriptomics (Briefings in Bioinformatics)](https://academic.oup.com/bib/article/27/5/bbag515/8812206)
26. [A systematic evaluation of computational methods for cell segmentation (Briefings in Bioinformatics)](https://pmc.ncbi.nlm.nih.gov/articles/PMC10862744/)
27. [CellBinDB: a large-scale multimodal annotated dataset for cell segmentation with benchmarking of universal models](https://pmc.ncbi.nlm.nih.gov/articles/PMC12206155/)
28. [State-of-the-Art Deep Learning Methods for Microscopic Image Segmentation (Journal of Imaging)](https://www.mdpi.com/2313-433X/10/12/311)

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

Topic: 生命与健康 › 生物学基础

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/cell-segmentation

English original: https://www.edgepedia.org/cell-segmentation
