English

Reliable Tuberculosis Detection using Chest X-ray with Deep Learning, Segmentation and Visualization

Image and Video Processing 2020-10-27 v1 Computer Vision and Pattern Recognition

Abstract

Tuberculosis (TB) is a chronic lung disease that occurs due to bacterial infection and is one of the top 10 leading causes of death. Accurate and early detection of TB is very important, otherwise, it could be life-threatening. In this work, we have detected TB reliably from the chest X-ray images using image pre-processing, data augmentation, image segmentation, and deep-learning classification techniques. Several public databases were used to create a database of 700 TB infected and 3500 normal chest X-ray images for this study. Nine different deep CNNs (ResNet18, ResNet50, ResNet101, ChexNet, InceptionV3, Vgg19, DenseNet201, SqueezeNet, and MobileNet), which were used for transfer learning from their pre-trained initial weights and trained, validated and tested for classifying TB and non-TB normal cases. Three different experiments were carried out in this work: segmentation of X-ray images using two different U-net models, classification using X-ray images, and segmented lung images. The accuracy, precision, sensitivity, F1-score, specificity in the detection of tuberculosis using X-ray images were 97.07 %, 97.34 %, 97.07 %, 97.14 % and 97.36 % respectively. However, segmented lungs for the classification outperformed than whole X-ray image-based classification and accuracy, precision, sensitivity, F1-score, specificity were 99.9 %, 99.91 %, 99.9 %, 99.9 %, and 99.52 % respectively. The paper also used a visualization technique to confirm that CNN learns dominantly from the segmented lung regions results in higher detection accuracy. The proposed method with state-of-the-art performance can be useful in the computer-aided faster diagnosis of tuberculosis.

Keywords

Cite

@article{arxiv.2007.14895,
  title  = {Reliable Tuberculosis Detection using Chest X-ray with Deep Learning, Segmentation and Visualization},
  author = {Tawsifur Rahman and Amith Khandakar and Muhammad Abdul Kadir and Khandaker R. Islam and Khandaker F. Islam and Rashid Mazhar and Tahir Hamid and Mohammad T. Islam and Zaid B. Mahbub and Mohamed Arselene Ayari and Muhammad E. H. Chowdhury},
  journal= {arXiv preprint arXiv:2007.14895},
  year   = {2020}
}

Comments

15 pages, 12 figure and 5 Tables

R2 v1 2026-06-23T17:29:48.305Z