Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Feb;37(2):100398.
doi: 10.1016/j.modpat.2023.100398. Epub 2023 Dec 1.

Deep Learning-Based H-Score Quantification of Immunohistochemistry-Stained Images

Affiliations

Deep Learning-Based H-Score Quantification of Immunohistochemistry-Stained Images

Zhuoyu Wen et al. Mod Pathol. 2024 Feb.

Abstract

Immunohistochemistry (IHC) is a well-established and commonly used staining method for clinical diagnosis and biomedical research. In most IHC images, the target protein is conjugated with a specific antibody and stained using diaminobenzidine (DAB), resulting in a brown coloration, whereas hematoxylin serves as a blue counterstain for cell nuclei. The protein expression level is quantified through the H-score, calculated from DAB staining intensity within the target cell region. Traditionally, this process requires evaluation by 2 expert pathologists, which is both time consuming and subjective. To enhance the efficiency and accuracy of this process, we have developed an automatic algorithm for quantifying the H-score of IHC images. To characterize protein expression in specific cell regions, a deep learning model for region recognition was trained based on hematoxylin staining only, achieving pixel accuracy for each class ranging from 0.92 to 0.99. Within the desired area, the algorithm categorizes DAB intensity of each pixel as negative, weak, moderate, or strong staining and calculates the final H-score based on the percentage of each intensity category. Overall, this algorithm takes an IHC image as input and directly outputs the H-score within a few seconds, significantly enhancing the speed of IHC image analysis. This automated tool provides H-score quantification with precision and consistency comparable to experienced pathologists but at a significantly reduced cost during IHC diagnostic workups. It holds significant potential to advance biomedical research reliant on IHC staining for protein expression quantification.

Keywords: H-score; deep learning; immunohistochemistry image; pathology image analysis; protein expression quantification.

PubMed Disclaimer

Conflict of interest statement

Conflict of Interest

The authors declare no conflict of interest.

Figures

Figure 1.
Figure 1.
Flowchart of Automatic H-score Quantification for IHC Images.
Figure 2.
Figure 2.
Examples of Region Recognition by the UNet-MobileNet Model Based on Hematoxylin Staining in IHC Images.
Figure 3.
Figure 3.
Examples of Nuclei Masks Generated by Otsu’s Thresholding for Hematoxylin Staining in IHC Images, Along with Corresponding Tumor Cytoplasm Masks.
Figure 4.
Figure 4.
Examples of Heat Maps Depicting the Distribution of DAB Intensity Categories Across Entire IHC Images, Determined by Selected Threshold Values.
Figure 5.
Figure 5.. Comparison Between Manually and Automatically Calculated H-scores for the Development Set.
(A) Scatter plot demonstrating the correlation between the H-scores obtained through manual quantification by pathologists and those generated by our developed algorithm for the same IHC image. The black line represents the identity line, while the orange line is the regression line with a slope of 0.73 (95% CI: [0.70, 0.76]) and an intercept of −1.86 (95% CI: [−9.25, 5.52]). (We observed that the machine H-score tended to be lower than the pathologist H-score for the same IHC image, as explained in the discussion section.) (B) Scatter plot illustrating the correlation between the H-scores measured by two different pathologists for the same IHC image. The black line represents the identity line, while the orange line is the regression line with a slope of 0.62 (95% CI: [0.60, 0.65]) and an intercept of 98.75 (95% CI: [92.89, 104.60]). (C) Cumulative distribution function (CDF) of the coefficient of variation of H-scores for the IHC images assessed by pathologists or our algorithm from the same patient.
Figure 6.
Figure 6.. Comparison Between Manually and Automatically Calculated H-scores for Two Independent Validation Sets.
(A) Scatter plot depicting the correlation between pathologist H-scores and machine H-scores of AKT3 for the 69 pancreatic cancer tissue samples in the first validation set. The black line represents the identity line, while the orange line is the regression line with a slope of 0.44 (95% CI: [0.36, 0.53]) and an intercept of 71.31 (95% CI: [51.48, 91.15]). (B) Scatter plot illustrating the correlation between pathologist H-scores and machine H-scores of HER2 for the 87 breast cancer tissue samples in the second validation set. The black line represents the identity line, while the orange line is the regression line with a slope of 0.62 (95% CI: [0.60, 0.65]) and an intercept of −0.39 (95% CI: [−4.27, 3.49]). (C) Scatter plot with error bars displaying the mean and standard deviation of the calibrated machine H-score for each tissue sample in the second validation set over 100 iterations. The black line represents the identity line.

References

    1. Graham RC Jr, Karnovsky MJ. THF EARLY STAGES OF ABSORPTION OF INJECTED HORSERADISH PEROXIDASE IN THE PROXIMAL TUBULES OF MOUSE KIDNEY: ULTRASTRUCTURAL CYTOCHEMISTRY BY A NEW TECHNIQUE. J Histochem Cytochem. 1966;14(4):291–302. - PubMed
    1. Kim S-W, Roh J, Park C-S. Immunohistochemistry for pathologists: protocols, pitfalls, and tips. Journal of pathology and translational medicine. 2016;50(6):411. - PMC - PubMed
    1. De Matos LL, Trufelli DC, De Matos MGL, da Silva Pinhal MA. Immunohistochemistry as an important tool in biomarkers detection and clinical practice. Biomark Insights. 2010;5:BMI. S2185. - PMC - PubMed
    1. Duraiyan J, Govindarajan R, Kaliyappan K, Palanisamy M. Applications of immunohistochemistry. J Pharm Bioallied Sci. 2012;4(Suppl 2):S307. - PMC - PubMed
    1. Ramos-Vara J, Miller M. When tissue antigens and antibodies get along: revisiting the technical aspects of immunohistochemistry—the red, brown, and blue technique. Vet Pathol. 2014;51(1):42–87. - PubMed

LinkOut - more resources