Detection of Pneumonia Disease on Chest X-ray Images Using Convolutional Neural Network
DOI:
https://doi.org/10.64878/jistics.v1i3.18Keywords:
Pneumonia, Chest X-ray, Convolutional Neural Network (CNN), Disease Detection, Artifical IntelligenceAbstract
Pneumonia is a critical lung infection and a leading cause of morbidity and mortality worldwide. Early and accurate diagnosis is essential to ensure effective treatment and improved patient outcomes. Chest X-ray imaging, as a widely accessible diagnostic tool, presents challenges in manual interpretation due to overlapping anatomical structures and inter-observer variability. To address this, this study investigates the application of Convolutional Neural Networks (CNN) for automated pneumonia detection from chest X-ray images. The dataset used in this research consists of 5,863 labeled grayscale pictures obtained from the Kaggle repository, comprising 4,273 pneumonia and 1,583 normal cases. Preprocessing steps included image resizing, normalization, and class balancing through augmentation. The CNN model was trained using the augmented dataset and evaluated using various performance metrics. The proposed model achieved an overall accuracy of 79% on the test set, with a precision of 0.84, a recall of 0.79, and an F1-score of 0.78. The class-wise analysis revealed strong performance in detecting normal cases (F1-score = 0.82) but lower recall in pneumonia cases (Recall = 0.60), indicating a need for further improvement. In conclusion, CNN-based approaches demonstrate promising potential for aiding pneumonia diagnosis in clinical settings. However, additional work is necessary to enhance model reliability, particularly in detecting complex patterns of pneumonia. Future research may explore ensemble models and attention mechanisms to improve classification performance.
Downloads
References
C. Usman, S. U. Rehman, A. Ali, A. M. Khan, and B. Ahmad, “Pneumonia Disease Detection Using Chest X-Rays and Machine Learning,” Algorithms, vol. 18, no. 2, 2025, doi: 10.3390/a18020082. DOI: https://doi.org/10.3390/a18020082
Vyas and A. A. Mehta, “Deep Learning for Pneumonia Diagnosis: A Custom CNN Approach with Superior Performance on Chest Radiographs,” 2025. DOI: https://doi.org/10.1101/2025.05.26.25328342
A. Al Foysal and S. Sultana, “AI-Driven Pneumonia Diagnosis Using Deep Learning: A Comparative Analysis of CNN Models on Chest X-Ray Images,” vol. 12, 2025, doi: 10.4236/oalib.1112899. DOI: https://doi.org/10.4236/oalib.1112899
Q. An, W. Chen, and W. Shao, “A Deep Convolutional Neural Network for Pneumonia Detection in X-ray Images with Attention Ensemble,” Diagnostics, vol. 14, no. 4, pp. 1–23, 2024, doi: 10.3390/diagnostics14040390. DOI: https://doi.org/10.3390/diagnostics14040390
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. DOI: https://doi.org/10.3390/app12136448
N. F. Hismaya, “Analisis Tekstur Berbasis GLCM dan Klasifikasi KNN-SVM untuk Identifikasi Pneumonia pada Citra Rontgen,” vol. 1, no. 1, pp. 68–78, Mar. 2025. [Online]. Available: https://journal.ummat.ac.id/index.php/tcs
G. Hripcsak and A. S. Rothschild, “Agreement, the F-measure, and reliability in information retrieval,” Journal of the American Medical Informatics Association, vol. 12, no. 3, pp. 296–298, 2005, doi: 10.1197/jamia.M1733. DOI: https://doi.org/10.1197/jamia.M1733
R. Nurlizah, A. E. Minarno, and G. W. Wicaksono, “Klasifikasi Penyakit Katarak Pada Mata Manusia Menggunakan Metode Convolutional Neural Network,” REPOSITOR, vol. 4, no. 4, pp. 491–496, 2022.
F. A. Mohammed, K. K. Tune, B. G. Assefa, M. Jett, and S. Muhie, “Medical Image Classifications Using Convolutional Neural Networks: A Survey of Current Methods and Statistical Modeling of the Literature,” Mar. 01, 2024, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/make6010033. DOI: https://doi.org/10.3390/make6010033
D. Gunawan and H. Setiawan, “Convolutional Neural Network dalam Analisis Citra Medis,” 2022. DOI: https://doi.org/10.24002/konstelasi.v2i2.5367
D. M. W. Powers and N. L. Processing, “What the f-measure doesn’t measure” arXiv preprint ArXiv:1503.06410, 2014.
A. Fadilah and A. Azkia, “Brain Tumor Classification using Convolutional Neural Network with ResNet Architecture”, J. Intell. Syst. Technol. Inform., vol. 1, no. 1, pp. 31–36, Jun. 2025. DOI: https://doi.org/10.64878/jistics.v1i1.8
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Rosa Salsabila; Lea Saumi

This work is licensed under a Creative Commons Attribution 4.0 International License.
License:
This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author(s) and source are credited.







