Cyto R-CNN and CytoNuke Dataset: Towards reliable whole-cell segmentation in bright-field histological images

Johannes Raufeisen, Kunpeng Xie, Fabian Hörst, Till Braunschweig, Jianning Li, Jens Kleesiek, Rainer Röhrig, Jan Egger, Bastian Leibe, Frank Hölzle, Alexander Hermans, Behrus Puladi · DOI

TL;DR

This paper introduces Cyto R-CNN, a novel deep learning architecture designed for accurate whole-cell segmentation (nucleus plus cytoplasm) in bright-field histological images. Alongside the model, the authors release CytoNuke, a new dataset of thousands of manual annotations that enables more reliable morphological analysis in digital pathology than current heuristic methods.

What Problem Does This Paper Address?

In digital pathology, Hematoxylin and Eosin (H&E) staining is the gold standard for visualizing tissue structure. While artificial intelligence has made great strides in segmenting cell nuclei from these images, segmenting the entire cell (including the cytoplasm) remains a significant challenge. The boundaries of the cytoplasm in H&E slides are often fuzzy, low-contrast, and overlapping.

Because no reliable automated tools existed for whole-cell segmentation in bright-field images, researchers often resorted to a heuristic called "cell expansion." This method simply expands the detected nucleus mask by a fixed number of pixels. However, as this paper demonstrates, this approach produces artificially uniform, circular cell shapes that do not reflect biological reality. This "garbage in, garbage out" problem leads to unreliable morphological measurements, potentially compromising downstream clinical models built on that data.

Methods

The authors propose Cyto R-CNN, an architecture based on the popular Mask R-CNN framework but modified for the specific constraints of histology.

Figure 2: Architectural overview of Cyto R-CNN. The backbone and RPN are trained on nuclei only. The nuclei proposals are then forwarded to two different branches. The first branch will perform a regular bounding box and mask regression for the nucleus. The second branch will scale the nucleus proposal and perform mask regression for the whole cell, including the cyto- plasm. Both branches are then combined to generate instance segmentations for cell and nucleus at the same time.

The key innovation is a two-branch approach:

  1. Nucleus Branch: A standard Mask R-CNN pipeline that predicts a bounding box and mask for the nucleus.
  2. Cell Branch: This branch takes the nucleus proposal and scales it up by a fixed percentage (a "cell scaling" step) to create a rough region of interest for the whole cell. A dedicated mask head then refines this proposal to predict the actual, non-trivial shape of the cytoplasm.

By training these branches simultaneously, the model learns the spatial relationship between the nucleus and its surrounding cytoplasm, allowing it to segment complex, non-circular cell boundaries that heuristics miss.

Datasets

The study introduces the CytoNuke dataset to fill a gap in publicly available resources. While datasets like PanNuke exist, they are largely limited to nucleus annotations.

  • Source: Images of head and neck squamous cell carcinoma (HNSCC) from the CPTAC dataset.
  • Content: 3,991 tumor nuclei and 2,607 whole-cell manual annotations.
  • Quality: All annotations were performed in a quality-controlled setting and reviewed by a senior pathologist.

The authors chose HNSCC because its cancer cells are morphologically heterogeneous, making it a rigorous test case for segmentation algorithms.

Key Insights and Ideas

  • The "Circular" Trap: The study quantifies why "cell expansion" is problematic. By expanding a shape outwards by a fixed radius, the resulting mask naturally loses its original curvature and becomes more circular. This leads to a loss of important morphological information.
  • Generalists vs. Specialists: Popular generalist models like Cellpose, which were originally designed for high-contrast immunofluorescence images, struggle with the low-contrast nature of H&E stains. Cyto R-CNN’s two-stage design, specifically tuned for these images, proves more robust.
  • Morphology Matters: The paper argues that segmentation isn't just about "hitting the target" (detection); it's about the quality of the resulting measurements. They used the Kolmogorov-Smirnov test to show that Cyto R-CNN produces feature distributions (like area and perimeter) that most closely match human "gold standard" annotations.

Key Results

Cyto R-CNN significantly outperformed existing baselines, including QuPath’s built-in watershed algorithm, StarDist, and Cellpose.

  • Segmentation Accuracy: Cyto R-CNN achieved an AP50 of 58.65% for whole-cell segmentation, nearly doubling the performance of Cellpose (31.85%) and significantly beating StarDist combined with expansion (45.33%).
  • Feature Reliability: In a comparison of 17 morphological and staining features, Cyto R-CNN showed the best agreement with manual ground truth ($\bar{D} = 0.15$).
Figure 5: Sample predictions on hematoxylin-eosin stained images of head and neck squamous cell carcinoma. All images are part of the test dataset. Note: Only tumor cells were annotated. Other cells (lymphocytes, macrophages, fibrocytes, etc.) were not included

As seen in the visual comparison above, Cyto R-CNN is the only model capable of capturing the diverse, non-trivial shapes of the cytoplasm, whereas other methods produce highly uniform, repetitive masks.

Quantitative comparison of AP scores.

Limitations and Future Work

The authors acknowledge a few key areas for improvement:

  • Dataset Diversity: The current model was trained and tested primarily on HNSCC. Future work is needed to see if these results generalize to other tissue and cell types.
  • Learnable Scaling: The "cell scaling" factor is currently a fixed hyperparameter. The authors suggest that making this factor learnable could allow the model to adapt more dynamically to different cell sizes.
  • Transformer Architectures: While Mask R-CNN was chosen for its extensibility, the authors note that newer advancements like Vision Transformers (ViTs) could potentially offer even higher performance in future iterations.

Summary updated

BibTeX
@article{raufeisen2024cyto,
  author = {Johannes Raufeisen and Kunpeng Xie and Fabian Hörst and Till Braunschweig and Jianning Li and Jens Kleesiek and Rainer Röhrig and Jan Egger and Bastian Leibe and Frank Hölzle and Alexander Hermans and Behrus Puladi},
  title = {{Cyto R-CNN and CytoNuke Dataset: Towards reliable whole-cell segmentation in bright-field histological images}},
  journal = {Comput. Methods Programs Biomed.},
  year = {2024},
  doi = {10.1016/j.cmpb.2024.108215},
}
Figure