Enver YİĞİTBAŞ*
Keywords
Pneumonia Classification Chest X-ray Images Transfer Learning MobileNetV2 CLAHE Histogram Equalization Deep Learning. Iskenderun
Doi : 10.71350/jner.2026159
Abstract
Early and accurate detection of pneumonia is of great importance, particularly in accelerating diagnostic processes and improving treatment success in the healthcare field. In this study, a pretrained MobileNetV2 deep learning model was used for the automatic classification of pneumonia using chest X-ray images. The model was configured using the transfer learning approach, and only the final classification layers were retrained. The training process was carried out for 20 epochs, allowing the model to benefit from the strong feature extraction capabilities of the pretrained architecture.
In order to improve model performance, image preprocessing techniques including CLAHE (Contrast Limited Adaptive Histogram Equalization), Histogram Equalization, and Image Sharpening were applied. These methods enhanced the contrast levels of chest X-ray images, made low-contrast regions more distinguishable, and enabled the model to learn more discriminative features.
The performances of the developed models were evaluated using accuracy, precision, recall, and F1-score metrics. In addition, confusion matrix analyses were performed to examine the classification results in detail. Experimental results showed that the highest performance was achieved using the Histogram Equalization preprocessing method, with an accuracy of 87.02% and an F1-score of 90.37%. In particular, the high recall values demonstrated that the developed system was highly successful in detecting pneumonia cases.
The chest X-ray dataset used in this study was obtained from the Kaggle platform, and the effects of transfer learning and image preprocessing techniques on medical image classification were comparatively analyzed. The obtained results indicate that image preprocessing methods can significantly improve the performance of deep learning-based pneumonia detection systems.
References
- Atik, İ. (2024). Pneumonia detection on chest x-ray images using residual convolutional neural network. Journal of the Faculty of Engineering and Architecture of Gazi University, 39(3), 1719–1731.https://doi.org/10.17341/gazimmfd.1271385
- Camgözlü Y, Kutlu Y. (2021). Detection of coronavirus disease (COVID-19) from X-ray images using deep convolutional neural networks. Natural and Engineering Sciences, 6(3), 204-211., Doi: 10.28978/nesciences.868087
- Duruel, O.M., Kutlu, Y. (2025). Artificial Intelligence in Dental Imaging for Disease Detection and Treatment. Tethys Environmental Science, 2(3), 122-128, doi : 10.5281/zenodo.17220181
- Şahin, S., & Harman, G. (2024). Akciğer röntgen görüntülerinden Covid-19 ve zatürre hastalığının kuantum evrişimli sinir ağları yöntemi ile tahmini. Karaelmas Fen ve Mühendislik Dergisi, 14(2), 37–51. https://doi.org/10.7212/karaelmasfen.1416331
- Rajpurkar, P., Irvin, J., Zhu, K., Yang, B., Mehta, H., Duan, T., Ding, D., Bagul, A., Ball, R. L., Langlotz, C., Shpanskaya, K., Lungren, M. P., & Ng, A. Y. (2017). CheXNet: Radiologist-level pneumonia detection on chest X-rays with deep learning. arXiv. https://doi.org/10.48550/arXiv.1711.05225
- Rahman, T., Chowdhury, M. E. H., Khandakar, A., Islam, K. R., Islam, K. F., Mahbub, Z. B., Kadir, M. A., & Kashem, S. (2020). Transfer learning with deep convolutional neural network (CNN) for pneumonia detection using chest X-ray. Applied Sciences, 10(9), 3233. https://doi.org/10.3390/app10093233
- Mujahid, M., Rustam, F., Álvarez, R., Vidal Mazón, J. L., de la Torre Díez, I., & Ashraf, I. (2022). Pneumonia Classification from X-ray Images with Inception-V3 and Convolutional Neural Network. Diagnostics, 12(5), 1280. https://doi.org/10.3390/diagnostics12051280
- Ibrahim, A. U., Ozsoz, M., Serte, S., Al-Turjman, F., & Yakoi, P. S. (2021). Pneumonia Classification Using Deep Learning from Chest X-ray Images During COVID-19. Cognitive Computation, 16, 1589–1601. Springer. https://doi.org/10.1007/s12559-020-09787-5
- An, Q., Chen, W., & Shao, W. (2024). A Deep Convolutional Neural Network for Pneumonia Detection in X-ray Images with Attention Ensemble. Diagnostics, 14(4), 390. MDPI. https://doi.org/10.3390/diagnostics14040390
- Dutta, P. K., Chowdhury, A., Bhattacharyya, A., Chakraborty, S., & Dey, S. (2025). Deep Learning-Based Pneumonia Detection from Chest X-ray Images: A CNN Approach with Performance Analysis and Clinical Implications. arXiv. https://doi.org/10.48550/arXiv.2510.00035
- Toğaçar, M., Ergen, B., & Sertkaya, M. E. (2019). Zatürre hastalığının derin öğrenme modeli ile tespiti. Fırat Üniversitesi Mühendislik Bilimleri Dergisi, 31(1), 223–230. https://dergipark.org.tr/tr/pub/fumbd/article/498364?issue_id=43638
- Yen, C.-T., & Tsao, C.-Y. (2024). Lightweight convolutional neural network for chest X-ray images classification. Scientific Reports, 14, 29759. https://doi.org/10.1038/s41598-024-80826-z