A novel topology-guided adaptive strategy for automated nuclear-cytoplasmic H-score quantification in immunohistochemistry
Abstract
Automated quantification of immunohistochemistry (IHC) supports reproducible biomarker assessment, but routine use remains limited by cellular crowding and staining variability. We present a workflow for batch quantification of nuclear and cytoplasmic IHC staining using H-scores, without task-specific model training. It integrates StarDist nuclear detection, a Voronoi-based Cell Distance (VCD) topology-guided segmentation strategy and user-guided reference-calibrated grading. VCD constrains nuclear expansion using Voronoi-derived boundaries to maintain separation between adjacent measurement regions. Reference-calibrated grading uses user-selected reference regions from a representative calibration image to derive batch-specific staining-intensity thresholds. In the segmentation benchmark, 99.7% of matched objects had a mean boundary distance from manual ground-truth contours to predicted contours of no more than 2 pixels. Across 752 IHC images representing diverse staining conditions, reference-calibrated grading showed close agreement with pathologist-assigned reference H-scores (Lin’s concordance correlation coefficient = 0.997), with a mean Bland–Altman bias of − 2.35 H-score units. In Human Protein Atlas datasets, automated H-scores correlated with categorical expression annotations for Timeless ( n = 330; Spearman’s ρ = 0.760), CDK1 ( n = 290; ρ = 0.660) and p53 ( n = 152; ρ = 0.765). This open-source plugin provides an accessible workflow for batch quantification of nuclear and cytoplasmic IHC staining in selected image fields.
// Source
Authors: Weiyu Wang, Mengting Lin, Fuxian Zou, Zhenzhen Yang, Mingqing Huang, Changxian Chen
Institutions: Fujian University of Traditional Chinese Medicine