English

Virtual Gram staining of label-free bacteria using darkfield microscopy and deep learning

Quantitative Methods 2025-01-15 v1 Machine Learning Image and Video Processing Medical Physics Optics

Abstract

Gram staining has been one of the most frequently used staining protocols in microbiology for over a century, utilized across various fields, including diagnostics, food safety, and environmental monitoring. Its manual procedures make it vulnerable to staining errors and artifacts due to, e.g., operator inexperience and chemical variations. Here, we introduce virtual Gram staining of label-free bacteria using a trained deep neural network that digitally transforms darkfield images of unstained bacteria into their Gram-stained equivalents matching brightfield image contrast. After a one-time training effort, the virtual Gram staining model processes an axial stack of darkfield microscopy images of label-free bacteria (never seen before) to rapidly generate Gram staining, bypassing several chemical steps involved in the conventional staining process. We demonstrated the success of the virtual Gram staining workflow on label-free bacteria samples containing Escherichia coli and Listeria innocua by quantifying the staining accuracy of the virtual Gram staining model and comparing the chromatic and morphological features of the virtually stained bacteria against their chemically stained counterparts. This virtual bacteria staining framework effectively bypasses the traditional Gram staining protocol and its challenges, including stain standardization, operator errors, and sensitivity to chemical variations.

Keywords

Cite

@article{arxiv.2407.12337,
  title  = {Virtual Gram staining of label-free bacteria using darkfield microscopy and deep learning},
  author = {Cagatay Isil and Hatice Ceylan Koydemir and Merve Eryilmaz and Kevin de Haan and Nir Pillar and Koray Mentesoglu and Aras Firat Unal and Yair Rivenson and Sukantha Chandrasekaran and Omai B. Garner and Aydogan Ozcan},
  journal= {arXiv preprint arXiv:2407.12337},
  year   = {2025}
}

Comments

25 Pages, 5 Figures

R2 v1 2026-06-28T17:44:05.872Z