DEEP LEARNING APPROACHES FOR MEDICAL IMAGING ANALYSIS: TRANSFORMING DISEASE DETECTION AND MONITORING
Main Article Content
Keywords
Deep learning, Pneumonia detection, Chest X-ray, Medical imaging, Vision Transformer
Abstract
Background: Deep learning has been a revolution in the medical imaging sector, as it has offered improved accuracy and reproducibility of identifying diseases and their follow-ups. Pneumonia is one of the most widespread morbid and mortal diseases in the world that has radiographic similarities between bacterial and viral etiologies, making it difficult to diagnose.
Objective: This study aimed to compare the two deep learning models, ResNet-50, which is a convolutional neural network, and ViT-B/16, which is a transformer-based model in classifying images of chest X-rays based on bacterial pneumonia, viral pneumonia, and normal ones and also establishing the interpretability of their predictions.
Methods: A sdataset of X-rays of the chest containing bacterial, viral and normal X-rays was used. During preprocessing, normalization and augmentation was performed. ResNet-50 and ViT-B/16 models were trained, optimized and validated with stratified folds. Evaluation metrics included accuracy, F1-score, sensitivity, specificity, and AUC. Explainability was assessed using Grad-CAM to visualize clinically relevant regions.
Results: ResNet-50 achieved an accuracy of 87.2% with a macro F1-score of 0.86, while ViT-B/16 outperformed with an accuracy of 90.1% and a macro F1-score of 0.88. Bacterial pneumonia and normal classes were reliably detected, whereas viral pneumonia remained the most challenging category. Grad-CAM confirmed that both models focused on lung regions corresponding to pathological abnormalities, with ViT-B/16 demonstrating broader contextual attention.
Conclusion: Transformer-based deep learning architectures provide superior performance and interpretability compared to traditional CNNs, underscoring their potential to enhance disease detection and monitoring in medical imaging.
References
2. Pandya MD, Shah PD, Jardosh S. Medical image diagnosis for disease detection: A deep learning approach. InU-Healthcare Monitoring Systems 2019 Jan 1 (pp. 37-60). Academic Press.
3. Rana M, Bhushan M. Machine learning and deep learning approach for medical image analysis: diagnosis to detection. Multimedia Tools and Applications. 2023 Jul;82(17):26731-69.
4. Puttagunta M, Ravi S. Medical image analysis based on deep learning approach. Multimedia tools and applications. 2021 Jul;80(16):24365-98.
5. Thakur GK, Thakur A, Kulkarni S, Khan N, Khan S. Deep learning approaches for medical image analysis and diagnosis. Cureus. 2024 May 2;16(5).
6. Razzak MI, Naz S, Zaib A. Deep learning for medical image processing: Overview, challenges and the future. Classification in BioApps: Automation of decision making. 2017 Nov 14:323-50.
7. Wang Y, Nazir S, Shafiq M. An overview on analyzing deep learning and transfer learning approaches for health monitoring. Computational and Mathematical Methods in Medicine. 2021;2021(1):5552743.
8. Kothinti RR. Deep learning in healthcare: Transforming disease diagnosis, personalized treatment, and clinical decision-making through AI-driven innovations. World Journal of Advanced Research and Reviews. 2024 Nov;24(2):2841-56.
9. Li M, Jiang Y, Zhang Y, Zhu H. Medical image analysis using deep learning algorithms. Frontiers in public health. 2023 Nov 7;11:1273253.
10. Kumar RR, Priyadarshi R. Denoising and segmentation in medical image analysis: A comprehensive review on machine learning and deep learning approaches. Multimedia Tools and Applications. 2025 Apr;84(12):10817-75.
11. Chan HP, Samala RK, Hadjiiski LM, Zhou C. Deep learning in medical image analysis. Deep learning in medical image analysis: challenges and applications. 2020 Feb 7:3-21.
12. Shakor MY, Khaleel MI. Recent advances in big medical image data analysis through deep learning and cloud computing. Electronics. 2024 Dec 10;13(24):4860.
13. Wang J, Zhu H, Wang SH, Zhang YD. A review of deep learning on medical image analysis. Mobile Networks and Applications. 2021 Feb;26(1):351-80.
14. Divyam6969. Chest X-Ray Pneumonia Dataset [Internet]. Kaggle; 2021 [cited 2025 Sep 13]. Available from: https://www.kaggle.com/datasets/divyam6969/chest-xray-pneumonia-dataset
15. Shen D, Wu G, Suk HI. Deep learning in medical image analysis. Annual review of biomedical engineering. 2017 Jun 21;19(1):221-48.
16. Zhou SK, Greenspan H, Shen D, editors. Deep learning for medical image analysis. Academic Press; 2023 Nov 23.
17. Suganyadevi S, Seethalakshmi V, Balasamy K. A review on deep learning in medical image analysis. International Journal of Multimedia Information Retrieval. 2022 Mar;11(1):19-38.
18. Jiang J, Trundle P, Ren J. Medical image analysis with artificial neural networks. Computerized Medical Imaging and Graphics. 2010 Dec 1;34(8):617-31.
19. Kim M, Yun J, Cho Y, Shin K, Jang R, Bae HJ, Kim N. Deep learning in medical imaging. Neurospine. 2019 Dec 31;16(4):657.
20. Fakhouri HN, Alawadi S, Awaysheh FM, Alkhabbas F, Zraqou J. A cognitive deep learning approach for medical image processing. Scientific Reports. 2024 Feb 24;14(1):4539.
