Utilization of a Deep Convolutional Neural Network for the Binary Classification of Chest X-Ray Pneumonia
Received: 30 November 2024 | Revised: 25 December 2024 | Accepted: 1 January 2025 | Online: 26 January 2025
Corresponding author: Ibraheem Kasim Ibraheem
Abstract
Pneumonia remains a significant global health concern, necessitating efficient diagnostic tools. This study presents a novel Convolutional Neural Network (CNN) architecture, CuDenseNet, designed for the binary classification of Chest X-Ray (CXR) images as either having pneumonia or normal (healthy). Unlike models that rely on transfer learning from pre-trained architectures, CuDenseNet is trained from scratch and incorporates three parallel DenseNet paths of varying depths, enhancing feature extraction and classification accuracy. The model was evaluated on a combined dataset of 11,708 CXR images, achieving exceptional performance metrics of 99.1% accuracy, 99.7% precision, 99.1% recall, and an AUC of 99.7%. The comparative analysis demonstrates that CuDenseNet outperforms state-of-the-art pre-trained models such as VGG19 and ResNet50 while providing superior adaptability. These results underscore the potential of CuDenseNet as a robust and reliable tool for automated pneumonia diagnosis, with significant implications for clinical applications and future research in medical imaging.
Keywords:
deep learning, convolutional neural networks, chest X-ray images, pneumonia classification, image processing, Computer-Aided Diagnosis (CAD), health informatics, AIDownloads
References
U. Hameed, M. U. Rehman, A. Rehman, R. Damaševičius, A. Sattar, and T. Saba, "A deep learning approach for liver cancer detection in CT scans," Computer Methods in Biomechanics and Biomedical Engineering: Imaging & Visualization, vol. 11, no. 7, Jan. 2024, Art. no. 2280558.
H. Inbarani H., A. T. Azar, and J. G, "Leukemia Image Segmentation Using a Hybrid Histogram-Based Soft Covering Rough K-Means Clustering Algorithm," Electronics, vol. 9, no. 1, Jan. 2020, Art. no. 188.
S. Al-Otaibi, M. Mujahid, A. R. Khan, H. Nobanee, J. Alyami, and T. Saba, "Dual Attention Convolutional AutoEncoder for Diagnosis of Alzheimer’s Disorder in Patients Using Neuroimaging and MRI Features," IEEE Access, vol. 12, pp. 58722–58739, Jan. 2024.
P. K. N. Banu, A. T. Azar, and H. H. Inbarani, "Fuzzy firefly clustering for tumour and cancer analysis," International Journal of Modelling, Identification and Control, vol. 27, no. 2, pp. 92–103, Mar. 2017.
E. Emary, H. M. Zawbaa, A. E. Hassanien, G. Schaefer, and A. T. Azar, "Retinal blood vessel segmentation using bee colony optimisation and pattern search," in International Joint Conference on Neural Networks, Beijing, China, Jul. 2014, pp. 1001–1006.
S. R. Waheed, N. M. Suaib, M. S. M. Rahim, A. R. Khan, S. A. Bahaj, and T. Saba, "Synergistic Integration of Transfer Learning and Deep Learning for Enhanced Object Detection in Digital Images," IEEE Access, vol. 12, pp. 13525–13536, Jan. 2024.
A. Koubaa, A. Ammar, M. Alahdab, A. Kanhouch, and A. T. Azar, "DeepBrain: Experimental Evaluation of Cloud-Based Computation Offloading and Edge Computing in the Internet-of-Drones for Deep Learning Applications," Sensors, vol. 20, no. 18, Jan. 2020, Art. no. 5240.
D. M. Diamond, A. M. Campbell, C. R. Park, J. Halonen, and P. R. Zoladz, "The Temporal Dynamics Model of Emotional Memory Processing: A Synthesis on the Neurobiological Basis of Stress-Induced Amnesia, Flashbulb and Traumatic Memories, and the Yerkes-Dodson Law," Neural Plasticity, vol. 2007, no. 1, Jan. 2007, Art. no. 060803.
J. A. Dunnmon, D. Yi, C. P. Langlotz, C. Re, D. L. Rubin, and M. P. Lungren, "Assessment of convolutional neural networks for automated classification of chest radiographs," Radiology, vol. 290, no. 2, pp. 537–544, Feb. 2019.
S. Varela-Santos and P. Melin, "A new modular neural network approach with fuzzy response integration for lung disease classification based on multiple objective feature optimization in chest X-ray images," Expert Systems with Applications, vol. 168, Apr. 2021, Art. no. 114361.
M. Tamal, M. Alshammari, M. Alabdullah, R. Hourani, H. A. Alola, and T. M. Hegazi, "An integrated framework with machine learning and radiomics for accurate and rapid early diagnosis of COVID-19 from Chest X-ray," Expert Systems with Applications, vol. 180, Oct. 2021, Art. no. 115152.
Z. Huang, Z. Pan, and B. Lei, "Transfer Learning with Deep Convolutional Neural Network for SAR Target Classification with Limited Labeled Data," Remote Sensing, vol. 9, no. 9, Sep. 2017, Art. no. 907.
D. Das, K. C. Santosh, and U. Pal, "Truncated inception net: COVID-19 outbreak screening using chest X-rays," Physical and Engineering Sciences in Medicine, vol. 43, no. 3, pp. 915–925, Sep. 2020.
I. D. Apostolopoulos and T. A. Mpesiana, "Covid-19: automatic detection from X-ray images utilizing transfer learning with convolutional neural networks," Physical and Engineering Sciences in Medicine, vol. 43, no. 2, pp. 635–640, Jun. 2020.
K. Simonyan and A. Zisserman, "Very Deep Convolutional Networks for Large-Scale Image Recognition." arXiv, Apr. 10, 2015.
A. G. Howard et al., "MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications." arXiv, Apr. 17, 2017.
C. Szegedy, S. Ioffe, V. Vanhoucke, and A. A. Alemi, "Inception-v4, inception-ResNet and the impact of residual connections on learning," in Thirty-First AAAI Conference on Artificial Intelligence, San Francisco, CA, USA, Feb. 2017, pp. 4278–4284.
F. Chollet, "Xception: Deep Learning with Depthwise Separable Convolutions," in IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, Jul. 2017, pp. 1800–1807.
N. Kumar, M. Gupta, D. Gupta, and S. Tiwari, "Novel deep transfer learning model for COVID-19 patient detection using X-ray chest images," Journal of Ambient Intelligence and Humanized Computing, vol. 14, no. 1, pp. 469–478, Jan. 2023.
A. Narin, C. Kaya, and Z. Pamuk, "Automatic detection of coronavirus disease (COVID-19) using X-ray images and deep convolutional neural networks," Pattern Analysis and Applications, vol. 24, no. 3, pp. 1207–1220, Aug. 2021.
K. He, X. Zhang, S. Ren, and J. Sun, "Deep Residual Learning for Image Recognition," in IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, Jun. 2016, pp. 770–778.
H. Nasiri and S. A. Alavi, "A Novel Framework Based on Deep Learning and ANOVA Feature Selection Method for Diagnosis of COVID-19 Cases from Chest X-Ray Images," Computational Intelligence and Neuroscience, vol. 2022, no. 1, Jan. 2022, Art. no. 4694567.
X. Wang, Y. Peng, L. Lu, Z. Lu, M. Bagheri, and R. M. Summers, "ChestX-Ray8: Hospital-Scale Chest X-Ray Database and Benchmarks on Weakly-Supervised Classification and Localization of Common Thorax Diseases," in IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, Jul. 2017, pp. 3462–3471.
M. E. H. Chowdhury et al., "Can AI Help in Screening Viral and COVID-19 Pneumonia?," IEEE Access, vol. 8, pp. 132665–132676, 2020.
Y. LeCun, K. Kavukcuoglu, and C. Farabet, "Convolutional networks and applications in vision," in IEEE International Symposium on Circuits and Systems, Paris, France, Jun. 2010, pp. 253–256.
P. Rajpurkar et al., "CheXNet: Radiologist-Level Pneumonia Detection on Chest X-Rays with Deep Learning." arXiv, Dec. 25, 2017.
A. U. Ibrahim, M. Ozsoz, S. Serte, F. Al-Turjman, and P. S. Yakoi, "Pneumonia Classification Using Deep Learning from Chest X-ray Images During COVID-19," Cognitive Computation, vol. 16, no. 4, pp. 1589–1601, Jul. 2024.
S. Hasija, P. Akash, M. Bhargav Hemanth, A. Kumar, and S. Sharma, "A novel approach for detection of COVID-19 and Pneumonia using only binary classification from chest CT-scans," Neuroscience Informatics, vol. 2, no. 4, Dec. 2022, Art. no. 100069.
S. Karakanis and G. Leontidis, "Lightweight deep learning models for detecting COVID-19 from chest X-ray images," Computers in Biology and Medicine, vol. 130, Mar. 2021, Art. no. 104181.
B. Zoph, V. Vasudevan, J. Shlens, and Q. V. Le, "Learning Transferable Architectures for Scalable Image Recognition," in IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, Jun. 2018, pp. 8697–8710.
A. Gupta, Anjum, S. Gupta, and R. Katarya, "InstaCovNet-19: A deep learning classification model for the detection of COVID-19 patients using Chest X-ray," Applied Soft Computing, vol. 99, Feb. 2021, Art. no. 106859.
T. Le Dinh, S.-H. Lee, S.-G. Kwon, and K.-R. Kwon, "COVID-19 Chest X-ray Classification and Severity Assessment Using Convolutional and Transformer Neural Networks," Applied Sciences, vol. 12, no. 10, Jan. 2022, Art. no. 4861.
S. M. Fati, E. M. Senan, and N. ElHakim, "Deep and Hybrid Learning Technique for Early Detection of Tuberculosis Based on X-ray Images Using Feature Fusion," Applied Sciences, vol. 12, no. 14, Jan. 2022, Art. no. 7092.
L. Kong and J. Cheng, "Based on improved deep convolutional neural network model pneumonia image classification," PLOS ONE, vol. 16, no. 11, Oct. 2021, Art. no. e0258804.
A. Bhandary et al., "Deep-learning framework to detect lung abnormality – A study with chest X-Ray and lung CT scan images," Pattern Recognition Letters, vol. 129, pp. 271–278, Jan. 2020.
A. Krizhevsky, I. Sutskever, and G. E. Hinton, "Imagenet classification with deep convolutional neural networks," Communications of the ACM, vol. 60, no.6, pp. 84-90, may 2017.
M. Cicero et al., "Training and Validating a Deep Convolutional Neural Network for Computer-Aided Detection and Classification of Abnormalities on Frontal Chest Radiographs," Investigative Radiology, vol. 52, no. 5, pp. 281–287, Dec. 2017.
F. Hajjej, S. Ayouni, M. Hasan, and T. Abir, "Automatic Detection of Cases of COVID-19 Pneumonia from Chest X-ray Images and Deep Learning Approaches," Computational Intelligence and Neuroscience, vol. 2022, no. 1, Jan. 2022, Art. no. 7451551.
M. B. Darici, Z. Dokur, and T. Olmez, "Pneumonia detection and classification using deep learning on chest x-ray images," International Journal of Intelligent Systems and Applications in Engineering, vol. 8, no. 4, pp. 177–183, 2020.
O. Stephen, M. Sain, U. J. Maduh, and D.-U. Jeong, "An Efficient Deep Learning Approach to Pneumonia Classification in Healthcare," Journal of Healthcare Engineering, vol. 2019, no. 1, Jan. 2019, Art. no. 4180949.
H. Wu, P. Xie, H. Zhang, D. Li, and M. Cheng, "Predict pneumonia with chest X-ray images based on convolutional deep neural learning networks," Journal of Intelligent & Fuzzy Systems, vol. 39, no. 3, pp. 2893–2907, Jan. 2020.
F. Demir, "Deep autoencoder-based automated brain tumor detection from MRI data," in Artificial Intelligence-Based Brain-Computer Interface, V. Bajaj and G. R. Sinha, Eds. Cambridge, MA, USA: Academic Press, 2022, pp. 317–351.
"chest_xray." https://www.kaggle.com/datasets/tanmaythapliyal/chest-xray.
D. S. Kermany et al., "Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep Learning," Cell, vol. 172, no. 5, pp. 1122-1131.e9, Feb. 2018.
H. He and E. A. Garcia, "Learning from Imbalanced Data," IEEE Transactions on Knowledge and Data Engineering, vol. 21, no. 9, pp. 1263–1284, Sep. 2009.
W. R. Abdul-Adheem, I. K. Ibraheem, A. T. Azar, and A. J. Humaidi, "Improved Active Disturbance Rejection-Based Decentralized Control for MIMO Nonlinear Systems: Comparison with The Decoupled Control Scheme," Applied Sciences, vol. 10, no. 7, Jan. 2020, Art. no. 2515.
Z. T. Allawi, I. K. Ibraheem, and A. J. Humaidi, "Fine-Tuning Meta-Heuristic Algorithm for Global Optimization," Processes, vol. 7, no. 10, Oct. 2019, Art. no. 657.
I. K. Ibraheem and F. H. Ajeil, "Path Planning of an autonomous Mobile Robot using Swarm Based Optimization Techniques," Al-Khwarizmi Engineering Journal, vol. 12, no. 4, pp. 12–25, 2016.
L. Wang, Z. Q. Lin, and A. Wong, "COVID-Net: a tailored deep convolutional neural network design for detection of COVID-19 cases from chest X-ray images," Scientific Reports, vol. 10, no. 1, Nov. 2020, Art. no. 19549.
Downloads
How to Cite
License
Copyright (c) 2025 Hyder Nataq Taha Al-Azzawi, Ahmad Ghandour, Haider Ali, Ahmad Taher Azar, Najla Althuniyan, Ibraheem Kasim Ibraheem, Yousif I. Hammadi, Amjad J. Humaidi, Zeeshan Haider, Saim Ahmed

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.