Artifact-Aware Fungal Detection in Dermatophytosis: A Transformer-Based Approach for KOH Microscopy
Open Access
- 21 May 2026
- journal article
- research article
- Published by MDPI AG in Bioengineering
- Vol. 13 (5) , 591
Abstract
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 AP@0.50 of , a mean recall of , and a mean precision of . At the image level, the model achieved a mean sensitivity of on the independent test set, with a mean of 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.
Keywords
All Related Versions
Funding Information
- President’s PhD Scholarships of Imperial College London
This publication has 37 references indexed in Scilit:
- Diagnosis and management of nail unit squamous cell carcinoma: A clinical review by an expert panelJAAD Reviews, 2024
- Accurate leukocyte detection based on deformable-DETR and multi-level feature fusion for aiding diagnosis of blood diseasesComputers in Biology and Medicine, 2024
- Artificial Intelligence in Dermatology: Challenges and PerspectivesDermatology and Therapy, 2022
- DeepCervix: A deep learning-based framework for the classification of cervical cells using hybrid deep feature fusion techniquesComputers in Biology and Medicine, 2021
- Hover-Net: Simultaneous segmentation and classification of nuclei in multi-tissue histology imagesMedical Image Analysis, 2019
- A review: Deep learning for medical image segmentation using multi-modality fusionArray, 2019
- Deep learning outperformed 136 of 157 dermatologists in a head-to-head dermoscopic melanoma image classification taskEuropean Journal of Cancer, 2019
- Automatic detection of tuberculosis bacilli from microscopic sputum smear images using deep learning methodsBiocybernetics and Biomedical Engineering, 2018
- A survey on deep learning in medical image analysisMedical Image Analysis, 2017
- Dermatologist-level classification of skin cancer with deep neural networksNature, 2017