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 & Tarikwa Tesfa Bedane3 Show affiliations
- Department of Computer Science and Engineering, C.V. Raman Global University, India
- Faculty of Emerging Technologies, Sri Sri University, Cuttack, India
- Department of Software Engineering, Addis Ababa Science and Technology University, Ethiopia
Journal of Computer Science, Volume 21, Issue 2, pp. 413–423 · doi.org/10.3844/jcssp.2025.413.423
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.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
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
- Licence
- CC BY 4.0
- Issue
- Volume 21, Issue 2
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
