Enhanced Multi-Class Pulmonary Disorder Detection Using Hard Voting Ensemble of CNN Models on X-Ray Images

DOI: https://doi.org/10.52549/ijeei.v13i3.6606
Published: 14-09-2025 • Issue: Vol. 13 No. 3: September 2025 • Section: Regular paper

Abstract

Lung diseases represent a major public health concern, requiring timely and accurate diagnosis. Chest X-rays are widely used for initial screening, but manual interpretation is time-consuming and subject to variability among radiologists. To address these challenges, this study presents an automated deep learning-based framework for multi-class lung disease detection. The proposed approach integrates five convolutional neural network (CNN) architectures—EfficientNetB0, DenseNet201, ResNet50, MobileNetV2, and InceptionV3—within a hard-voting ensemble classifier to improve diagnostic performance. Transfer learning is applied to extract deep features from chest X-ray (CXR) images, and the ensemble strategy enhances overall accuracy compared to individual models. The system was evaluated into six categories, including normal, COVID-19, tuberculosis, opacity, bacterial pneumonia, and viral pneumonia. Results demonstrate that the ensemble achieves approximately 97% accuracy, outperforming current state-of-the-art methods. Furthermore, the model shows strong capability in differentiating bacteria from viral pneumonia, underscoring its potential as a reliable tool for automated lung disease diagnosis in clinical practice.

References

American Lung Association, “What Is Pneumonia & Who Is at Risk? | American Lung Association.†2025. [Online]. Available: https://www.lung.org/lung-health-diseases/lung-disease-lookup/pneumonia/learn-aboutpneumonia

A. Brihn et al., “Diagnostic Performance of an Antigen Test with RT-PCR for the Detection of SARS-CoV-2 in a Hospital Setting — Los Angeles County, California, June–August 2020,†MMWR. Morbidity and Mortality Weekly Report, vol. 70, no. 19, pp. 702–706, 2021, doi: 10.15585/mmwr.mm7019a3.

R. Zhang et al., “CT features of SARS-CoV-2 pneumonia according to clinical presentation: a retrospective analysis of 120 consecutive patients from Wuhan city,†European Radiology, vol. 30, no. 8, pp. 4417–4426, 2020, doi: 10.1007/s00330-020-06854-1.

H. X. Bai et al., “Performance of Radiologists in Differentiating COVID-19 from Non-COVID-19 Viral Pneumonia at Chest CT,†Radiology, vol. 296, no. 2, pp. E46–E54, 2020, doi: 10.1148/radiol.2020200823.

“A survey on deep learning in medical image analysis - ScienceDirect.†[Online]. Available: https://www.sciencedirect.com/science/article/abs/pii/S1361841517301135

S. Deepak and P. M. Ameer, “Brain tumor classification using deep CNN features via transfer learning,†Computers in Biology and Medicine, vol. 111. 2019. doi: 10.1016/j.compbiomed.2019.103345.

M. M. Jadoon, Q. Zhang, I. U. Haq, S. Butt, and A. Jadoon, “Three-Class Mammogram Classification Based on Descriptive CNN Features,†BioMed Research International, vol. 2017, 2017, doi: 10.1155/2017/3640901.

T. Rahman, M. E. H. Chowdhury, and A. Khandakar, “Transfer Learning with Deep Convolutional Neural Network ( CNN ) for Pneumonia Detection Using,†MDPI, J. app Sci., vol. 3233, pp. 1–17, 2020.

W. Alakwaa, M. Nassef, and A. Badr, “Lung cancer detection and classification with 3D convolutional neural network (3D-CNN),†International Journal of Biology and Biomedical Engineering, vol. 11, no. 8, pp. 66–73, 2017, doi: 10.14569/ijacsa.2017.080853.

X. W. Gao, R. Hui, and Z. Tian, “Classification of CT brain images based on deep learning networks,†Computer Methods and Programs in Biomedicine, vol. 138. pp. 49–56, 2017. doi: 10.1016/j.cmpb.2016.10.007.

