1
|
Mahbod A, Dorffner G, Ellinger I, Woitek R, Hatamikia S. Improving generalization capability of deep learning-based nuclei instance segmentation by non-deterministic train time and deterministic test time stain normalization. Comput Struct Biotechnol J 2024; 23:669-678. [PMID: 38292472 PMCID: PMC10825317 DOI: 10.1016/j.csbj.2023.12.042] [Citation(s) in RCA: 2] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 09/12/2023] [Revised: 12/26/2023] [Accepted: 12/26/2023] [Indexed: 02/01/2024] Open
Abstract
With the advent of digital pathology and microscopic systems that can scan and save whole slide histological images automatically, there is a growing trend to use computerized methods to analyze acquired images. Among different histopathological image analysis tasks, nuclei instance segmentation plays a fundamental role in a wide range of clinical and research applications. While many semi- and fully-automatic computerized methods have been proposed for nuclei instance segmentation, deep learning (DL)-based approaches have been shown to deliver the best performances. However, the performance of such approaches usually degrades when tested on unseen datasets. In this work, we propose a novel method to improve the generalization capability of a DL-based automatic segmentation approach. Besides utilizing one of the state-of-the-art DL-based models as a baseline, our method incorporates non-deterministic train time and deterministic test time stain normalization, and ensembling to boost the segmentation performance. We trained the model with one single training set and evaluated its segmentation performance on seven test datasets. Our results show that the proposed method provides up to 4.9%, 5.4%, and 5.9% better average performance in segmenting nuclei based on Dice score, aggregated Jaccard index, and panoptic quality score, respectively, compared to the baseline segmentation model.
Collapse
Affiliation(s)
- Amirreza Mahbod
- Research Center for Medical Image Analysis and Artificial Intelligence, Department of Medicine, Danube Private University, Krems an der Donau, Austria
| | - Georg Dorffner
- Institute of Artificial Intelligence, Medical University of Vienna, Vienna, Austria
| | - Isabella Ellinger
- Institute for Pathophysiology and Allergy Research, Medical University of Vienna, Vienna, Austria
| | - Ramona Woitek
- Research Center for Medical Image Analysis and Artificial Intelligence, Department of Medicine, Danube Private University, Krems an der Donau, Austria
| | - Sepideh Hatamikia
- Research Center for Medical Image Analysis and Artificial Intelligence, Department of Medicine, Danube Private University, Krems an der Donau, Austria
- Austrian Center for Medical Innovation and Technology, Wiener Neustadt, Austria
| |
Collapse
|
2
|
Gu Z, Wang S, Rong R, Zhao Z, Wu F, Zhou Q, Wen Z, Chi Z, Fang Y, Peng Y, Jia L, Chen M, Yang DM, Hoshida Y, Xie Y, Xiao G. Cell Segmentation With Globally Optimized Boundaries (CSGO): A Deep Learning Pipeline for Whole-Cell Segmentation in Hematoxylin-and-Eosin-Stained Tissues. J Transl Med 2024; 105:102184. [PMID: 39528162 DOI: 10.1016/j.labinv.2024.102184] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 07/15/2024] [Revised: 10/05/2024] [Accepted: 11/05/2024] [Indexed: 11/16/2024] Open
Abstract
Accurate whole-cell segmentation is essential in various biomedical applications, particularly in studying the tumor microenvironment. Despite advancements in machine learning for nuclei segmentation in hematoxylin and eosin (H&E)-stained images, there remains a need for effective whole-cell segmentation methods. This study aimed to develop a deep learning-based pipeline to automatically segment cells in H&E-stained tissues, thereby advancing the capabilities of pathological image analysis. The Cell Segmentation with Globally Optimized boundaries (CSGO) framework integrates nuclei and membrane segmentation algorithms, followed by postprocessing using an energy-based watershed method. Specifically, we used the You Only Look Once (YOLO) object detection algorithm for nuclei segmentation and U-Net for membrane segmentation. The membrane detection model was trained on a data set of 7 hepatocellular carcinomas and 11 normal liver tissue patches. The cell segmentation performance was extensively evaluated on 5 external data sets, including liver, lung, and oral disease cases. CSGO demonstrated superior performance over the state-of-the-art method Cellpose, achieving higher F1 scores ranging from 0.37 to 0.53 at an intersection over union threshold of 0.5 in 4 of the 5 external datasets, compared to that of Cellpose from 0.21 to 0.36. These results underscore the robustness and accuracy of our approach in various tissue types. A web-based application is available at https://ai.swmed.edu/projects/csgo, providing a user-friendly platform for researchers to apply our method to their own data sets. Our method exhibits remarkable versatility in whole-cell segmentation across diverse cancer subtypes, serving as an accurate and reliable tool to facilitate tumor microenvironment studies. The advancements presented in this study have the potential to significantly enhance the precision and efficiency of pathologic image analysis, contributing to better understanding and treatment of cancer.
Collapse
Affiliation(s)
- Zifan Gu
- Quantitative Biomedical Research Center, Peter O'Donnell Jr. School of Public Health, University of Texas Southwestern Medical Center, Dallas, Texas.
| | - Shidan Wang
- Quantitative Biomedical Research Center, Peter O'Donnell Jr. School of Public Health, University of Texas Southwestern Medical Center, Dallas, Texas
| | - Ruichen Rong
- Quantitative Biomedical Research Center, Peter O'Donnell Jr. School of Public Health, University of Texas Southwestern Medical Center, Dallas, Texas
| | - Zhuo Zhao
- Quantitative Biomedical Research Center, Peter O'Donnell Jr. School of Public Health, University of Texas Southwestern Medical Center, Dallas, Texas
| | - Fangjiang Wu
- Quantitative Biomedical Research Center, Peter O'Donnell Jr. School of Public Health, University of Texas Southwestern Medical Center, Dallas, Texas
| | - Qin Zhou
- Quantitative Biomedical Research Center, Peter O'Donnell Jr. School of Public Health, University of Texas Southwestern Medical Center, Dallas, Texas
| | - Zhuoyu Wen
- Quantitative Biomedical Research Center, Peter O'Donnell Jr. School of Public Health, University of Texas Southwestern Medical Center, Dallas, Texas
| | - Zhikai Chi
- Department of Pathology, UT Southwestern Medical Center, Dallas, Texas
| | - Yisheng Fang
- Department of Pathology, UT Southwestern Medical Center, Dallas, Texas
| | - Yan Peng
- Department of Pathology, UT Southwestern Medical Center, Dallas, Texas
| | - Liwei Jia
- Department of Pathology, UT Southwestern Medical Center, Dallas, Texas
| | - Mingyi Chen
- Department of Pathology, UT Southwestern Medical Center, Dallas, Texas
| | - Donghan M Yang
- Quantitative Biomedical Research Center, Peter O'Donnell Jr. School of Public Health, University of Texas Southwestern Medical Center, Dallas, Texas
| | - Yujin Hoshida
- Department of Internal Medicine, UT Southwestern Medical Center, Dallas, Texas
| | - Yang Xie
- Quantitative Biomedical Research Center, Peter O'Donnell Jr. School of Public Health, University of Texas Southwestern Medical Center, Dallas, Texas; Department of Bioinformatics, UT Southwestern Medical Center, Dallas, Texas; Simmons Comprehensive Cancer Center, UT Southwestern Medical Center, Dallas, Texas
| | - Guanghua Xiao
- Quantitative Biomedical Research Center, Peter O'Donnell Jr. School of Public Health, University of Texas Southwestern Medical Center, Dallas, Texas; Department of Bioinformatics, UT Southwestern Medical Center, Dallas, Texas; Simmons Comprehensive Cancer Center, UT Southwestern Medical Center, Dallas, Texas.
| |
Collapse
|
3
|
Wang Y, Guo Y, Wang Z, Yu L, Yan Y, Gu Z. Enhancing semantic segmentation in chest X-ray images through image preprocessing: ps-KDE for pixel-wise substitution by kernel density estimation. PLoS One 2024; 19:e0299623. [PMID: 38913621 PMCID: PMC11195943 DOI: 10.1371/journal.pone.0299623] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/13/2024] [Accepted: 05/08/2024] [Indexed: 06/26/2024] Open
Abstract
BACKGROUND In medical imaging, the integration of deep-learning-based semantic segmentation algorithms with preprocessing techniques can reduce the need for human annotation and advance disease classification. Among established preprocessing techniques, Contrast Limited Adaptive Histogram Equalization (CLAHE) has demonstrated efficacy in improving segmentation algorithms across various modalities, such as X-rays and CT. However, there remains a demand for improved contrast enhancement methods considering the heterogeneity of datasets and the various contrasts across different anatomic structures. METHOD This study proposes a novel preprocessing technique, ps-KDE, to investigate its impact on deep learning algorithms to segment major organs in posterior-anterior chest X-rays. Ps-KDE augments image contrast by substituting pixel values based on their normalized frequency across all images. We evaluate our approach on a U-Net architecture with ResNet34 backbone pre-trained on ImageNet. Five separate models are trained to segment the heart, left lung, right lung, left clavicle, and right clavicle. RESULTS The model trained to segment the left lung using ps-KDE achieved a Dice score of 0.780 (SD = 0.13), while that of trained on CLAHE achieved a Dice score of 0.717 (SD = 0.19), p<0.01. ps-KDE also appears to be more robust as CLAHE-based models misclassified right lungs in select test images for the left lung model. The algorithm for performing ps-KDE is available at https://github.com/wyc79/ps-KDE. DISCUSSION Our results suggest that ps-KDE offers advantages over current preprocessing techniques when segmenting certain lung regions. This could be beneficial in subsequent analyses such as disease classification and risk stratification.
Collapse
Affiliation(s)
- Yuanchen Wang
- Department of Biomedical Informatics, Harvard Medical School, Boston, Massachusetts, United States of America
| | - Yujie Guo
- Department of Biomedical Informatics, Harvard Medical School, Boston, Massachusetts, United States of America
| | - Ziqi Wang
- Department of Biomedical Informatics, Harvard Medical School, Boston, Massachusetts, United States of America
| | - Linzi Yu
- Department of Biomedical Informatics, Harvard Medical School, Boston, Massachusetts, United States of America
| | - Yujie Yan
- Department of Biomedical Informatics, Harvard Medical School, Boston, Massachusetts, United States of America
| | - Zifan Gu
- Department of Biomedical Informatics, Harvard Medical School, Boston, Massachusetts, United States of America
| |
Collapse
|
4
|
Yang R, Liu P, Ji L. ProDiv: Prototype-driven consistent pseudo-bag division for whole-slide image classification. COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE 2024; 249:108161. [PMID: 38608349 DOI: 10.1016/j.cmpb.2024.108161] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 08/30/2023] [Revised: 01/26/2024] [Accepted: 03/31/2024] [Indexed: 04/14/2024]
Abstract
BACKGROUND AND OBJECTIVE Pathology image classification is one of the most essential auxiliary processes in cancer diagnosis. To overcome the problem of inadequate Whole-Slide Image (WSI) samples with weak labels, pseudo-bag-based multiple instance learning (MIL) methods have attracted wide attention in pathology image classification. In this type of method, the division scheme of pseudo-bags is usually a primary factor affecting classification performance. In order to improve the division of WSI pseudo-bags on existing random/clustering approaches, this paper proposes a new Prototype-driven Division (ProDiv) scheme for the pseudo-bag-based MIL classification framework on pathology images. METHODS This scheme first designs an attention-based method to generate a bag prototype for each slide. On this basis, it further groups WSI patch instances into a series of instance clusters according to the feature similarities between the prototype and patches. Finally, pseudo-bags are obtained by randomly combining the non-overlapping patch instances of different instance clusters. Moreover, the design scheme of our ProDiv considers practicality, and it could be smoothly assembled with almost all the MIL-based WSI classification methods in recent years. RESULTS Empirical results show that our ProDiv, when integrated with several existing methods, can deliver classification AUC improvements of up to 7.3% and 10.3%, respectively on two public WSI datasets. CONCLUSIONS ProDiv could almost always bring obvious performance improvements to compared MIL models on typical metrics, which suggests the effectiveness of our scheme. Experimental visualization also visually interprets the correctness of the proposed ProDiv.
Collapse
Affiliation(s)
- Rui Yang
- School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu 611731, PR China.
| | - Pei Liu
- School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu 611731, PR China.
| | - Luping Ji
- School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu 611731, PR China.
| |
Collapse
|
5
|
Wen Z, Luo D, Wang S, Rong R, Evers BM, Jia L, Fang Y, Daoud EV, Yang S, Gu Z, Arner EN, Lewis CM, Solis Soto LM, Fujimoto J, Behrens C, Wistuba II, Yang DM, Brekken RA, O'Donnell KA, Xie Y, Xiao G. Deep Learning-Based H-Score Quantification of Immunohistochemistry-Stained Images. Mod Pathol 2024; 37:100398. [PMID: 38043788 PMCID: PMC11141889 DOI: 10.1016/j.modpat.2023.100398] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 07/17/2023] [Revised: 11/14/2023] [Accepted: 11/21/2023] [Indexed: 12/05/2023]
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.
Collapse
Affiliation(s)
- Zhuoyu Wen
- Quantitative Biomedical Research Center, Peter O'Donnell Jr School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Danni Luo
- Quantitative Biomedical Research Center, Peter O'Donnell Jr School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Shidan Wang
- Quantitative Biomedical Research Center, Peter O'Donnell Jr School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Ruichen Rong
- Quantitative Biomedical Research Center, Peter O'Donnell Jr School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Bret M Evers
- Department of Pathology, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Liwei Jia
- Department of Pathology, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Yisheng Fang
- Department of Pathology, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Elena V Daoud
- Department of Pathology, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Shengjie Yang
- Quantitative Biomedical Research Center, Peter O'Donnell Jr School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Zifan Gu
- Quantitative Biomedical Research Center, Peter O'Donnell Jr School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Emily N Arner
- Department of Surgery, The University of Texas Southwestern Medical Center, Dallas, Texas; Hamon Center for Therapeutic Oncology Research, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Cheryl M Lewis
- Department of Pathology, The University of Texas Southwestern Medical Center, Dallas, Texas; Harold C. Simmons Comprehensive Cancer Center, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Luisa M Solis Soto
- Division of Pathology and Laboratory Medicine, Department of Translational Molecular Pathology, The University of Texas MD Anderson Cancer Center, Houston, Texas
| | - Junya Fujimoto
- Division of Pathology and Laboratory Medicine, Department of Translational Molecular Pathology, The University of Texas MD Anderson Cancer Center, Houston, Texas
| | - Carmen Behrens
- Division of Cancer Medicine, Department of Thoracic/Head and Neck Medical Oncology, The University of Texas MD Anderson Cancer Center, Houston, Texas
| | - Ignacio I Wistuba
- Division of Pathology and Laboratory Medicine, Department of Translational Molecular Pathology, The University of Texas MD Anderson Cancer Center, Houston, Texas
| | - Donghan M Yang
- Quantitative Biomedical Research Center, Peter O'Donnell Jr School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Rolf A Brekken
- Department of Surgery, The University of Texas Southwestern Medical Center, Dallas, Texas; Hamon Center for Therapeutic Oncology Research, The University of Texas Southwestern Medical Center, Dallas, Texas; Harold C. Simmons Comprehensive Cancer Center, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Kathryn A O'Donnell
- Harold C. Simmons Comprehensive Cancer Center, The University of Texas Southwestern Medical Center, Dallas, Texas; Hamon Center for Regenerative Medicine, The University of Texas Southwestern Medical Center, Dallas, Texas; Department of Molecular Biology, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Yang Xie
- Quantitative Biomedical Research Center, Peter O'Donnell Jr School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas; Hamon Center for Regenerative Medicine, The University of Texas Southwestern Medical Center, Dallas, Texas; Department of Bioinformatics, The University of Texas Southwestern Medical Center, Dallas, Texas
| | - Guanghua Xiao
- Quantitative Biomedical Research Center, Peter O'Donnell Jr School of Public Health, The University of Texas Southwestern Medical Center, Dallas, Texas; Hamon Center for Regenerative Medicine, The University of Texas Southwestern Medical Center, Dallas, Texas; Department of Bioinformatics, The University of Texas Southwestern Medical Center, Dallas, Texas.
| |
Collapse
|