Cargando…

Detection of COVID-19 Using Transfer Learning and Grad-CAM Visualization on Indigenously Collected X-ray Dataset

The COVID-19 outbreak began in December 2019 and has dreadfully affected our lives since then. More than three million lives have been engulfed by this newest member of the corona virus family. With the emergence of continuously mutating variants of this virus, it is still indispensable to successfu...

Descripción completa

Detalles Bibliográficos
Autores principales: Umair, Muhammad, Khan, Muhammad Shahbaz, Ahmed, Fawad, Baothman, Fatmah, Alqahtani, Fehaid, Alian, Muhammad, Ahmad, Jawad
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8434081/
https://www.ncbi.nlm.nih.gov/pubmed/34502702
http://dx.doi.org/10.3390/s21175813
_version_ 1783751513860997120
author Umair, Muhammad
Khan, Muhammad Shahbaz
Ahmed, Fawad
Baothman, Fatmah
Alqahtani, Fehaid
Alian, Muhammad
Ahmad, Jawad
author_facet Umair, Muhammad
Khan, Muhammad Shahbaz
Ahmed, Fawad
Baothman, Fatmah
Alqahtani, Fehaid
Alian, Muhammad
Ahmad, Jawad
author_sort Umair, Muhammad
collection PubMed
description The COVID-19 outbreak began in December 2019 and has dreadfully affected our lives since then. More than three million lives have been engulfed by this newest member of the corona virus family. With the emergence of continuously mutating variants of this virus, it is still indispensable to successfully diagnose the virus at early stages. Although the primary technique for the diagnosis is the PCR test, the non-contact methods utilizing the chest radiographs and CT scans are always preferred. Artificial intelligence, in this regard, plays an essential role in the early and accurate detection of COVID-19 using pulmonary images. In this research, a transfer learning technique with fine tuning was utilized for the detection and classification of COVID-19. Four pre-trained models i.e., VGG16, DenseNet-121, ResNet-50, and MobileNet were used. The aforementioned deep neural networks were trained using the dataset (available on Kaggle) of 7232 (COVID-19 and normal) chest X-ray images. An indigenous dataset of 450 chest X-ray images of Pakistani patients was collected and used for testing and prediction purposes. Various important parameters, e.g., recall, specificity, F1-score, precision, loss graphs, and confusion matrices were calculated to validate the accuracy of the models. The achieved accuracies of VGG16, ResNet-50, DenseNet-121, and MobileNet are 83.27%, 92.48%, 96.49%, and 96.48%, respectively. In order to display feature maps that depict the decomposition process of an input image into various filters, a visualization of the intermediate activations is performed. Finally, the Grad-CAM technique was applied to create class-specific heatmap images in order to highlight the features extracted in the X-ray images. Various optimizers were used for error minimization purposes. DenseNet-121 outperformed the other three models in terms of both accuracy and prediction.
format Online
Article
Text
id pubmed-8434081
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-84340812021-09-12 Detection of COVID-19 Using Transfer Learning and Grad-CAM Visualization on Indigenously Collected X-ray Dataset Umair, Muhammad Khan, Muhammad Shahbaz Ahmed, Fawad Baothman, Fatmah Alqahtani, Fehaid Alian, Muhammad Ahmad, Jawad Sensors (Basel) Article The COVID-19 outbreak began in December 2019 and has dreadfully affected our lives since then. More than three million lives have been engulfed by this newest member of the corona virus family. With the emergence of continuously mutating variants of this virus, it is still indispensable to successfully diagnose the virus at early stages. Although the primary technique for the diagnosis is the PCR test, the non-contact methods utilizing the chest radiographs and CT scans are always preferred. Artificial intelligence, in this regard, plays an essential role in the early and accurate detection of COVID-19 using pulmonary images. In this research, a transfer learning technique with fine tuning was utilized for the detection and classification of COVID-19. Four pre-trained models i.e., VGG16, DenseNet-121, ResNet-50, and MobileNet were used. The aforementioned deep neural networks were trained using the dataset (available on Kaggle) of 7232 (COVID-19 and normal) chest X-ray images. An indigenous dataset of 450 chest X-ray images of Pakistani patients was collected and used for testing and prediction purposes. Various important parameters, e.g., recall, specificity, F1-score, precision, loss graphs, and confusion matrices were calculated to validate the accuracy of the models. The achieved accuracies of VGG16, ResNet-50, DenseNet-121, and MobileNet are 83.27%, 92.48%, 96.49%, and 96.48%, respectively. In order to display feature maps that depict the decomposition process of an input image into various filters, a visualization of the intermediate activations is performed. Finally, the Grad-CAM technique was applied to create class-specific heatmap images in order to highlight the features extracted in the X-ray images. Various optimizers were used for error minimization purposes. DenseNet-121 outperformed the other three models in terms of both accuracy and prediction. MDPI 2021-08-29 /pmc/articles/PMC8434081/ /pubmed/34502702 http://dx.doi.org/10.3390/s21175813 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Umair, Muhammad
Khan, Muhammad Shahbaz
Ahmed, Fawad
Baothman, Fatmah
Alqahtani, Fehaid
Alian, Muhammad
Ahmad, Jawad
Detection of COVID-19 Using Transfer Learning and Grad-CAM Visualization on Indigenously Collected X-ray Dataset
title Detection of COVID-19 Using Transfer Learning and Grad-CAM Visualization on Indigenously Collected X-ray Dataset
title_full Detection of COVID-19 Using Transfer Learning and Grad-CAM Visualization on Indigenously Collected X-ray Dataset
title_fullStr Detection of COVID-19 Using Transfer Learning and Grad-CAM Visualization on Indigenously Collected X-ray Dataset
title_full_unstemmed Detection of COVID-19 Using Transfer Learning and Grad-CAM Visualization on Indigenously Collected X-ray Dataset
title_short Detection of COVID-19 Using Transfer Learning and Grad-CAM Visualization on Indigenously Collected X-ray Dataset
title_sort detection of covid-19 using transfer learning and grad-cam visualization on indigenously collected x-ray dataset
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8434081/
https://www.ncbi.nlm.nih.gov/pubmed/34502702
http://dx.doi.org/10.3390/s21175813
work_keys_str_mv AT umairmuhammad detectionofcovid19usingtransferlearningandgradcamvisualizationonindigenouslycollectedxraydataset
AT khanmuhammadshahbaz detectionofcovid19usingtransferlearningandgradcamvisualizationonindigenouslycollectedxraydataset
AT ahmedfawad detectionofcovid19usingtransferlearningandgradcamvisualizationonindigenouslycollectedxraydataset
AT baothmanfatmah detectionofcovid19usingtransferlearningandgradcamvisualizationonindigenouslycollectedxraydataset
AT alqahtanifehaid detectionofcovid19usingtransferlearningandgradcamvisualizationonindigenouslycollectedxraydataset
AT alianmuhammad detectionofcovid19usingtransferlearningandgradcamvisualizationonindigenouslycollectedxraydataset
AT ahmadjawad detectionofcovid19usingtransferlearningandgradcamvisualizationonindigenouslycollectedxraydataset