cs.CVFeb 22, 2026

Artefact-Aware Fungal Detection in Dermatophytosis: A Real-Time Transformer-Based Approach for KOH Microscopy

Authors: Rana Gursoy, Abdurrahim Yilmaz, Baris Kizilyaprak, Esmahan Caglar, Burak Temelkuran, Huseyin Uvet, Ayse Esra Koku Aksu, Gulsum Gencoglan

Organizations: Department of Mechatronics Engineering, Yildiz Technical University · Division of Systems Medicine, Department of Metabolism, Digestion and Reproduction, Imperial College London · Department of Dermatology and Venereology, Istanbul Research and Training Hospital · Department of Bioengineering, Yildiz Technical University · 

Abstract

Dermatophytosis is commonly assessed using potassium hydroxide (KOH) microscopy, yet accurate recognition of fungal hyphae is hindered by artefacts, heterogeneous keratin clearance, and notable inter-observer variability. This study presents a transformer-based detection framework using the RT-DETR model architecture to achieve precise, query-driven localization of fungal structures in high-resolution KOH images. A dataset of 2,540 routinely acquired microscopy images was manually annotated using a multi-class strategy to explicitly distinguish fungal elements from confounding artefacts. The model was trained with morphology-preserving augmentations to maintain the structural integrity of thin hyphae. Evaluation on an independent test set demonstrated robust object-level performance, with a recall of 0.9737, precision of 0.8043, and an [email protected] of 93.56%. When aggregated for image-level diagnosis, the model achieved 100% sensitivity and 98.8% accuracy, correctly identifying all positive cases without missing a single diagnosis. Qualitative outputs confirmed the robust localization of low-contrast hyphae even in artefact-rich fields. These results highlight that an artificial intelligence (AI) system can serve as a highly reliable, automated screening tool, effectively bridging the gap between image-level analysis and clinical decision-making in dermatomycology.

Figures & tables

Explore similar work

CardsList
  1. Detail in Context: A Dual-Scale Machine Learning Framework for Mycosis Fungoides Detection

    Sep 29, 2026Mohamed Hazem, Tarek Waleed, Omar Khaled +8Computational PathologyMedical Diagnosis

  2. When AI and Experts Agree on Error: Intrinsic Ambiguity in Dermatoscopic Images

    Apr 1, 2026Loris Cino, Pier Luigi Mazzeo, Alessandro Martella +3Medical Image Quality AssessmentSkin Lesion Classification

  3. Multimodal Knowledge Aggregation for Microbial Keratitis: Geographic Confounding and Shortcut Risk in Pooled Multicountry Data

    Jul 4, 2026Yiqing Wang, Maria A. Woodward, Ziyun Yang +11Multimodal ClassificationMultimodal Fusion