P. Silva et al., “COVID-19 detection in CT images with deep learning: A voting-based scheme and crossdatasets analysis,†Informatics in Medicine Unlocked, vol. 20. 2020. doi: 10.1016/j.imu.2020.100427.

M. Tan and Q. V. Le, “EfficientNet: Rethinking model scaling for convolutional neural networks,†36th International Conference on Machine Learning, ICML 2019, vol. 2019-June, pp. 10691–10700, 2019.

and M. E. K. E. E. Hemdan , M. A. Shouman, “COVIDX-Net: A Framework of Deep Learning Classifiers to Diagnose COVID-19 in X-Ray Images,†arXiv preprint arXiv:2003.11055, 2020, doi: 10.48550/arXiv.2003.11055.

N. K. Chowdhury, M. A. Kabir, M. M. Rahman, and N. Rezoana, “ECOVNet: An Ensemble of Deep Convolutional Neural Networks Based on EfficientNet to Detect COVID-19 From Chest X-rays,†2020, doi: 10.7717/peerj-cs.551.

M. E. H. Chowdhury et al., “Can AI Help in Screening Viral and COVID-19 Pneumonia?,†IEEE Access, vol. 8, pp. 132665–132676, 2020, doi: 10.1109/ACCESS.2020.3010287.

B. Nigam, A. Nigam, R. Jain, S. Dodia, N. Arora, and B. Annappa, “COVID-19: Automatic detection from Xray images by utilizing deep learning methods,†Expert Systems with Applications, vol. 176, no. July 2020, p. 114883, 2021, doi: 10.1016/j.eswa.2021.114883.

A. Manconi, G. Armano, M. Gnocchi, and L. Milanesi, “A Soft-Voting Ensemble Classifier for Detecting Patients Affected by COVID-19,†Applied Sciences (Switzerland), vol. 12, no. 15, 2022, doi: 10.3390/app12157554.

L. Menshawy, A. H. Eid, and R. F. Abdel-Kader, “Ensemble deep models for covid-19 pandemic classification using chest x-ray images via different fusion techniques,†International Journal of Advances in Intelligent Informatics, vol. 9, no. 1, pp. 51–65, 2023, doi: 10.26555/ijain.v9i1.922.

S. Sharma and K. Guleria, “Multiclass lung disease classification with ensembled CNN and LSTM modeling,†AIP Conference Proceedings, vol. 3209, no. 1. 2024. doi: 10.1063/5.0229036.

M. H. Al-Sheikh, O. Al Dandan, A. S. Al-Shamayleh, H. A. Jalab, and R. W. Ibrahim, “Multi-class deep learning architecture for classifying lung diseases from chest X-Ray and CT images,†Scientific Reports, vol. 13, no. 1, pp. 1–14, 2023, doi: 10.1038/s41598-023-46147-3.

J. Devasia, H. Goswami, S. Lakshminarayanan, M. Rajaram, and S. Adithan, “Deep learning classification of active tuberculosis lung zones wise manifestations using chest X-rays: a multi label approach,†Scientific Reports, vol. 13, no. 1, pp. 1–15, 2023, doi: 10.1038/s41598-023-28079-0.

A. R. T. Abdulahi, R. O. Ogundokun, A. R. Adenike, M. A. Shah, and Y. K. Ahmed, “PulmoNet: a novel deep learning based pulmonary diseases detection model,†BMC Medical Imaging, vol. 24, no. 1, pp. 1–19, 2024, doi: 10.1186/s12880-024-01227-2.

S. Bharati, P. Podder, and M. R. H. Mondal, “Hybrid deep learning for detecting lung diseases from X-ray images,†Informatics in Medicine Unlocked, vol. 20, p. 100391, 2020, doi: 10.1016/j.imu.2020.100391.

Abdelwhab Ouahab, “Multimodal Convolutional Neural Networks for Detection of Covid-19 Using Chest XRay and CT Images,†Optical Memory and Neural Networks (Information Optics), vol. 30, no. 4, pp. 276–283, 2021, doi: 10.3103/S1060992X21040044.

