A deep learning–based multiclass classification framework for automated detection of pneumonia and tuberculosis from chest X-ray images and an independent external validation using 3,568 chest X-ray images demonstrated robust generalization, highlighting the importance of model selection and optimization in medical image classification.
Abstract
The rising incidence of pneumonia and tuberculosis presents major public health challenges, particularly in resource-limited regions such as Ethiopia, where shortages of skilled radiologists hinder timely diagnosis. Although deep learning has shown promise in medical image analysis, robust multiclass classification of these diseases from chest X-ray images remains technically challenging. This study proposes a deep learning–based multiclass classification framework for automated detection of pneumonia and tuberculosis from chest X-rays. A total of 2,100 chest X-ray images were collected from major hospitals in the Amhara region. Images were preprocessed and augmented to improve robustness. Multiple convolutional neural network architectures including Sequential CNN, VGG19, MobileNetV3-Large, EfficientNetV2-B0/B1, and InceptionResNet were trained and evaluated using accuracy, precision, recall, F1-score, and AUC metrics. A two-stage transfer learning strategy with systematic hyperparameter optimization was applied. Among the evaluated models, the customized VGG19 achieved the best performance, with 99% accuracy, precision, recall, and F1-score, and an AUC of 99.93%. Other models also demonstrated strong performance, with accuracies ranging from 95 to 98%. These results highlight the importance of model selection and optimization in medical image classification. An independent external validation using 3,568 chest X-ray images demonstrated robust generalization, with an accuracy of 88.83% and macro F1-score of 83.92%. Future work will focus on prospective multicenter validation, patient-level evaluation, and expert radiologist verification of the explainability framework.
A deep learning-based system that uses chest X-ray pictures to automatically detect tuberculosis, using transfer learning using MobileNetV2 and DenseNet architectures to classify chest Xrays as either TB-positive or Healthy, reaching notable accuracy.
Zoya Nasreen, Afshan Fatima, Ruqiya Fatima· International Journal of AI...· 0 citations
Pneumonia is a serious respiratory issue that requires timely and accurate diagnosis to reduce the mortality rate. Chest X-ray images are a common diagnostic tool for pneumonia assessment. Early detection of pneumonia is crucial for prompt treatment and improved patient outcomes. The conventional diagnosis of pneumonia...
M. Das· Natural Resources for Human...· 0 citations
Tuberculosis (TB) is a contagious infectious disease that mainly affects the lungs and is associated with persistent cough, chest pain, fever, night sweats, and weight loss. Late diagnosis and a shortage of qualified radiologists contribute greatly to the spread of the disease and to deaths from it, especially in low-...
Dontha Madhusudhana Rao, Dasari Karthik Reddy, Muppala Dhanvith Varma et al.· Conference Proceedings in Sc...· 0 citations
This study aims to compare the classification performance and computational complexity of a CNN and a pre-trained ResNet50 model using transfer learning for binary pneumonia classification on chest X-ray images and shows that the CNN outperforms the ResNet50 across all classification metrics.
Tam Pran Noto Noto, Supatman Supatman· Jurnal Riset Informatika· 0 citations
Pneumonia is a lung infection that causes inflammation in the alveoli and remains a major health concern not only in India but also across the world due to its high mortality rate. Novel therapeutic strategies are required to address pneumonia, a complicated pulmonary disease. A number of medical diagnostic application...
N. C.· Natural Resources for Human...· 0 citations
Tuberculosis (TB) is a global infectious disease, and chest x-ray (CXR) examination is a primary screening method. However, manual image interpretation can suffer from low diagnostic efficiency, poor consistency, and limitations imposed by the experience of the interpreters, necessitating the development of intelligent...