# StainGAN: Stain Style Transfer for Digital Histological Images

arXiv: https://arxiv.org/abs/1804.01601 · HTML: https://mlsanity.com/paper/1804.01601/

## Key facts

- Cited by 68 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 4 Apr 2018.

## Built on by (most cited first, 30 of 68)

- [BCI: Breast Cancer Immunohistochemical Image Generation through Pyramid Pix2pix](https://mlsanity.com/paper/2204.11425/) (2022)
- [Multiple Instance Learning for Digital Pathology: A Review on the State-of-the-Art, Limitations & Future Potential](https://mlsanity.com/paper/2206.04425/) (2022)
- [RandStainNA: Learning Stain-Agnostic Features from Histology Slides by Bridging Stain Augmentation and Normalization](https://mlsanity.com/paper/2206.12694/) (2022)
- [Structure-Preserving Multi-Domain Stain Color Augmentation using Style-Transfer with Disentangled Representations](https://mlsanity.com/paper/2107.12357/) (2021)
- [Algorithm Fairness in AI for Medicine and Healthcare](https://mlsanity.com/paper/2110.00603/) (2021)
- [A Survey on Computational Pathology Foundation Models: Datasets, Adaptation Strategies, and Evaluation Tasks](https://mlsanity.com/paper/2501.15724/) (2025)
- [Test-time image-to-image translation ensembling improves out-of-distribution generalization in histopathology](https://mlsanity.com/paper/2206.09769/) (2022)
- [Federated Stain Normalization for Computational Pathology](https://mlsanity.com/paper/2209.14849/) (2022)
- [Structural Cycle GAN for Virtual Immunohistochemistry Staining of Gland Markers in the Colon](https://mlsanity.com/paper/2308.13182/) (2023)
- [VIMs: Virtual Immunohistochemistry Multiplex staining via Text-to-Stain Diffusion Trained on Uniplex Stains](https://mlsanity.com/paper/2407.19113/) (2024)
- [From Modern CNNs to Vision Transformers: Assessing the Performance, Robustness, and Classification Strategies of Deep Learning Models in Histopathology](https://mlsanity.com/paper/2204.05044/) (2022)
- [Improving Unsupervised Stain-To-Stain Translation using Self-Supervision and Meta-Learning](https://mlsanity.com/paper/2112.08837/) (2021)
- [RestainNet: a self-supervised digital re-stainer for stain normalization](https://mlsanity.com/paper/2202.13804/) (2022)
- [Deep Learning Generates Synthetic Cancer Histology for Explainability and Education](https://mlsanity.com/paper/2211.06522/) (2022)
- [Digital staining in optical microscopy using deep learning -- a review](https://mlsanity.com/paper/2303.08140/) (2023)
- [A comparative evaluation of image-to-image translation methods for stain transfer in histopathology](https://mlsanity.com/paper/2303.17009/) (2023)
- [Breast Cancer Immunohistochemical Image Generation: a Benchmark Dataset and Challenge Review](https://mlsanity.com/paper/2305.03546/) (2023)
- [ContriMix: Scalable stain color augmentation for domain generalization without domain labels in digital pathology](https://mlsanity.com/paper/2306.04527/) (2023)
- [Pathology Foundation Models are Scanner Sensitive: Benchmark and Mitigation with Contrastive ScanGen Loss](https://mlsanity.com/paper/2507.22092/) (2025)
- [Generating Seamless Virtual Immunohistochemical Whole Slide Images with Content and Color Consistency](https://mlsanity.com/paper/2410.01072/) (2024)
- [H&E-adversarial network: a convolutional neural network to learn stain-invariant features through Hematoxylin & Eosin regression](https://mlsanity.com/paper/2201.06329/) (2022)
- [MultiPathGAN: Structure Preserving Stain Normalization using Unsupervised Multi-domain Adversarial Network with Perception Loss](https://mlsanity.com/paper/2204.09782/) (2022)
- [Multi-domain stain normalization for digital pathology: A cycle-consistent adversarial network for whole slide images](https://mlsanity.com/paper/2301.09431/) (2023)
- [Domain adaptation using optimal transport for invariant learning using histopathology datasets](https://mlsanity.com/paper/2303.02241/) (2023)
- [Dataset Distillation for Histopathology Image Classification](https://mlsanity.com/paper/2408.09709/) (2024)
- [A generative adversarial approach to facilitate archival-quality histopathologic diagnoses from frozen tissue sections](https://mlsanity.com/paper/2108.10550/) (2021)
- [Towards Measuring Domain Shift in Histopathological Stain Translation in an Unsupervised Manner](https://mlsanity.com/paper/2205.04368/) (2022)
- [Pseudo-Data based Self-Supervised Federated Learning for Classification of Histopathological Images](https://mlsanity.com/paper/2205.15530/) (2022)
- [HistoStarGAN: A Unified Approach to Stain Normalisation, Stain Transfer and Stain Invariant Segmentation in Renal Histopathology](https://mlsanity.com/paper/2210.09798/) (2022)
- [Generative Adversarial Networks for Stain Normalisation in Histopathology](https://mlsanity.com/paper/2308.02851/) (2023)

## Abstract (arXiv)

Digitized Histological diagnosis is in increasing demand. However, color variations due to various factors are imposing obstacles to the diagnosis process. The problem of stain color variations is a well-defined problem with many proposed solutions. Most of these solutions are highly dependent on a reference template slide. We propose a deep-learning solution inspired by CycleGANs that is trained end-to-end, eliminating the need for an expert to pick a representative reference slide. Our approach showed superior results quantitatively and qualitatively against the state of the art methods (10% improvement visually using SSIM). We further validated our method on a clinical use-case, namely Breast Cancer tumor classification, showing 12% increase in AUC. The code will be made publicly available.
