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

An automatic nuclei segmentation method based on deep convolutional neural networks for histopathology images

Hwejin Jung, Bilal Ahmed Lodhi, Jaewoo KangBMC 2019

Abstract

We propose a nuclei segmentation method based on DCNNs for histopathology images. The proposed method which uses Mask R-CNN with color normalization and multiple inference post-processing provides robust nuclei segmentation results. Our method also can facilitate downstream nuclei morphological analyses as it provides high-quality features extracted from histopathology images.

Introduction

In digital pathology, the accurate segmentation of nuclei is a foundational step for disease staging and patient outcome prediction. However, automated systems face significant challenges due to color variations—stemming from different staining protocols and scanner hardware—and the vast morphological diversity of nuclei across different organs and cancer types. We present "NucSeg," a robust pipeline that integrates a U-Net-based color normalization model with the Mask R-CNN architecture to overcome these hurdles.

Methodology

The NucSeg pipeline consists of three primary stages designed to ensure generalizability and precision:

  1. Deep Convolutional Gaussian Mixture Model (DCGMM): Unlike standard color normalization that ignores image structure, we utilize a U-Net backbone. This allows the model to cluster pixels (nuclei, tissue, background) with spatial context, ensuring normalization respects underlying biological structures.
  2. Mask R-CNN Segmentation: A two-stage framework that proposes regions of interest and generates high-fidelity, pixel-level masks for each detected nucleus.
  3. Multiple Inference Post-processing: To enhance reliability, the system employs test-time augmentation. By running the model on seven rotated and flipped versions of an image and using majority voting with Intersection over Union (IoU) thresholds, the final segmentation is stabilized against orientation-specific errors.

Datasets and Evaluation

The method was rigorously evaluated on two major benchmarks:

  • MOSID (Multiple Organ H&E Stained Dataset): Comprising 30 high-resolution images from seven organs (breast, kidney, liver, prostate, bladder, colon, and stomach), this dataset tests the model's ability to handle high inter-organ color variation.
  • BNS (Breast Cancer Histopathology Image Dataset): 33 images from breast cancer patients used to assess performance on a single-organ dataset.
Histopathology image of liver tissue from the MOSID dataset, illustrating the complexity of nuclear structures.

Results

NucSeg significantly outperformed existing state-of-the-art methods. On the MOSID dataset, it achieved an F1-score of 0.861 and an Aggregated Jaccard Index (AJI) of 0.669, far exceeding benchmarks like CNN3 (AJI: 0.508). On the BNS dataset, the model reached a Recall of 0.923 and an F1-score of 0.913.

A processed liver tissue sample showing the effect of normalization on image clarity for segmentation.

Ablation studies confirmed that while color normalization is critical for multi-organ datasets, the multiple inference step provides a consistent performance boost across all scenarios.

Conclusion

NucSeg demonstrates that a well-normalized deep learning pipeline can generalize across diverse organ types without specific retraining. While some discrepancies in metrics were attributed to inaccurate ground-truth annotations in public datasets, the model's robust performance paves the way for advanced downstream tasks like morphological analysis and clinical grading. Future work will focus on optimizing the pipeline's speed for real-time clinical applications.

Summary updated

BibTeX
@inproceedings{jung2019automatic,
  author = {Hwejin Jung and Bilal Ahmed Lodhi and Jaewoo Kang},
  title = {{An automatic nuclei segmentation method based on deep convolutional neural networks for histopathology images}},
  booktitle = {BMC},
  year = {2019},
  doi = {10.1186/s42490-019-0026-8},
}
Figure