M. Elpeltagy and H. Sallam, “Automatic prediction of COVID− 19 from chest images using modified ResNet50,†Multimedia Tools and Applications, vol. 80, no. 17, pp. 26451–26463, 2021, doi: 10.1007/s11042-021-10783-6.

L. T. Duong, P. T. Nguyen, L. Iovino, and M. Flammini, “Automatic detection of Covid-19 from chest X-ray and lung computed tomography images using deep neural networks and transfer learning,†Applied Soft Computing, vol. 132, p. 109851, 2023, doi: 10.1016/j.asoc.2022.109851.

A. Shoeibi et al., “Automated detection and forecasting of COVID-19 using deep learning techniques: A review,†Neurocomputing, vol. 577. 2024. doi: 10.1016/j.neucom.2024.127317.

A. Koul, R. K. Bawa, and Y. Kumar, “An Analysis of Deep Transfer Learning-Based Approaches for Prediction and Prognosis of Multiple Respiratory Diseases Using Pulmonary Images,†Archives of Computational Methods in Engineering, vol. 31, no. 2. pp. 1023–1049, 2024. doi: 10.1007/s11831-023-10006-1.

M. A. Talukder, M. A. Layek, M. Kazi, M. A. Uddin, and S. Aryal, “Empowering COVID-19 detection: Optimizing performance through fine-tuned EfficientNet deep learning architecture,†Computers in Biology and Medicine, vol. 168, no. August 2023, p. 107789, 2024, doi: 10.1016/j.compbiomed.2023.107789.

S. Singh, M. Kumar, A. Kumar, B. K. Verma, K. Abhishek, and S. Selvarajan, “Efficient pneumonia detection using Vision Transformers on chest X-rays,†Scientific Reports, vol. 14, no. 1, pp. 1–17, 2024, doi: 10.1038/s41598-024-52703-2.

H. Malik and T. Anees, Multi-modal deep learning methods for classification of chest diseases using different medical imaging and cough sounds, vol. 19, no. 3 March. 2024. doi: 10.1371/journal.pone.0296352.

K. Morani, E. K. Ayana, and D. Unay, “Covid-19 detection using modified xception transfer learning approach from computed tomography images,†International Journal of Advances in Intelligent Informatics, vol. 9, no. 3, pp. 524–536, 2023, doi: 10.26555/ijain.v9i3.1432.

M. A. Talib, Y. Afadar, Q. Nasir, A. B. Nassif, H. Hijazi, and A. Hasasneh, “A tree-based explainable AI model for early detection of Covid-19 using physiological data,†BMC Medical Informatics and Decision Making, vol. 24, no. 1, pp. 1–19, 2024, doi: 10.1186/s12911-024-02576-2.

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, 2023, doi: 10.1007/s12652-021-03306-6.

A. Mabrouk, R. P. D. Redondo, A. Dahou, M. A. Elaziz, and M. Kayed, “Pneumonia Detection on Chest X-ray Images Using Ensemble of Deep Convolutional Neural Networks,†Applied Sciences (Switzerland), vol. 12, no. 13, pp. 1–10, 2022, doi: 10.3390/app12136448.

R. R. Nair and T. Singh, “Exploring Ensemble Architectures for Lung X-Ray Multi-Class Image Classification using CNN-LSTM,†Procedia Computer Science, vol. 258, pp. 852–861, 2025, doi: 10.1016/j.procs.2025.04.317.

M. Patel, M. Shah, and P. & Shah, “Deep Ensemble Learning Model for Diagnosis of Lung Diseases from Chest X-Ray Images,†Indian Journal of Science and Technology, vol. 17, no. 8, pp. 702–712, 2024, [Online]. Available: https://www.indjst.org/

M. Pal, S. Parija, and G. Panda, “An effective ensemble approach for classification of chest X-ray images having symptoms of COVID: A precautionary measure for the COVID-19 subvariants,†e-Prime - Advances in Electrical Engineering, Electronics and Energy, vol. 8, no. March, p. 100547, 2024, doi: 10.1016/j.prime.2024.100547.

