Research Article Open Access

Classification of X-Ray Images Using Convolutional Neural Network and Automatic Hyper-Parameter Selection to Detect Tuberculosis (TB)

Biswaranjan Debata1, Rojalina Priyadarshini1, Sudhir Kumar Mohapatra2 and Tarikwa Tesfa Bedane3
  • 1 Department of Computer Science and Engineering, C.V. Raman Global University, India
  • 2 Faculty of Emerging Technologies, Sri Sri University, Cuttack, India
  • 3 Department of Software Engineering, Addis Ababa Science and Technology University, Ethiopia

Abstract

Tuberculosis (TB) is a major public health issue in India, contributing significantly to the global burden of respiratory diseases. This study introduces a Convolutional Neural Network (CNN)--based model for the early and cost-effective detection of TB using chest X-ray images. The proposed model, featuring 13 layers and automated hyperparameter selection, classifies images as infected or not infected. It is evaluated on three open datasets: Chest X-ray Masks and Labels, Tuberculosis X-ray (TB ×11 K), and Shenzhen. The model achieves an accuracy of 99.42% on the chest X-ray masks and label dataset, 99.27% on the TB ×11 K dataset, and 97.73% on the Shenzhen dataset, outperforming six existing models in terms of F1 score and precision. Unlike existing models that are tested on a single dataset, our model demonstrates consistent and robust performance across multiple datasets, highlighting its generalizability.

Journal of Computer Science
Volume 21 No. 2, 2025, 413-423

DOI: https://doi.org/10.3844/jcssp.2025.413.423

Submitted On: 9 July 2024 Published On: 21 January 2025

How to Cite: Debata, B., Priyadarshini, R., Mohapatra, S. K. & Bedane, T. T. (2025). Classification of X-Ray Images Using Convolutional Neural Network and Automatic Hyper-Parameter Selection to Detect Tuberculosis (TB). Journal of Computer Science, 21(2), 413-423. https://doi.org/10.3844/jcssp.2025.413.423

  • 45 Views
  • 8 Downloads
  • 0 Citations

Download

Keywords

  • Tuberculosis
  • TB
  • TB Detection Using CNN
  • CNN