International Journal of Computational and Electronic Aspects in Engineering
Volume 7 · Issue 2 · June 2026 · pp. 211-226
Research Article · Peer Reviewed
Received: March 15, 2026 · Accepted: May 31, 2026 · Published: June 10, 2026
Open Access · CC BY 4.0

Hybrid ResNet50 and DenseNet121 with Adaptive Weighted Feature Fusion in Infectious Chest Diseases Classification

Samaa Khalid Ghanim*
Department of Engineering Electronic and Communication Techniques, Polytechnic College Mosul, Northern Technical University, Iraq.

*Corresponding author: mti.lec22.samaa@ntu.edu.iq

Abstract

The usage of image classification has importance since it permits for prompt and accurate diagnosis based on medical images corresponding X-rays in detecting infections of chest. The early detection of infection helps to treat and prevent from diseases spread. In addition, it supports health care practitioners to be efficient and preventing errors in diagnosis procedure. In this paper, four classes of infectious chest diseases (COVID-19, Normal, Pneumonia and Tuberculosis) are classified using a proposed deep learning based on new method of Adaptive Weighted Feature Fusion (AWFF) that combines the strengths of both ResNet50 and DenseNet121 into balance database. The fusion approach allows a model to take deep features and reuse of robust feature. The results show that the proposed model achieves high performance classification reach to accuracy 98.63%, precision = 98.72%, recall = 98.84% and F1-score = 98.75%, indicating its strength in classifying infectious chest diseases.

Keywords

ResNet50 DenseNet121 Adaptive Weighted Feature Fusion Infectious Chest Diseases Classification Convolutional Neural Network Image Classification

References

