EUVIMEDEUVIMED entdecken
Open Access · CC BY-SA 4.0

Classification of Gram-Stained Microscopy Images of Bacteria Cultured on Multiple Media Using Frozen and Fine-Tuned ResNet-50 Transfer Learning: A Comparative Study

Daniel Martomanggolo Wonohadidjojo, Lidya Handayani

Teknika · 08.07.2026 · 15 (2) · 357-369

DOI: 10.34148/teknika.v15i2.1507 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Teknika, online erschienen am 08.07.2026. Verfasst von Daniel Martomanggolo Wonohadidjojo und 1 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The accurate and rapid identification of pathogenic bacteria is critical in clinical microbiology for guiding appropriate antibiotic therapy and infection control. This study proposes an automated classification system for Gram-stained bacterial microscopy images representing four clinically significant Gram-negative pathogenic species — Enterobacter cloacae, Escherichia coli, Klebsiella pneumoniae, and Pseudomonas aeruginosa — cultivated on five different culture media: Blood Agar Plate (BAP), MacConkey agar (MAC), Mueller-Hinton agar (MHA), Mueller-Hinton broth (MHB), and Nutrient agar (NA), yielding a 20-class classification problem. A primary dataset of 166 images was collected from clinical isolates using a standardized Gram staining protocol and imaged at 1000× magnification using a Leica DM500 trinocular microscope. Two ResNet-50 transfer learning strategies were compared under stratified 5-fold cross-validation: Experiment A using a frozen ResNet-50 as a fixed feature extractor, and Experiment B using a fully fine-tuned ResNet-50. Experiment B (fine-tuned) outperformed Experiment A (frozen) overall, achieving mean accuracy of 0.5832 ± 0.1109 and macro F1-score of 0.5409 ± 0.1231 compared to 0.5601 ± 0.0603 and 0.5010 ± 0.0935 respectively. The highest per-class F1-score was 0.9333 for E. coli on MAC and MHA in both experiments. Culture medium type is identified as a key determinant of classification difficulty, with selective and differential media yielding superior results over non-selective general-purpose media. Although fine-tuning improved performance, the relatively small dataset size and moderate overall accuracy indicate that larger-scale validation is required before clinical deployment.

Zitieren

APA

Wonohadidjojo, D. M., & Handayani, L. (2026). Classification of Gram-Stained Microscopy Images of Bacteria Cultured on Multiple Media Using Frozen and Fine-Tuned ResNet-50 Transfer Learning: A Comparative Study. Teknika, 15(2), 357-369. https://doi.org/10.34148/teknika.v15i2.1507

Vancouver

Wonohadidjojo DM, Handayani L. Classification of Gram-Stained Microscopy Images of Bacteria Cultured on Multiple Media Using Frozen and Fine-Tuned ResNet-50 Transfer Learning: A Comparative Study. Teknika. 2026;15(2):357-369. doi:10.34148/teknika.v15i2.1507

BibTeX
@article{Wonohadidjojo2026,
  author = {Wonohadidjojo, Daniel Martomanggolo and Handayani, Lidya},
  title = {Classification of Gram-Stained Microscopy Images of Bacteria Cultured on Multiple Media Using Frozen and Fine-Tuned ResNet-50 Transfer Learning: A Comparative Study},
  journal = {Teknika},
  year = {2026},
  volume = {15},
  number = {2},
  pages = {357--369},
  doi = {10.34148/teknika.v15i2.1507}
}
Kostenlos starten →