A COVID-19 medical image classification algorithm based on Transformer
- PMID: 37005476
- PMCID: PMC10067012
- DOI: 10.1038/s41598-023-32462-2
A COVID-19 medical image classification algorithm based on Transformer
Abstract
Coronavirus 2019 (COVID-19) is a new acute respiratory disease that has spread rapidly throughout the world. This paper proposes a novel deep learning network based on ResNet-50 merged transformer named RMT-Net. On the backbone of ResNet-50, it uses Transformer to capture long-distance feature information, adopts convolutional neural networks and depth-wise convolution to obtain local features, reduce the computational cost and acceleration the detection process. The RMT-Net includes four stage blocks to realize the feature extraction of different receptive fields. In the first three stages, the global self-attention method is adopted to capture the important feature information and construct the relationship between tokens. In the fourth stage, the residual blocks are used to extract the details of feature. Finally, a global average pooling layer and a fully connected layer perform classification tasks. Training, verification and testing are carried out on self-built datasets. The RMT-Net model is compared with ResNet-50, VGGNet-16, i-CapsNet and MGMADS-3. The experimental results show that the RMT-Net model has a Test_ acc of 97.65% on the X-ray image dataset, 99.12% on the CT image dataset, which both higher than the other four models. The size of RMT-Net model is only 38.5 M, and the detection speed of X-ray image and CT image is 5.46 ms and 4.12 ms per image, respectively. It is proved that the model can detect and classify COVID-19 with higher accuracy and efficiency.
© 2023. The Author(s).
Conflict of interest statement
The authors declare no competing interests.
Figures
Similar articles
-
A systematic review on feature extraction methods and deep learning models for detection of cancerous lung nodules at an early stage -the recent trends and challenges.Biomed Phys Eng Express. 2024 Nov 20;11(1). doi: 10.1088/2057-1976/ad9154. Biomed Phys Eng Express. 2024. PMID: 39530659
-
A medical image classification method based on self-regularized adversarial learning.Med Phys. 2024 Nov;51(11):8232-8246. doi: 10.1002/mp.17320. Epub 2024 Jul 30. Med Phys. 2024. PMID: 39078069
-
Advanced glaucoma disease segmentation and classification with grey wolf optimized U -Net++ and capsule networks.Int Ophthalmol. 2025 Jun 27;45(1):266. doi: 10.1007/s10792-025-03602-6. Int Ophthalmol. 2025. PMID: 40576831
-
FDB-Net: Fusion double branch network combining CNN and transformer for medical image segmentation.J Xray Sci Technol. 2024;32(4):931-951. doi: 10.3233/XST-230413. J Xray Sci Technol. 2024. PMID: 38848160
-
The effect of sample site and collection procedure on identification of SARS-CoV-2 infection.Cochrane Database Syst Rev. 2024 Dec 16;12(12):CD014780. doi: 10.1002/14651858.CD014780. Cochrane Database Syst Rev. 2024. PMID: 39679851 Free PMC article.
Cited by
-
Prediction of Malignancy and Pathological Types of Solid Lung Nodules on CT Scans Using a Volumetric SWIN Transformer.J Imaging Inform Med. 2025 Jun;38(3):1509-1517. doi: 10.1007/s10278-024-01090-1. Epub 2024 Oct 14. J Imaging Inform Med. 2025. PMID: 39402355 Free PMC article.
-
Multi-branch CNN and grouping cascade attention for medical image classification.Sci Rep. 2024 Jul 1;14(1):15013. doi: 10.1038/s41598-024-64982-w. Sci Rep. 2024. PMID: 38951526 Free PMC article.
-
Vision transformer and deep learning based weighted ensemble model for automated spine fracture type identification with GAN generated CT images.Sci Rep. 2025 Apr 25;15(1):14408. doi: 10.1038/s41598-025-98518-7. Sci Rep. 2025. PMID: 40274849 Free PMC article.
-
Convolutional Neural Network-Vision Transformer Architecture with Gated Control Mechanism and Multi-Scale Fusion for Enhanced Pulmonary Disease Classification.Diagnostics (Basel). 2024 Dec 12;14(24):2790. doi: 10.3390/diagnostics14242790. Diagnostics (Basel). 2024. PMID: 39767151 Free PMC article.
-
Detection of Severe Lung Infection on Chest Radiographs of COVID-19 Patients: Robustness of AI Models across Multi-Institutional Data.Diagnostics (Basel). 2024 Feb 5;14(3):341. doi: 10.3390/diagnostics14030341. Diagnostics (Basel). 2024. PMID: 38337857 Free PMC article.
References
-
- Gayathri J, Abraham B, Sujarani M, Nair MS. A computer-aided diagnosis system for the classification of covid-19 and non-covid-19 pneumonia on chest x-ray images by integrating cnn with sparse autoencoder and feed forward neural network. Comput. Biol. Med. 2022;141:105134. doi: 10.1016/j.compbiomed.2021.105134. - DOI - PMC - PubMed
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
Medical