Transactions on Machine Intelligence

Transactions on Machine Intelligence

Detection of Pulmonary Lesions Using Convolutional Neural Networks in X-Ray Images and Capsule Neural Networks

Author
Department of Electrical Engineering, Khalifa University, Abu Dhabi, United Arab Emirates
Abstract
In this study, a novel approach based on Capsule Neural Networks is presented for detecting pulmonary lesions in medical images. Timely and accurate detection of pulmonary lesions is of critical importance in reducing mortality among patients with pulmonary diseases, particularly during the early stages of the disease. Capsule Neural Networks are considered a suitable tool for this purpose due to their high capability in identifying complex features and spatial relationships within image data. In this study, CT and X-ray images of patients with pulmonary lesions and healthy individuals were collected and, following preprocessing procedures including normalization and data augmentation, were used as inputs to the Capsule Neural Network model. The proposed model extracts important features and identifies patterns associated with pulmonary lesions. Model performance was evaluated using metrics such as accuracy, sensitivity, and the F1-score. The obtained results demonstrated that the Capsule Neural Network achieved good performance and high accuracy in detecting pulmonary lesions. This study highlights the effectiveness of Capsule Neural Networks in the diagnosis of pulmonary diseases and their potential application in medical systems for the automated detection of lesions.
Keywords

[1]      Reshi, A. A., Rustam, F., Mehmood, A., Alhossan, A., Alrabiah, Z., Ahmad, A., & Choi, G. S. (2021). An efficient CNN model for COVID-19 disease detection based on X-ray image classification. Complexity, 2021, Article 6621607. https://doi.org/10.1155/2021/6621607
[2]      Fachrel, J., Pravitasari, A. A., Yulita, I. N., Ardhisasmita, M. N., & Indrayatna, F. (2023). Enhancing an imbalanced lung disease X-ray image classification with the CNN-LSTM model. Applied Sciences, 13(14), 8227. https://doi.org/10.3390/app13148227
[3]      Alshmrani, G. M. M., Ni, Q., Jiang, R., Pervaiz, H., & Elshennawy, N. M. (2023). A deep learning architecture for multi-class lung diseases classification using chest X-ray (CXR) images. Alexandria Engineering Journal, 64, 923–935. https://doi.org/10.1016/j.aej.2022.10.053
[4]      Moujahid, H., Cherradi, B., Gannour, O. E., Bahatti, L., Terrada, O., & Hamida, S. (2020). Convolutional neural network-based classification of patients with pneumonia using X-ray lung images. Advances in Science, Technology and Engineering Systems Journal, 5(5), 167–175. https://doi.org/10.25046/aj050522
[5]      Thamilarasi, V., & Roselin, R. (2021). Automatic classification and accuracy by deep learning using CNN methods in lung chest X-ray images. IOP Conference Series: Materials Science and Engineering, 1055(1), 012099. https://doi.org/10.1088/1757-899X/1055/1/012099
[6]      Gopatoti, A., & Vijayalakshmi, P. (2022). CXGNet: A tri-phase chest X-ray image classification for COVID-19 diagnosis using deep CNN with enhanced grey-wolf optimizer. Biomedical Signal Processing and Control, 77, 103860. https://doi.org/10.1016/j.bspc.2022.103860
[7]      Nahiduzzaman, M., Goni, M. O. F., Hassan, R., Islam, M. R., Syfullah, M. K., Shahriar, S. M., & Kowalski, M. (2023). Parallel CNN-ELM: A multiclass classification of chest X-ray images to identify seventeen lung diseases including COVID-19. Expert Systems with Applications, 229, 120528. https://doi.org/10.1016/j.eswa.2023.120528
[8]      Louati, H., Bechikh, S., Louati, A., Aldaej, A., & Said, L. B. (2022). Evolutionary optimization for CNN compression using thoracic X-ray image classification. In International Conference on Industrial, Engineering and Other Applications of Applied Intelligent Systems (pp. 112–123). Springer. https://doi.org/10.1007/978-3-031-08530-7_10
[9]      Hussein, F., Mughaid, A., AlZu'bi, S., El-Salhi, S. M., Abuhaija, B., Abualigah, L., & Gandomi, A. H. (2022). Hybrid CLAHE-CNN deep neural networks for classifying lung diseases from X-ray acquisitions. Electronics, 11(19), 3075. https://doi.org/10.3390/electronics11193075
[10]   Gao, T., & Wang, G. (2020). Chest X-ray image analysis and classification for COVID-19 pneumonia detection using Deep CNN. medRxiv. https://doi.org/10.1101/2020.08.20.20178913
[11]   Rahman, T., Chowdhury, M. E., Khandakar, A., Islam, K. R., Islam, K. F., Mahbub, Z. B., & 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
[12]   Giełczyk, A., Marciniak, A., Tarczewska, M., & Lutowski, Z. (2022). Pre-processing methods in chest X-ray image classification. PLOS ONE, 17(4), e0265949. https://doi.org/10.1371/journal.pone.0265949
[13]   Sorić, M., Pongrac, D., & Inza, I. (2020). Using convolutional neural network for chest X-ray image classification. In 2020 43rd International Convention on Information, Communication and Electronic Technology (MIPRO) (pp. 1771–1776). IEEE. https://doi.org/10.23919/MIPRO48935.2020.9245376
Volume 8, Issue 4
Autumn 2025
Pages 215-222

  • Receive Date 09 July 2025
  • Revise Date 11 September 2025
  • Accept Date 17 November 2025