Classifying COVID-19 and Viral Pneumonia Lung Infections through Deep Convolutional Neural Network Model using Chest X-Ray Images

J Med Phys. 2022 Jan-Mar;47(1):57-64. doi: 10.4103/jmp.jmp_100_21. Epub 2022 Mar 31.

Abstract

Context: Automated detection of COVID-19 in real time can greatly help clinicians to handle increasing number of cases for preliminary screening. Deep CNN models trained with sufficiently large datasets may become best candidates to meet the purpose.

Aims: This study aims for automated detection and classification of COVID-19 and viral pneumonia diseases by applying deep CNN model using chest X-ray images. The proposed model performs multiclass classification to meet the purpose.

Settings and design: The proposed model is built on top of VGG16 architecture with pretrained ImageNet weights. The model was fine-tuned using additional custom layers to deliver better performance specific to the target.

Subjects and methods: A total of 15,153 samples are used in this work. These samples include chest X-ray images of COVID-19, viral pneumonia, and normal cases. The entire dataset was split into train and test sets, with a ratio of 80:20 before training the model. To enhance important image features, image preprocessing and augmentation were applied before feeding the image batches to the model.

Statistical analysis used: Performance of the model is evaluated through accuracy, precision, recall, and F1 score performance metrics. The results produced by the model are also compared with other recent leading studies.

Results: The proposed model has achieved a classification accuracy of 98% with 98% precision, 96% recall, and 97% F1 score on the test dataset for multiclass classification. The area under receiver operating characteristic curve score was 0.99 for all three cases of multiclass classification.

Conclusions: The proposed classification model may be highly useful for the preliminary diagnosis of COVID-19 and viral pneumonia cases, especially during heavy workloads and large quantities.

Keywords: COVID-19; Chest X-ray; convolutional neural network; deep learning; transfer learning; viral pneumonia.

Associated data

  • figshare/10.6084/m9.figshare.12580328