| Literature DB >> 35647557 |
Priyanka Saha1, Sarmistha Neogy1.
Abstract
COVID-19 is creating havoc on the lives of human beings all around the world. It continues to affect the normal lives of people. As number of cases are high, a cost effective and fast system is required to detect COVID-19 at appropriate time to provide the necessary healthcare. Chest X-rays have emerged as an easiest way to detect COVID-19 in no time as RT-PCR takes time to detect the infection. In this paper we propose a concatenation-based CNN model that will detect COVID-19 from chest X-rays. We have developed a multiclass classification problem which can detect and classify a chest X-ray image as either COVID + ve, or viral pneumonia, or normal. We have used chest X-rays collected from different open sources. To maintain class balancing, we took 500 images of COVID, 500 normal images, and 500 pneumonia images. We divided our dataset in training, validation, and test set in 70:10:20 ratio respectively. We used four CNNs as feature extractors from the images and concatenated their feature maps to get better efficiency of the network. After training our model for 5 folds, we have obtained around 96.31% accuracy, 95.8% precision, 92.99% recall, and 98.02% AUC. We have compared our work with state-of-the-art pretrained transfer learning algorithms and other state-of-the-art CNN models referred in different research papers. The proposed model (Concat_CNN) exhibits better accuracy than the state-of-the-art models. We hope our proposed model will help to classify chest X-rays effectively and help medical professionals with their treatment.Entities:
Keywords: AUC; COVID-19; Chest X-ray; Classification; Convolution neural network; Deep learning; Image processing; Sensitivity; Specificity
Year: 2022 PMID: 35647557 PMCID: PMC9125955 DOI: 10.1007/s42979-022-01182-1
Source DB: PubMed Journal: SN Comput Sci ISSN: 2661-8907
Dataset description
| Type of images | No. of images |
|---|---|
| Healthy or normal (class 0) | 500 |
| COVID-19 (class 1) | 500 |
| Non-COVID-19 viral pneumonia (class 2) | 500 |
Image distribution for training, validation, and testing dataset
| Dataset | Healthy (class 0) | COVID + ve (Class 1) | Non-COVID viral pneumonia (class 2) | Total |
|---|---|---|---|---|
| Training | 360 | 360 | 360 | 1080 |
| Validation | 40 | 40 | 40 | 120 |
| Testing | 100 | 100 | 100 | 300 |
Fig. 1 Proposed Concat_CNN architecture
Details of all layers in feature extractor 1
| Layer | Filter size | Number of filters | Pool size | Stride | Padding | Dropout | Activation function |
|---|---|---|---|---|---|---|---|
| Conv2D | 3 × 3 | 32 | – | 1 | Same | – | Relu |
| Batch Normalization | – | – | – | – | – | – | – |
| Maxpooling2D | – | – | 2 × 2 | 2 | - | – | – |
| Dropout | – | – | – | – | – | 0.5 | – |
| Conv2D | 3 × 3 | 32 | – | 1 | Same | – | Relu |
| Batch Normalization | – | – | – | – | – | – | – |
| Maxpooling2D | – | – | 2 × 2 | 2 | – | – | – |
| Dropout | – | – | – | – | – | 0.5 | – |
| Flatten | – | – | – | – | – | – | – |
Details of all layers in feature extractor 2
| Layer | Filter size | Number of filters | Pool size | Stride | Padding | Dropout | Activation function |
|---|---|---|---|---|---|---|---|
| Conv2D | 3 × 3 | 64 | - | 1 | Same | – | Relu |
| Batch Normalization | – | – | – | – | – | – | – |
| Maxpooling2D | – | – | 2 × 2 | 2 | – | – | – |
| Dropout | – | – | – | – | – | 0.5 | – |
| Conv2D | 3 × 3 | 64 | - | 1 | Same | – | Relu |
| Batch Normalization | – | – | – | – | – | – | – |
| Maxpooling2D | – | – | 2 × 2 | 2 | – | – | – |
| Dropout | – | – | – | – | – | 0.5 | – |
| Flatten | – | – | – | – | – | – | – |
Details of all layers in feature extractor 3
| Layer | Filter size | Number of filters | Pool size | Stride | Padding | Dropout | Activation function |
|---|---|---|---|---|---|---|---|
| Conv2D | 3 × 3 | 32 | – | 1 | Same | – | Relu |
| Batch Normalization | – | – | – | – | – | – | – |
| Maxpooling2D | – | – | 2 × 2 | 2 | – | – | – |
| Dropout | – | – | – | – | – | 0.5 | – |
| Conv2D | 3 × 3 | 64 | – | 1 | Same | - | Relu |
| Batch Normalization | – | – | – | – | – | – | – |
| Maxpooling2D | – | – | 2 × 2 | 2 | – | – | – |
| Dropout | – | – | – | – | – | 0.5 | - |
| Flatten | – | – | – | – | – | – | – |
Details of all layers in feature extractor 4
| Layer | Filter size | Number of filters | Pool size | Stride | Padding | Dropout | Activation function |
|---|---|---|---|---|---|---|---|
| Conv2D | 3 × 3 | 32 | – | 1 | Same | – | Relu |
| Batch Normalization | – | – | – | – | – | – | – |
| Maxpooling2D | – | – | 2 × 2 | 2 | – | – | – |
| Dropout | – | – | – | – | – | 0.5 | - |
| Conv2D | 3 × 3 | 64 | – | 1 | Same | - | Relu |
| Batch Normalization | – | – | – | – | – | – | – |
| Maxpooling2D | – | – | 2 × 2 | 2 | – | – | – |
| Dropout | – | – | – | – | – | 0.5 | - |
| Flatten | – | – | – | – | – | – | – |
Summary of all performance comparison with transfer learning algorithms
| Fold no | Model | Accuracy | Precision | Recall | AUC |
|---|---|---|---|---|---|
| 1 | VGG16 | 87.22% | 89.55% | 90.74% | 91.38% |
| InceptionV3 | 78.55% | 89.73% | 90.12% | 92.34% | |
| Resnet50 | 80.11% | 82.97% | 87.99% | 88.80% | |
| DenseNet121 | 79.89% | 90.56% | 92.66% | 93.45% | |
| Proposed Approach | 93.44% | 91.69% | 88.33% | 96.56% | |
| 2 | VGG16 | 89.99% | 91.22% | 91.86% | 93.82% |
| InceptionV3 | 93.44% | 93.59% | 94.66% | 96.44% | |
| Resnet50 | 90.55% | 91.82% | 89.66% | 94.77% | |
| DenseNet121 | 96.88% | 94.88% | 92.08% | 95.67% | |
| Proposed Approach | 95.22% | 93.55% | 92.00% | 96.48% | |
| 3 | VGG16 | 94.17% | 95.58% | 92.00% | 94.10% |
| InceptionV3 | 94.11% | 95.89% | 94.89% | 95.54% | |
| Resnet50 | 95.33% | 96.86% | 92.45% | 95.09% | |
| DenseNet121 | 96.33% | 97.25% | 94.33% | 99.36% | |
| Proposed Approach | 97.22% | 97.57% | 93.99% | 95.8% | |
| 4 | VGG16 | 96.77% | 96.71% | 96.00% | 95.49% |
| InceptionV3 | 95.34% | 96.20% | 95.00% | 97.28% | |
| Resnet50 | 96.44% | 96.98% | 96.57% | 96.77% | |
| DenseNet121 | 96.54% | 95.45% | 95.78% | 98.68% | |
| Proposed Approach | 97.66% | 97.28% | 95.66% | 99.32% | |
| 5 | VGG16 | 96.77% | 97.67% | 96.85% | 99% |
| InceptionV3 | 96.88% | 96.00% | 94.07% | 98.56% | |
| Resnet50 | 97.24% | 97.48% | 95.00% | 97.11% | |
| DenseNet121 | 97.55% | 98.07% | 98.33% | 98.56% | |
| Proposed Approach | 98.00% | 98.95% | 94.99% | 99.15% | |
| Average | VGG16 | 92.98% | 94.14% | 93.43% | 94.75% |
| InceptionV3 | 91.66% | 94.28% | 93.78% | 96.03% | |
| Resnet50 | 91.93% | 93.22% | 92.33% | 94.50% | |
| DenseNet121 | 93.43% | 95.24% | 94.63% | 97.14% | |
| Proposed Approach | 96.31% | 95.8% | 92.99% | 98.02% |
Fig. 2Confusion Matrix of proposed Concat_CNN model for five folds
Fig. 3Accuracy, loss, recall, precision and AUC graphs for all 5 fold validation
Comparative study of COVID detection using chest X-ray images
| Author’s name | Dataset description | Model description | Training details | Accuracy | Precision | Recall |
|---|---|---|---|---|---|---|
| Tahmina Zebin [ | 802 CXR images | VGG16 (Augmentation) VGG16 (GAN Augmentation) ResNet50(GAN Augmentation) EfficientNetB0(GAN Augmented) | 80% training, 20% testing | 88%, 90%, 94.3% 96.8% | 93% | 90% |
| Abdullahi Umar Ibrahim [ | COVID-19—371 Viral pneumonia—4237, Bacterial Pneumonia—4237, Healthy—2882 | Pretrained AlexNet Model for two-way, three way and four-way classification | 70% for training, and 30% for testing | Average 95.5% around all classes | Average 93.11% around all classes | Average 96.56% around all classes |
| Mohammad Rahimzadeh [ | Normal—8851, pneumonia—6054, Covid—180 | A concatenation network of ResNet50V2 and Xception (fivefold cross validation) | – | Overall accuracy 91.4% in five folds | – | – |
| Amit Kumar Das [ | training images—771 (COVID—438, normal—333), testing images—118 (COVID—43, normal—75), validation—117 (COVID—57, normal—60) | An ensemble network of DenseNet201, ResNet50V2, InceptionV3 (fivefold cross validation) | – | Accuracy—91.62% | Average 95.09 for COVID + ve, average 88.33 for COVID − ve | |
| Liinda Wang [ | Total—13,975, COVID—5538, 8066 | COVIDNet | Train: test—50:1 | 93.03% | COVID + —91%, COVID − —94%Z | |
| Asif Iqbal Khan [ | Total—594, COVID—284, normal—310 | Proposed a new model CoroNet | – | 95.3% | 98.60% | 97.5% |