H. Nakrani, E. Q. Shahra, S. Basurra, R. Mohammad, E. Vakaj, and W. A. Jabbar, “Advanced Diagnosis of Cardiac and Respiratory Diseases from Chest X-Ray Imagery Using Deep Learning Ensembles,†Journal of Sensor and Actuator Networks, vol. 14, no. 2, pp. 1–17, 2025, doi: 10.3390/jsan14020044.

G. Huang, Z. Liu, and L. van der Maaten, “Densely Connected Convolutional Networks,†Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, vol. 39, no. 9, pp. 1442– 1446, 1978.

J. Deng, W. Dong, R. Socher, L. J. Li, K. Li, and L. Fei-Fei, “ImageNet: A Large-Scale Hierarchical Image Database,†2009 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2009, pp. 248–255, 2009, doi: 10.1109/CVPR.2009.5206848.

D. A. C.Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, “Going deeper with convolutions | IEEE Conference Publication | IEEE Xplore.†doi: 10.1109/CVPR.2015.7298594.

C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna, “Rethinking the Inception Architecture for Computer Vision,†Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, vol. 2016-Decem, pp. 2818–2826, 2016, doi: 10.1109/CVPR.2016.308.

A. Sai Bharadwaj Reddy and D. Sujitha Juliet, “Transfer learning with RESNET-50 for malaria cell-image classification,†Proceedings of the 2019 IEEE International Conference on Communication and Signal Processing, ICCSP 2019, pp. 945–949, 2019, doi: 10.1109/ICCSP.2019.8697909.

M. Tan et al., “Mnasnet: Platform-aware neural architecture search for mobile,†Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, vol. 2019-June, pp. 2815–2823, 2019, doi: 10.1109/CVPR.2019.00293.

H. Huo, Y. L. Yu, and Z. H. Liu, “Facial expression recognition based on improved depthwise separable convolutional network,†Multimedia Tools and Applications, vol. 82, no. 12, pp. 18635–18652, 2023, doi: 10.1007/s11042-022-14066-6.

S. Kiran and D. I. Jabeen, “Dataset of Tuberculosis Chest X-rays Images,†Mendeley Data, vol. V2. 2024. doi: 10.17632/8j2g3csprk.2.

L. K. P. S. B. R. K. T. S. S. B. K. Sait U, “Curated dataset for COVID-19 posterior-anterior chest radiographyimages (X-Rays),†Mendeley Data., no. September, pp. 9–10, 2020, doi: 10.17632/9xkhgts2s6.3.

M. A. Talukder, “Chest X-Ray Image - Mendeley Data,†V1. 2023. doi: 10.17632/m4s2jn3csb.1.

R. Raza et al., “Lung-EffNet: Lung cancer classification using EfficientNet from CT-scan images,†Engineering Applications of Artificial Intelligence, vol. 126. 2023. doi: 10.1016/j.engappai.2023.106902.

M. Bundea and G. M. Danciu, “Pneumonia Image Classification Using DenseNet Architecture,†Information (Switzerland), vol. 15, no. 10, 2024, doi: 10.3390/info15100611.

N. Das R. Ghosh, A. Ahamed, B. Sadhukhan, “Lung nodule classification using MobileNet Transfer Learning,†In 2023 9th International conference on smart computing and communications (ICSCC). IEEE, pp. 290–295, 2023, doi: 10.1109/ICSCC59169.2023.10335043.

S. Kaur et al., “High-accuracy lung disease classification via logistic regression and advanced feature extraction techniques,†Egyptian Informatics Journal, vol. 29, no. October 2024, pp. 1–11, 2025, doi: 10.1016/j.eij.2024.100596.

How to Cite

[1]
E. A. Ebeid and F. Youness, “Enhanced Multi-Class Pulmonary Disorder Detection Using Hard Voting Ensemble of CNN Models on X-Ray Images”, IJEEI, vol. 13, no. 3, pp. 614–633, Sep. 2025, doi: 10.52549/ijeei.v13i3.6606.