NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A deep learning algorithm for one-step contour aware nuclei segmentation of histopathology images

Yuxin Cui, Guiying Zhang, Zhonghao Liu, Zheng Xiong, Jianjun Hu

Abstract

This paper presents an end-to-end "nucleus-boundary" (NB) model for the simultaneous prediction of nuclei interiors and contours in histopathological images. By employing a ternary classification approach and a fully convolutional network, the method effectively addresses the challenge of overlapping nuclei while achieving significant speed improvements, processing high-resolution images in under five seconds.

Introduction

In digital pathology, accurate nuclei segmentation is essential for cancer grading and cell counting. Histopathological images present significant challenges due to variations in staining, cell morphology, and texture. A primary difficulty is the "clumping" problem, where touching nuclei are often misidentified as single objects by traditional algorithms.

Examples of histopathological images showing variations in tissue color, cell shape, and texture.

Most existing solutions rely on complex, multi-step pipelines—first detecting the cell "seed" and then performing a separate contouring step—which are often computationally expensive and sensitive to manual parameter tuning. The authors aim to replace these brittle pipelines with a fast, one-step deep learning approach robust enough for large-scale clinical use.

Methods

The proposed Nucleus-Boundary (NB) model utilizes a Fully Convolutional Network (FCN) architecture, similar to U-Net. It introduces ternary classification (background, boundary, and inside) to improve the separation of touching cells. The network employs Scaled Exponential Linear Units (SELUs) for self-normalization and a weighted loss function to focus on nuclei boundaries and centers.

The proposed segmentation pipeline, from input image to final segmentation result.

To process large whole-slide images that exceed GPU memory, the system uses an overlapped patch extraction and voting mechanism. This ensures that the borders of each patch—where context is usually lacking—are predicted accurately by aggregating results from neighboring overlapping patches.

Datasets and Evaluation

The model was validated on three public datasets to ensure generalizability:

  1. Multiple Organ Dataset (MOD): 30 high-resolution images from 7 different organs (breast, liver, kidney, prostate, bladder, colon, and stomach).
  2. Breast Cancer Dataset (BCD): A specialized dataset containing 39 images.
  3. Breast Cancer Nuclei Segmentation (BNS): 33 H&E stained images containing over 2,700 manually annotated nuclei.

Key Insights and Discussion

  • RGB vs. H-Channel: Interestingly, the authors found that training on raw RGB images yielded better results than using the Hematoxylin (H) channel alone. The deep learning model was able to extract more useful discriminative features from the full color spectrum.
  • Data Augmentation: In their study, simple rotation was found to be more effective than complex elastic deformations at preventing overfitting.
  • Granular Metrics: The paper argues that standard metrics like F1-score are insufficient. They introduced four new criteria: Missing Detection Rate (MDR), False Detection Rate (FDR), Under-Segmentation Rate (USR), and Over-Segmentation Rate (OSR) to provide a more detailed look at failure modes.

Results

The NB model demonstrated superior performance across the board:

  • Speed: The algorithm can segment a 1000x1000 image in less than 5 seconds on a single GPU. For comparison, the previous state-of-the-art (CNN3) took roughly 4 minutes for the same task.
  • Accuracy: On the MOD dataset, the model achieved an F1-score of 0.854 and a Dice Coefficient of 0.812, outperforming the CNN3 baseline.
  • Robustness: The model maintained high precision and recall across different organs and cancer grades, proving its generalizability.

Conclusion

The NB model provides a robust and efficient solution for nuclei segmentation. While patch border context remains a minor challenge addressed by the voting mechanism, the model's speed and accuracy make it suitable for clinical applications and potentially other biological imaging tasks, such as identifying individual bacteria in colonies.

Summary updated

BibTeX
@article{cui2019deep,
  author = {Yuxin Cui and Guiying Zhang and Zhonghao Liu and Zheng Xiong and Jianjun Hu},
  title = {{A deep learning algorithm for one-step contour aware nuclei segmentation of histopathology images}},
  journal = {Medical Biol. Eng. Comput.},
  year = {2019},
  doi = {10.1007/s11517-019-02008-8},
}
Figure