Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Mar 30:2022:9036457.
doi: 10.1155/2022/9036457. eCollection 2022.

Lung Disease Classification in CXR Images Using Hybrid Inception-ResNet-v2 Model and Edge Computing

Affiliations

Lung Disease Classification in CXR Images Using Hybrid Inception-ResNet-v2 Model and Edge Computing

Chandra Mani Sharma et al. J Healthc Eng. .

Retraction in

Abstract

Chest X-ray (CXR) imaging is one of the most widely used and economical tests to diagnose a wide range of diseases. However, even for expert radiologists, it is a challenge to accurately diagnose diseases from CXR samples. Furthermore, there remains an acute shortage of trained radiologists worldwide. In the present study, a range of machine learning (ML), deep learning (DL), and transfer learning (TL) approaches have been evaluated to classify diseases in an openly available CXR image dataset. A combination of the synthetic minority over-sampling technique (SMOTE) and weighted class balancing is used to alleviate the effects of class imbalance. A hybrid Inception-ResNet-v2 transfer learning model coupled with data augmentation and image enhancement gives the best accuracy. The model is deployed in an edge environment using Amazon IoT Core to automate the task of disease detection in CXR images with three categories, namely pneumonia, COVID-19, and normal. Comparative analysis has been given in various metrics such as precision, recall, accuracy, AUC-ROC score, etc. The proposed technique gives an average accuracy of 98.66%. The accuracies of other TL models, namely SqueezeNet, VGG19, ResNet50, and MobileNetV2 are 97.33%, 91.66%, 90.33%, and 76.00%, respectively. Further, a DL model, trained from scratch, gives an accuracy of 92.43%. Two feature-based ML classification techniques, namely support vector machine with local binary pattern (SVM + LBP) and decision tree with histogram of oriented gradients (DT + HOG) yield an accuracy of 87.98% and 86.87%, respectively.

PubMed Disclaimer

Conflict of interest statement

The authors declare that they have no conflicts of interest.

Figures

Figure 1
Figure 1
Sample X-ray images from the dataset.
Figure 2
Figure 2
Label count of the classes.
Figure 3
Figure 3
Removing noise from the input image.
Figure 4
Figure 4
Data augmentation during training: (a) original, (b) rotated, (c) zoomed, (d) vertically shifted, and (e) horizontally shifted.
Figure 5
Figure 5
The architecture of the custom model.
Figure 6
Figure 6
Schematic flow diagram of the proposed system.
Figure 7
Figure 7
Layered architecture of the edge enabled system.
Figure 8
Figure 8
Accuracy and loss of comparison of (a) proposed custom model, (b) VGG19, (c) ResNet 50, and (d) MobileNetV2.
Figure 9
Figure 9
Mean accuracies of CNN and two different ML (SVM and decision tree)-based classifiers.
Figure 10
Figure 10
ROC curve.
Figure 11
Figure 11
Confusion matrix of the custom model.

References

    1. Sahlol A. T., Abd Elaziz M., Tariq Jamal A., Damaševičius R., Farouk Hassan O. A novel method for detection of tuberculosis in chest radiographs using artificial ecosystem-based optimisation of deep neural network features. Symmetry . 2020;12(7):p. 1146. doi: 10.3390/sym12071146. - DOI
    1. Khan M. A., Rajinikanth V., Satapathy S. C., et al. VGG19 network assisted joint segmentation and classification of lung nodules in CT images. Diagnostics . 2021;11(12):p. 2208. doi: 10.3390/diagnostics11122208. - DOI - PMC - PubMed
    1. Poap D., Wozniak M., Damaševičius R., Wei W. Chest radiographs segmentation by the use of nature-inspired algorithm for lung disease detection. Proceedings of the 2018 IEEE Symposium Series on Computational Intelligence (SSCI); November 2018; Bangalore, India. IEEE; pp. 2298–2303. - DOI
    1. Suri J., Agarwal S., Elavarthi P., et al. Inter-variability study of COVLIAS 1.0: hybrid deep learning models for COVID-19 lung segmentation in computed tomography. Diagnostics . 2021;11(11):p. 2025. doi: 10.3390/diagnostics11112025. - DOI - PMC - PubMed
    1. Rahman. CXR data set repository. 2020. https://bit.ly/3p6KtQD Kaggle.

Publication types