Artifact-Aware Fungal Detection in Dermatophytosis: A Transformer-Based Approach for KOH Microscopy
Dermatophytosis is commonly assessed using potassium hydroxide (KOH) microscopy, yet accurate recognition of fungal hyphae is hindered by preparation-related artifacts, heterogeneous keratin clearance, and notable inter-observer variability. This study presents a transformer-based object detection framework using the RT-DETR architecture for precise, query-driven localisation of fungal structures in high-resolution KOH images. A dataset of 2540 routinely acquired microscopy images was manually annotated using a multi-class strategy that explicitly distinguishes fungal elements from confounding artifacts, enabling the model to actively suppress false detections arising from visually similar mimics. To assess architectural trade-offs, RT-DETR was benchmarked against two CNN-based detectors (YOLOv11 and Faster R-CNN) under identical training and inference conditions. Five-fold stratified cross-validation was performed, and each fold-level model was evaluated on the same independent held-out test set (n = 254). Across the five evaluations, RT-DETR achieved a mean [email protected] of 89.73%±1.48%, a mean recall of 0.831±0.011, and a mean precision of 0.921±0.014. At the image level, the model achieved a mean sensitivity of 0.989±0.022 on the independent test set, with a mean of 0.2±0.4 missed positive cases across the five evaluations. These results demonstrate the technical feasibility of a transformer-based artificial intelligence (AI) system as a decision-support aid for fungal region detection in KOH microscopy, pending prospective multi-center validation to establish clinical generalisability.
Authors
- Gülsüm Gençoğlan (ORCID: https://orcid.org/0000-0002-0650-0722)
- Ayşe Esra Koku Aksu (ORCID: https://orcid.org/0000-0002-3457-1958)
- Burak Temelkuran (ORCID: https://orcid.org/0000-0003-2390-5091)
- Hüseyin Üvet (ORCID: https://orcid.org/0000-0003-0392-982X)
- Esmahan Caglar
- Rana Gürsoy
- Baris Kizilyaprak
- Abdurrahim Yilmaz (ORCID: https://orcid.org/0000-0002-4922-7391)
Institutions
- Yıldız Technical University (TR)
- Istinye University (TR)
- Acıbadem Kadıköy Hospital (TR)
- Istanbul Eye Hospital (TR)
- Imperial College London (GB)
Publication Details
- Journal
- Bioengineering
- Published
- 2026-05-21
- DOI
- https://doi.org/10.3390/bioengineering13050591
- Primary Topic
- AI in cancer detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00