Abstract
Pneumonia is a dangerous lung disease that has affected millions of people worldwide. Several people have died as a result of incorrect pneumonia diagnosis and treatment. This has necessitated the urgent need for quick detection and classification methods of pneumonia detection for efficient treatment and quick recovery of affected persons. However, the causes of pneumonia are not accurately diagnosed using outmoded methods which use chest X-rays. This paper therefore presents a method for identifying and classifying chest X-ray images of normal and pneumonia-infected persons. The designed deep learning model first preprocesses the X-ray images to extract useful features, then segments them using a threshold segmentation technique, detects normal and pneumonia infected persons from X-ray images using the YOLOv3 detector, and classifies them as normal and with pneumonia using Support vector machine (SVM) and softmax. The suggested model was trained and evaluated using a dataset of chest X-ray images. The results show that the overall accuracy, precision, recall, and F1-score are all 99%. The findings show that deep features produced accurate and consistent characteristics for pneumonia detection. Using the presented approach, radiologists can assess pneumonia patients and deliver a rapid diagnosis.
Similar content being viewed by others
Data availability
The datasets generated during and/or analyzed during the current study are not publicly available but are available from the corresponding author on reasonable request.
Code availability
Not applicable.
References
Rønn C et al (2023) Hospitalization for Chronic Obstructive Pulmonary Disease and Pneumonia: association with the dose of inhaled corticosteroids. A nation-wide cohort study of 52 100 outpatients. Clin Microbiol Infect 29. https://doi.org/10.1016/j.cmi.2022.11.029
Cillóniz C, Torres A, Niederman MS (2021) Management of pneumonia in critically ill patients. BMJ 375:e065871. https://doi.org/10.1136/bmj-2021-065871
Ferreira-Coimbra J, Sarda C, Rello J (2020) Burden of community-acquired pneumonia and unmet clinical needs. Adv Ther 37(4):1302–1318. https://doi.org/10.1007/s12325-020-01248-7
Torres FA, Orio P, Escobar MJ (2021) Selection of stimulus parameters for enhancing slow wave sleep events with a neural-field theory thalamocortical model. PLoS Comput Biol 17(7):1–28. https://doi.org/10.1371/journal.pcbi.1008758
Puttagunta M, Ravi S (2021) Medical image analysis based on deep learning approach. Multimed Tools Appl 80(16):24365–24398. https://doi.org/10.1007/s11042-021-10707-4
Suganyadevi S, Seethalakshmi V, Balasamy K (2022) A review on deep learning in medical image analysis. Int J Multimed Inf Retr 11(1):19–38. https://doi.org/10.1007/s13735-021-00218-1
Yi R, Tang L, Tian Y, Liu J, Wu Z (2021) Identification and classification of Pneumonia Disease using a deep learning-based intelligent computational framework. Neural Comput Appl 7. https://doi.org/10.1007/s00521-021-06102-7
Manickam A, Jiang J, Zhou Y, Sagar A, Soundrapandiyan R, Jackson RD (2021) Automated pneumonia detection on chest X-ray images: A deep learning approach with different optimizers and transfer learning architectures. Measurement 184(November 2020):109953. https://doi.org/10.1016/j.measurement.2021.109953
Chouhan V et al (2020) A novel transfer learning based approach for Pneumonia detection in chest X-ray images. Appl Sci 10(2):559. https://doi.org/10.3390/app10020559
Račić L, Popović T, Čakić S, Šandi S (2021) Šandi S (2021) Pneumonia Detection Using Deep Learning Based on Convolutional Neural Network, 25th Int. Conf Inf Technol IT 2021(February):17–20. https://doi.org/10.1109/IT51528.2021.9390137
Sharma S, Guleria K (2023) A deep learning based model for the detection of Pneumonia from chest X-Ray images using VGG-16 and neural networks. Procedia Comput Sci 218:357–366. https://doi.org/10.1016/j.procs.2023.01.018
Mohammad A, Shoroq A, Ihssan Q (2021) Artificial Intelligence Framework for efficient detection and classification of Pneumonia using chest radiography images. J Med Biol Eng. https://doi.org/10.1007/s40846-021-00631-1
Rahimzadeh M, Attar A (2020) A modified deep convolutional neural network for detecting COVID-19 and pneumonia from chest X-ray images based on the concatenation of Xception and ResNet50V2. Informatics Med Unlocked 19:100360. https://doi.org/10.1016/j.imu.2020.100360
Kermany DS et al (2018) Identifying Medical diagnoses and Treatable Diseases by Image-based deep learning. Cell 172(5):1122–1131. https://doi.org/10.1016/j.cell.2018.02.010
K SH, Madhuri SG, Professor A (2021) Image pre-processing techniques for X-ray medical images: a survey. Int J Creat Res Thoughts 9(1):1–5
Zunair H, Ben Hamza A (2021) Synthesis of COVID-19 chest X-rays using unpaired image-to-image translation. Social Netw Anal Min. https://doi.org/10.1007/s13278-021-00731-5
Tamyalew Y, Salau AO, Ayalew AM (2023) Detection and classification of large bowel obstruction from X-ray images using machine learning algorithms. Int J Imaging Syst Technol 33(1):1–17. https://doi.org/10.1002/ima.22800
Handalage U, Kuganandamurthy L (2021) Real-time object detection using YOLO: a review. ResearchGate. https://doi.org/10.13140/RG.2.2.24367.66723
Zunair H, Hamza AB (2021) Sharp U-Net: depthwise convolutional network for biomedical image segmentation. Comput Biol Med 136:104699. https://doi.org/10.1016/j.compbiomed.2021.104699
Abdulateef S, Salman M (2021) A Comprehensive Review of Image Segmentation techniques. Iraqi J Electr Electron Eng 17(2):166–175. https://doi.org/10.37917/ijeee.17.2.18
Al-malla MA, Jafar A, Ghneim N (2022) Pre-trained CNNs as feature-extraction modules for image Captioning: an experimental study. Comput Vis Cent 21(1):1–16
Lv Q, Zhang S, Wang Y (2022) Deep learning model of image classification using machine learning. Adv Multimed 1–12. https://doi.org/10.1155/2022/3351256
Nwankpa C, Ijomah W, Gachagan A, Marshall S (2018) Activation functions: comparison of trends in practice and research for deep learning, ar**v preprint, 1–20. [Online]. Available: http://arxiv.org/abs/1811.03378
Singh P, Raj P, Namboodiri VP (2020) EDS pooling layer. Image Vis Comput 98:103923. https://doi.org/10.1016/j.imavis.2020.103923
Basha SHS, Dubey SR, Pulabaigari V, Mukherjee S (2020) Impact of fully connected layers on performance of convolutional neural networks for image classification. Neurocomputing 378:112–119. https://doi.org/10.1016/j.neucom.2019.10.008
Wright L, Demeure N (2021) Ranger21: a synergistic deep learning optimizer [Online]. Available: http://arxiv.org/abs/2106.13731
Garbin C, Zhu X, Marques O (2020) Dropout vs. batch normalization: an empirical study of their impact to deep learning. Multimed Tools Appl 79:19–20. https://doi.org/10.1007/s11042-019-08453-9
Hamarashid H, Qader SM, Saeed SA, Hassan BA, Ali NA (2022) Machine learning algorithms evaluation methods by utilizing. UKH J Sci Eng 6(1):1–11. https://doi.org/10.25079/ukhjse.v6n1y2022.pp1-11
Ayalew AM, Salau AO, Abeje BT, Enyew B (2022) Detection and classification of COVID-19 Disease from X-ray images using Convolutional neural networks and histogram of oriented gradients. Biomed Signal Process Control 74:1–11. https://doi.org/10.1016/j.bspc.2022.103530
Salau AO, Markus ED, Assegie TA, Omeje CO, Eneh JN (2023) Influence of Class Imbalance and Resampling on classification accuracy of chronic Kidney Disease detection. Math Model Eng Probl 10(1):48–54. https://doi.org/10.18280/mmep.100106
Ayalew AM, Salau AO, Tamyalew Y, Abeje BT (2023) X-Ray image-based COVID-19 detection using deep learning. Multimed Tools Appl, Vol. 82, pp. 44507–44525. https://doi.org/10.1007/s11042-023-15389-8
Kundu R, Das R, Geem ZW, Han GT, Sarkar R (2021) Pneumonia detection in chest X-ray images using an ensemble of deep learning models. PLoS ONE 16(9):e0256630. https://doi.org/10.1371/journal.pone.0256630
Ibrahim AU, Ozsoz M, Serte S et al (2021) Pneumonia classification using deep learning from chest X-ray images during COVID-19. Cogn Comput. https://doi.org/10.1007/s12559-020-09787-5
Hashmi MF, Katiyar S, Hashmi AW, Keskar AG (2021) Pneumonia detection in chest X-ray images using compound scaled deep learning model. Automatika 62:3–4. https://doi.org/10.1080/00051144.2021.1973297
Hou J, Gao T (2021) Explainable DCNN based chest X-ray image analysis and classification for COVID-19 Pneumonia detection. Sci Rep 11:16071. https://doi.org/10.1038/s41598-021-95680-6
Funding
Authors declare no funding for this research.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Asnake, N.W., Salau, A.O. & Ayalew, A.M. X-ray image-based pneumonia detection and classification using deep learning. Multimed Tools Appl 83, 60789–60807 (2024). https://doi.org/10.1007/s11042-023-17965-4
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-17965-4