References

  1. K. Verma et al., “Classification of COVID-19 on chest X-ray images using deep learning model with histogram equalization and lung segmentation,” SN Computer Science, vol. 5, no. 4, Art. no. 379, 2024.
  2. E. M. F. El Houby, “COVID-19 detection from chest X-ray images using transfer learning,” Scientific Reports, vol. 14, no. 1, Art. no. 11639, 2024.
  3. S. Kim et al., “Deep learning in multi-class lung diseases’ classification on chest X-ray images,” Diagnostics, vol. 12, no. 4, Art. no. 915, 2022.
  4. S. Alhayali et al., “A survey on the moving to green communications networks,” in Proc. Int. Conf. Information Technology and Computing (ICITCOM), 2023, pp. 78–83, doi: 10.1109/ICITCOM60176.2023.10441793.
  5. M. J. Kadhim, H. L. Majeed, and R. H. Salman, “Artificial intelligence and its impact on sustainable development from an industrial perspective,” International Journal of Computational and Electronic Aspects in Engineering, vol. 7, no. 1, pp. 12–28, Feb. 2026, doi: 10.26706/ijceae.7.1.20260102.
  6. E. M. F. El Houby, “COVID-19 detection from chest X-ray images using transfer learning,” Scientific Reports, vol. 14, no. 1, Art. no. 11639, 2024.
  7. S. A. S. Al-Duri, “Improving heart disease classification using multimodal fusion in deep learning,” International Journal of Computational and Electronic Aspects in Engineering, vol. 6, no. 3, pp. 218–227, 2025.
  8. A. J. Yaseen, “Prospective detection of diabetic retinopathy using modified CNN models on fundus images: A study at Al-Noor Institute, Al-Nasiriya,” International Journal of Computational and Electronic Aspects in Engineering, vol. 6, no. 3, pp. 169–179, 2025.
  9. H. Hatem, “Improved deep learning models for plants diseases detection for smart farming,” International Journal of Computational and Electronic Aspects in Engineering, vol. 6, no. 1, pp. 10–21, 2025, doi: 10.26706/ijceae.6.1.20250204.
  10. V. Acharya et al., “AI-assisted tuberculosis detection and classification from chest X-rays using a deep learning normalization-free network model,” Computational Intelligence and Neuroscience, vol. 2022, Art. no. 2399428, 2022.
  11. S. Singam and J. Vemuri, “Enhancing tuberculosis diagnosis through AI-powered chest radiograph classification,” in Proc. Int. Conf. Artificial Intelligence and Knowledge Processing. Cham, Switzerland: Springer Nature, 2025.
  12. S. I. Hamad, “Utilizing convolutional neural networks for the identification of lung cancer,” International Journal of Computational and Electronic Aspects in Engineering, vol. 6, no. 1, pp. 35–41, 2025.
  13. F. Alshanketi et al., “Pneumonia detection from chest X-ray images using deep learning and transfer learning for imbalanced datasets,” Journal of Imaging Informatics in Medicine, vol. 38, no. 4, pp. 2021–2040, 2025.
  14. R. Siddiqi and S. Javaid, “Deep learning for pneumonia detection in chest X-ray images: A comprehensive survey,” Journal of Imaging, vol. 10, no. 8, Art. no. 176, 2024.
  15. F. E. Boiardi, A. D. Lain, and J. M. Posma, “AI-assisted pneumonia detection, localisation and report generation from chest X-rays,” medRxiv, 2026.
  16. M. Abad, J. Casas-Roma, and F. Prados, “Generalizable disease detection using model ensemble on chest X-ray images,” Scientific Reports, vol. 14, no. 1, Art. no. 5890, 2024.
  17. M. R. Haque and M. A. Mamun, “A lightweight CNN architecture for chest X-ray images analysis to facilitate early stage detection of lung diseases,” in Proc. 25th Int. Conf. Computer and Information Technology (ICCIT), 2022.
  18. 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, pp. 635–640, 2020.
  19. K. Okokpujie et al., “Classification model for infectious lung diseases using convolutional neural networks on web and mobile applications,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 39, no. 1, pp. 410–424, 2025.
  20. J. Sabeena and N. C. Kumar, “A hybrid approach using CNN and DQN technique for diagnosis pneumonia in chest X-ray images,” International Journal on Recent and Innovation Trends in Computing and Communication, vol. 11, no. 10s, pp. 304–311, 2023.
  21. S. A. Siddiqui, N. Fatima, and A. Ahmad, “Chest X-ray and CT scan classification using ensemble learning through transfer learning,” EAI Endorsed Transactions on Scalable Information Systems, vol. 9, no. 6, Art. no. e8, 2022.
  22. N. K. M., U., and C. F. Fuad, “Comparative analysis of pneumonia detection from chest X-ray images using CNN and transfer learning,” Journal of Data Science, 2024.
  23. S. Rezayi et al., “Timely diagnosis of acute lymphoblastic leukemia using artificial intelligence-oriented deep learning methods,” Computational Intelligence and Neuroscience, vol. 2021, Art. no. 5478157, 2021.
  24. K. Sriporn et al., “Analyzing lung disease using highly effective deep learning techniques,” Healthcare, vol. 8, no. 2, 2020.
  25. Z. Liang et al., “Adaptive fusion based method for imbalanced data classification,” Frontiers in Neurorobotics, vol. 16, Art. no. 827913, 2022.
  26. J. Hu, L. Shen, and G. Sun, “Squeeze-and-excitation networks,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2018, pp. 7132–7141.
  27. Y. Xu and Y. Lu, “Adaptive weighted fusion: A novel fusion approach for image classification,” Neurocomputing, vol. 168, pp. 566–574, 2015.
  28. L. Zuo, Z. Wang, and Y. Wang, “A multi-stage multi-modal learning algorithm with adaptive multimodal fusion for improving multi-label skin lesion classification,” Artificial Intelligence in Medicine, vol. 162, Art. no. 103091, 2025.
  29. G. Huang et al., “Densely connected convolutional networks,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2017, pp. 4700–4708.
  30. S. K. Ghanim, “Classification of environmental and human obstacles in automatic driving using EfficientNet,” Journal Européen des Systèmes Automatisés, vol. 59, no. 1, p. 53, 2026, doi: 10.18280/jesa.590106.
  31. F. Bargarai, I. A. Khalifa, and R. W. Daoud, “Enhancing the diagnosis of skin cancer using active learning and transfer learning techniques,” NTU Journal of Engineering and Technology, vol. 5, no. 1, pp. 125–132, 2025.