Generative Deep Learning for Computational Destaining and Restaining of Unregistered Digital Pathology Images
Summary
Conditional generative adversarial networks (cGANs) have demonstrated high-fidelity computational staining and destaining of hematoxylin and eosin (H&E) in digital pathology whole-slide images (WSI). This study evaluated the cross-site generalization of cGAN models, previously trained on 102 registered prostate core biopsy WSIs from Brigham and Women's Hospital, on 82 spatially unregistered WSIs from Stanford University. Without retraining, a preprocessing pipeline involving histogram-based stain normalization for H&E WSIs and channel-wise intensity calibration for unstained WSIs was developed to mitigate domain shift. Virtual destaining achieved a Pearson correlation coefficient (PCC) of 0.854, structural similarity index measure (SSIM) of 0.699, and peak signal-to-noise ratio (PSNR) of 18.41 dB. Notably, H&E restaining from computationally destained outputs outperformed direct staining from ground-truth unstained inputs across all metrics (PCC: 0.798 vs. 0.715; SSIM: 0.756 vs. 0.718; PSNR: 20.08 vs. 18.51 dB). Pathological review indicated preservation of benign glandular structures but degradation in malignant glands, suggesting preprocessing quality is critical for cross-site deployment.
Key takeaway
For Computer Vision Engineers developing digital pathology solutions, this research indicates that robust preprocessing is paramount for deploying virtual staining models across different institutions without retraining. You should focus on enhancing unstained-domain harmonization methods and consider a destain-restain digital loop, as it can yield superior H&E outputs compared to direct staining. Be aware that while broad tissue architecture is preserved, malignant gland morphology may degrade, necessitating morphology-aware training objectives in your future work.
Key insights
Preprocessing-based domain adaptation enables cGAN models to generalize for computational pathology across institutions without retraining.
Principles
- Preprocessing quality is critical for cross-site model generalization.
- Destain-restain loops can improve staining fidelity over direct staining.
Method
A preprocessing pipeline using histogram-based stain normalization for H&E WSIs and channel-wise intensity calibration for unstained WSIs was applied before cGAN inference on unregistered external data.
In practice
- Implement stain normalization for H&E images.
- Develop custom intensity calibration for unstained images.
- Prioritize morphology-aware training objectives.
Topics
- Conditional GANs
- Digital Pathology
- Computational Staining
- Cross-Site Generalization
- Stain Normalization
Code references
Best for: Computer Vision Engineer, AI Scientist, Machine Learning Engineer, Research Scientist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CV updates on arXiv.org.