Digital staining in optical microscopy using deep learning - a review

Lucas Kreiß, Shaowei Jiang, Xiang Li, Shiqi Xu, Kevin C. Zhou, Kyung Chul Lee, Alexander Mühlberg, Kanghyun Kim, Amey Chaware, D. Michael Ando, Laura Barisoni, Seung Ah Lee, Guoan Zheng, Kyle J. Lafata, Oliver Friedrich, Roarke Horstmeyer

Abstract

Until recently, conventional biochemical staining had the undisputed status as well-established benchmark for most biomedical problems related to clinical diagnostics, fundamental research and biotechnology. Despite this role as gold-standard, staining protocols face several challenges, such as a need for extensive, manual processing of samples, substantial time delays, altered tissue homeostasis, limited choice of contrast agents, 2D imaging instead of 3D tomography and many more. Label-free optical technologies, on the other hand, do not rely on exogenous and artificial markers, by exploiting intrinsic optical contrast mechanisms, where the specificity is typically less obvious to the human observer. Over the past few years, digital staining has emerged as a promising concept to use modern deep learning for the translation from optical contrast to established biochemical contrast of actual stainings. In this review article, we provide an in-depth analysis of the current state-of-the-art in this field, suggest methods of good practice, identify pitfalls and challenges and postulate promising advances towards potential future implementations and applications.

Introduction: The Staining Bottleneck

In biomedical research and clinical diagnostics, biochemical staining remains the "gold standard" for identifying cell types and tissue structures. However, traditional methods like Hematoxylin and Eosin (H&E) or Immunofluorescence (IF) are fraught with significant bottlenecks. These processes require extensive manual sample preparation—including fixing, embedding, and physical slicing—which can cause delays ranging from hours to days. Furthermore, these methods are often destructive, preventing researchers from observing the same sample over time or in 3D.

The Digital Staining Paradigm

Digital staining (DS) offers a transformative alternative by using deep learning to "virtually" apply biochemical stains to label-free microscopy images. By translating intrinsic optical signals (like phase contrast or autofluorescence) into familiar visual formats, DS bypasses the slow and labor-intensive processes of traditional histology. This enables non-destructive, real-time imaging of live cells and tissues.

Comparison of conventional staining workflows (a, b, c) versus the streamlined digital staining approach (d).

Computational Methods

The evolution of digital staining has progressed through three main computational stages:

  1. Linear Color-Coding: Early methods used simple mathematical transforms to map intensity values to colors.
  2. Classical Machine Learning: Researchers employed engineered features like texture or edges with algorithms such as Random Forests.
  3. Deep Learning: Modern implementations rely heavily on Convolutional Neural Networks (CNNs), particularly the U-Net architecture for image-to-image regression. Generative Adversarial Networks (GANs), such as Pix2Pix and CycleGAN, are also widely used to produce realistic textures, though they introduce a risk of "hallucination"—generating structures that do not exist in the source tissue.

Current Landscape and Key Insights

A review of 108 articles published between 2005 and 2023 reveals a field in rapid expansion. The most frequent applications involve using phase contrast to predict multiple IF stains in cell cultures and autofluorescence to predict H&E in tissue sections.

Literature overview of input/target domains and selected examples of digital staining results across various modalities.

Successful digital staining relies on "optical specificity"—the label-free input must carry information correlated with the target stain. For instance, phase contrast is ideal for staining membranes and nuclei because these structures naturally produce high phase shifts. Additionally, training strategies are critical; imaging the same tissue section before and after staining is superior to using consecutive slices, as it eliminates registration errors.

Challenges and Future Directions

Despite its potential, several hurdles remain for clinical adoption:

  • Generalizability: Models are often "overfit" to specific hardware, necessitating hardware-agnostic "stain normalization."
  • Uncertainty and Interpretability: There is a growing call for "physics-informed" models that move away from "black box" AI toward more transparent, reliable processes.
  • Clinical Validation: Full FDA approval requires rigorous documentation to prove that virtual stains are as safe and accurate as their chemical counterparts.

Digital staining is uniquely positioned to enable "virtual" 3D tomography, applying stains to 3D label-free volumes—a feat physically impossible with traditional chemical stains. As the field matures, the focus will shift toward robust, interpretable models ready for the clinic.

Summary updated

BibTeX
@inproceedings{krei2023digital,
  author = {Lucas Kreiß and Shaowei Jiang and Xiang Li and Shiqi Xu and Kevin C. Zhou and Kyung Chul Lee and Alexander Mühlberg and Kanghyun Kim and Amey Chaware and D. Michael Ando and Laura Barisoni and Seung Ah Lee and Guoan Zheng and Kyle J. Lafata and Oliver Friedrich and Roarke Horstmeyer},
  title = {{Digital staining in optical microscopy using deep learning - a review}},
  booktitle = {PhotoniX},
  year = {2023},
  doi = {10.1186/s43074-023-00113-4},
}
Figure