Vision transformer based bacteria classification model for Gram-stained direct smear images

Abstract Quick detection of bacteria is essential to control the infection growth to avoid the severity of infectious diseases. Automation in the microscopic analysis of direct smear of clinical samples would help to detect the bacteria quickly. Deep learning-based classification models have gained popularity for Computer Aided Diagnostic systems. However, the limited availability of the bacteria image dataset can be considered an important bottleneck for the development of deep learning model for bacteria detection. Pre-trained self-attention based vision transformers have gained popularity in image classification problems because of their strong transfer learning capabilities. They are reported to be performing equally well with the limited number of images for training. We propose a vision transformer-based classifier for classifying the bacteria and neutrophils from Gram-stained direct smear images. The proposed classification model is evaluated on both private and public datasets. Transfer learning from a pre-trained transformer shows improvement in the performance metrics compared to pre-trained CNNs, namely VGG16, EfficientNetB0 and benchmark software Microsoft Lobe. In addition, the different variants of the transformer are compared. The proposed classification model using ViT-B_16 achieved the highest accuracy of 96%.

Authors

Institutions

Publication Details

Journal
Multimedia Tools and Applications
Published
2025-03-28
DOI
https://doi.org/10.1007/s11042-025-20742-0
Citations
2
Primary Topic
Cell Image Analysis Techniques
Type
article
Field-Weighted Citation Impact
3.27
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Vision transformer based bacteria classification model for Gram-stained direct smear images

Keerthana Prasad, Chiranjay Mukhopadhyay, Barnini Banerjee, V. Shwetha
2 citations
Multimedia Tools and Applications
Cell Image Analysis Techniques
3.27
article

Vision transformer based bacteria classification model for Gram-stained direct smear images

Keerthana Prasad, Chiranjay Mukhopadhyay, Barnini Banerjee, V. Shwetha
article en
2 citations

Abstract

Abstract Quick detection of bacteria is essential to control the infection growth to avoid the severity of infectious diseases. Automation in the microscopic analysis of direct smear of clinical samples would help to detect the bacteria quickly. Deep learning-based classification models have gained popularity for Computer Aided Diagnostic systems. However, the limited availability of the bacteria image dataset can be considered an important bottleneck for the development of deep learning model for bacteria detection. Pre-trained self-attention based vision transformers have gained popularity in image classification problems because of their strong transfer learning capabilities. They are reported to be performing equally well with the limited number of images for training. We propose a vision transformer-based classifier for classifying the bacteria and neutrophils from Gram-stained direct smear images. The proposed classification model is evaluated on both private and public datasets. Transfer learning from a pre-trained transformer shows improvement in the performance metrics compared to pre-trained CNNs, namely VGG16, EfficientNetB0 and benchmark software Microsoft Lobe. In addition, the different variants of the transformer are compared. The proposed classification model using ViT-B_16 achieved the highest accuracy of 96%.

Multimedia Tools and ApplicationsVol. 84(19)
Manipal Academy of Higher Education (IN), Kasturba Medical College, Manipal (IN)
Openalex Percentile: Top 9%
Cell Image Analysis Techniques
3.27
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.

Vision transformer based bacteria classification model for Gram-stained direct smear images — Keerthana Prasad, Chiranjay Mukhopadhyay, et al. · Multimedia Tools and Applications (2025) | TGRS Research Map | TGRS