A calibrated multi-scale transformer-based dual deep convolutional neural network framework for robust parasitic egg recognition across diverse microscopy conditions

The accurate identification of parasitic eggs in microscopic images remains a persistent challenge in both clinical and veterinary diagnostics. Existing manual examination techniques, while effective, are time-consuming, error prone, and difficult to standardize across diverse laboratory settings. Existing automated approaches often struggle to generalize across diverse microscopy conditions and frequently produce poorly calibrated confidence estimates, limiting their practical reliability. To address these limitations, we present calibrated Multi-Scale Transformer Based Dual-Deep Convolutional Neural Network, referred to as MST-Dual-DCNN, for robust parasitic egg recognition across varying microscopy conditions and datasets. The proposed framework combines multi-scale convolutional feature extraction, transformer-based contextual fusion, and dual convolutional neural network backbones (VGG16 and ResNet50) to obtain fine-grained texture and global morphological features. Besides classification, the framework also includes confidence calibration using temperature scaling and produces compact embedding representations to support auxiliary similarity-aware interpretation during inference. A sheep parasite egg dataset was locally developed and contained microscopy samples from three parasite species grouped into two morphologically distinct classification categories, for experiments, along with an independent human hookworm parasite egg dataset for cross-dataset evaluation. The proposed MST-Dual-DCNN framework obtained the best classification accuracy of 98.33%, and an Expected Calibration Error (ECE) of 0.60% post temperature scaling. Extended ablation analysis further showed that multi-scale extraction, transformer fusion and dual-backbone learning improve predictive performance and calibration reliability. The experimental results show that the proposed framework provides accurate and reliable and computationally efficient performance in different microscopy scenarios and also provides improved confidence calibration and classification accuracy compared with the reproduced baseline models. These findings highlight the potential of calibrated hybrid deep learning architectures to assist automated parasitic egg analysis in microscopy-based diagnostic environments.

Authors

Institutions

Publication Details

Journal
Computers & Electrical Engineering
Published
2026-09-18
DOI
https://doi.org/10.1016/j.compeleceng.2026.111492
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
article

A calibrated multi-scale transformer-based dual deep convolutional neural network framework for robust parasitic egg recognition across diverse microscopy conditions

Muhammad Bilal Zia, Xujuan Zhou, Ka Ching Chan, Raj Gururajan
Computers & Electrical Engineering
Digital Imaging for Blood Diseases
article

A calibrated multi-scale transformer-based dual deep convolutional neural network framework for robust parasitic egg recognition across diverse microscopy conditions

Muhammad Bilal Zia, Xujuan Zhou, Ka Ching Chan, Raj Gururajan
article en

Abstract

The accurate identification of parasitic eggs in microscopic images remains a persistent challenge in both clinical and veterinary diagnostics. Existing manual examination techniques, while effective, are time-consuming, error prone, and difficult to standardize across diverse laboratory settings. Existing automated approaches often struggle to generalize across diverse microscopy conditions and frequently produce poorly calibrated confidence estimates, limiting their practical reliability. To address these limitations, we present calibrated Multi-Scale Transformer Based Dual-Deep Convolutional Neural Network, referred to as MST-Dual-DCNN, for robust parasitic egg recognition across varying microscopy conditions and datasets. The proposed framework combines multi-scale convolutional feature extraction, transformer-based contextual fusion, and dual convolutional neural network backbones (VGG16 and ResNet50) to obtain fine-grained texture and global morphological features. Besides classification, the framework also includes confidence calibration using temperature scaling and produces compact embedding representations to support auxiliary similarity-aware interpretation during inference. A sheep parasite egg dataset was locally developed and contained microscopy samples from three parasite species grouped into two morphologically distinct classification categories, for experiments, along with an independent human hookworm parasite egg dataset for cross-dataset evaluation. The proposed MST-Dual-DCNN framework obtained the best classification accuracy of 98.33%, and an Expected Calibration Error (ECE) of 0.60% post temperature scaling. Extended ablation analysis further showed that multi-scale extraction, transformer fusion and dual-backbone learning improve predictive performance and calibration reliability. The experimental results show that the proposed framework provides accurate and reliable and computationally efficient performance in different microscopy scenarios and also provides improved confidence calibration and classification accuracy compared with the reproduced baseline models. These findings highlight the potential of calibrated hybrid deep learning architectures to assist automated parasitic egg analysis in microscopy-based diagnostic environments.

Computers & Electrical EngineeringVol. 140
University of Southern Queensland (AU)
Openalex Percentile: Top 13%
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.