Learnable color space conversion and fusion for stain normalization in pathology images.

Journal: Medical image analysis
PMID:

Abstract

Variations in hue and contrast are common in H&E-stained pathology images due to differences in slide preparation across various institutions. Such stain variations, while not affecting pathologists much in diagnosing the biopsy, pose significant challenges for computer-assisted diagnostic systems, leading to potential underdiagnosis or misdiagnosis, especially when stain differentiation introduces substantial heterogeneity across datasets from different sources. Traditional stain normalization methods, aimed at mitigating these issues, often require labor-intensive selection of appropriate templates, limiting their practicality and automation. Innovatively, we propose a Learnable Stain Normalization layer, i.e. LStainNorm, designed as an easily integrable component for pathology image analysis. It minimizes the need for manual template selection by autonomously learning the optimal stain characteristics. Moreover, the learned optimal stain template provides the interpretability to enhance the understanding of the normalization process. Additionally, we demonstrate that fusing pathology images normalized in multiple color spaces can improve performance. Therefore, we extend LStainNorm with a novel self-attention mechanism to facilitate the fusion of features across different attributes and color spaces. Experimentally, LStainNorm outperforms the state-of-the-art methods including conventional ones and GANs on two classification datasets and three nuclei segmentation datasets by an average increase of 4.78% in accuracy, 3.53% in Dice coefficient, and 6.59% in IoU. Additionally, by enabling an end-to-end training and inference process, LStainNorm eliminates the need for intermediate steps between normalization and analysis, resulting in more efficient use of hardware resources and significantly faster inference time, i.e up to hundreds of times quicker than traditional methods. The code is publicly available at https://github.com/yjzscode/Optimal-Normalisation-in-Color-Spaces.

Authors

  • Jing Ke
    Beijing Key Laboratory of Diabetes Research and Care, Center for Endocrine Metabolism and Immune Diseases, Lu He Hospital Capital Medical University, Beijing, 101149, China.
  • Yijin Zhou
    School of Mathematical Sciences, Shanghai Jiao Tong University, Shanghai, China. Electronic address: 708972751@sjtu.edu.cn.
  • Yiqing Shen
    Department of Neurology, The First Affiliated Hospital of Chongqing Medical University, Chongqing 400016, China.
  • Yi Guo
    Department of Respiratory and Critical Care Medicine, Ruijin Hospital, Shanghai Jiao Tong University School of Medicine, Shanghai 200025, China.
  • Ning Liu
    School of Public Health, Hangzhou Normal University, Hangzhou, China.
  • Xiaodan Han
    Department of Anaesthesiology, Zhongshan Hospital, Fudan University, Shanghai, China. Electronic address: han.xiaodan@zs-hospital.sh.cn.
  • Dinggang Shen
    School of Biomedical Engineering, ShanghaiTech University, Shanghai, China.