A lightweight deep learning framework for reliable microscopy-based diagnosis of cutaneous leishmaniasis

Cutaneous leishmaniasis (CL) is a neglected tropical and zoonotic disease affecting both human and animal health, for which microscopic examination of Giemsa-stained slides remains the diagnostic reference standard despite being time-consuming and operator-dependent. In this study, we developed a lightweight, calibration-aware deep learning framework for automated amastigote detection and slide-level diagnostic probability estimation from microscopy images. A U-Net architecture with a MobileNetV2 encoder was employed for pixel-level parasite segmentation using a weakly supervised pseudo-labeling strategy on a single-center dataset comprising 292 field-of-view images. Slide-level diagnostic probabilities were derived via probability pooling and subsequently refined using post-hoc calibration techniques, including isotonic regression, Platt scaling, and temperature scaling. Model performance was evaluated on an independent test set using segmentation metrics (Dice coefficient and Intersection-over-Union) and diagnostic reliability metrics (AUROC, Brier score, and Expected Calibration Error). The proposed framework achieved a Dice coefficient of 0.901 and an IoU of 0.820 for segmentation against pseudo-label references, with strong discriminative performance at the slide level (AUROC = 0.978). Isotonic regression markedly improved probability reliability, reducing the Brier score from 0.089 to 0.030 and the Expected Calibration Error from 0.120 to 0.023 without significantly affecting discrimination. Statistical analyses confirmed the robustness of the calibration improvements. Overall, the results demonstrate that isotonic calibration enhances the interpretability and reliability of deep-learning-based CL diagnostics. The proposed lightweight framework provides a robust foundation for microscopy-based screening and supports future validation across broader datasets and One Health-oriented diagnostic applications.

Authors

Institutions

Publication Details

Journal
PLoS ONE
Published
2026-03-17
DOI
https://doi.org/10.1371/journal.pone.0344561
Primary Topic
Digital Imaging for Blood Diseases
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A lightweight deep learning framework for reliable microscopy-based diagnosis of cutaneous leishmaniasis

Samuel Mwalili, Murtada K. Elbashir, Nisreen Osman E. Ahmed
PLoS ONE
Digital Imaging for Blood Diseases
article

A lightweight deep learning framework for reliable microscopy-based diagnosis of cutaneous leishmaniasis

Samuel Mwalili, Murtada K. Elbashir, Nisreen Osman E. Ahmed
article en

Abstract

Cutaneous leishmaniasis (CL) is a neglected tropical and zoonotic disease affecting both human and animal health, for which microscopic examination of Giemsa-stained slides remains the diagnostic reference standard despite being time-consuming and operator-dependent. In this study, we developed a lightweight, calibration-aware deep learning framework for automated amastigote detection and slide-level diagnostic probability estimation from microscopy images. A U-Net architecture with a MobileNetV2 encoder was employed for pixel-level parasite segmentation using a weakly supervised pseudo-labeling strategy on a single-center dataset comprising 292 field-of-view images. Slide-level diagnostic probabilities were derived via probability pooling and subsequently refined using post-hoc calibration techniques, including isotonic regression, Platt scaling, and temperature scaling. Model performance was evaluated on an independent test set using segmentation metrics (Dice coefficient and Intersection-over-Union) and diagnostic reliability metrics (AUROC, Brier score, and Expected Calibration Error). The proposed framework achieved a Dice coefficient of 0.901 and an IoU of 0.820 for segmentation against pseudo-label references, with strong discriminative performance at the slide level (AUROC = 0.978). Isotonic regression markedly improved probability reliability, reducing the Brier score from 0.089 to 0.030 and the Expected Calibration Error from 0.120 to 0.023 without significantly affecting discrimination. Statistical analyses confirmed the robustness of the calibration improvements. Overall, the results demonstrate that isotonic calibration enhances the interpretability and reliability of deep-learning-based CL diagnostics. The proposed lightweight framework provides a robust foundation for microscopy-based screening and supports future validation across broader datasets and One Health-oriented diagnostic applications.

PLoS ONEVol. 21(3)
Jouf University (SA), Jomo Kenyatta University of Agriculture and Technology (KE), African Institute for Development Policy (KE), African Centre for Technology Studies (KE), University of Gezira (SD)
Reduced inequalities
Openalex Percentile: Top 20%
Digital Imaging for Blood Diseases
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.