| Literature DB >> 32948098 |
Boran Sekeroglu1, Ilker Ozsahin2.
Abstract
The detection of severe acute respiratory syndrome coronavirus 2 (SARS CoV-2), which is responsible for coronavirus disease 2019 (COVID-19), using chest X-ray images has life-saving importance for both patients and doctors. In addition, in countries that are unable to purchase laboratory kits for testing, this becomes even more vital. In this study, we aimed to present the use of deep learning for the high-accuracy detection of COVID-19 using chest X-ray images. Publicly available X-ray images (1583 healthy, 4292 pneumonia, and 225 confirmed COVID-19) were used in the experiments, which involved the training of deep learning and machine learning classifiers. Thirty-eight experiments were performed using convolutional neural networks, 10 experiments were performed using five machine learning models, and 14 experiments were performed using the state-of-the-art pre-trained networks for transfer learning. Images and statistical data were considered separately in the experiments to evaluate the performances of models, and eightfold cross-validation was used. A mean sensitivity of 93.84%, mean specificity of 99.18%, mean accuracy of 98.50%, and mean receiver operating characteristics-area under the curve scores of 96.51% are achieved. A convolutional neural network without pre-processing and with minimized layers is capable of detecting COVID-19 in a limited number of, and in imbalanced, chest X-ray images.Entities:
Keywords: COVID-19; X-ray; convolutional neural networks; coronavirus; pneumonia
Year: 2020 PMID: 32948098 PMCID: PMC7502682 DOI: 10.1177/2472630320958376
Source DB: PubMed Journal: SLAS Technol ISSN: 2472-6303 Impact factor: 3.047
Architectural Properties of Four Considered ConvNets.
| Architecture Name | ConvNet Layer No. | Filters | Filter Size | Pooling and Size | Dropout | Activation |
|---|---|---|---|---|---|---|
| ConvNet#1 | ConvNet Layer 1 | 64 | 3×3 | Max-pooling 2×2 | 0.2 | ReLU |
| ConvNet Layer 2 | 16 | Max-pooling 1×1 | ||||
| ConvNet#2 | ConvNet Layer 1 | 128 | 3×3 | Max-pooling 2×2 | 0.2 | ReLU |
| ConvNet Layer 2 | 64 | |||||
| ConvNet Layer 3 | 32 | Max-pooling 1×1 | ||||
| ConvNet#3 | ConvNet Layer 1 | 256 | 3×3 | Max-pooling 2×2 | 0.2 | ReLU |
| ConvNet Layer 2 | 128 | |||||
| ConvNet Layer 3 | 64 | Max-pooling 1×1 | ||||
| ConvNet#4 | ConvNet Layer 1 | 256 | 3×3 | Max-pooling 2×2 | 0.2 | ReLU |
| ConvNet Layer 2 | 128 | |||||
| ConvNet Layer 3 | 128 | |||||
| ConvNet Layer 4 | 64 | Max-pooling 1×1 |
ConvNet: Convolutional neural network; ReLU: rectified linear unit.
ConvNet Experiments and General Properties.
| Experiment No. | ConvNet Architecture | Input Dimension | Pre-Processing | Dense Layer #1 | Dense Layer #2 | Dense Layer #3 |
|---|---|---|---|---|---|---|
| Exp.1 | ConvNet#1 | 160×120 | Sharpening | 128 | 8 | — |
| Exp.2 | ConvNet#2 | 160×120 | Sharpening | 128 | 8 | — |
| Exp.3 | ConvNet#3 | 160×120 | Sharpening | 128 | 8 | — |
| Exp.4 | ConvNet#4 | 160×120 | Sharpening | 128 | 64 | 8 |
| Exp.5 | ConvNet#1 | 30×20 | Sharpening | 128 | 8 | — |
| Exp.6 | ConvNet#2 | 30×20 | Sharpening | 128 | 8 | — |
| Exp.7 | ConvNet#3 | 30×20 | Sharpening | 128 | 8 | — |
| Exp.8 | ConvNet#1 | 30×20 | APPN | 128 | 8 | — |
| Exp.9 | ConvNet#2 | 30×20 | APPN | 128 | 8 | — |
| Exp.10 | ConvNet#3 | 30×20 | APPN | 128 | 8 | — |
| Exp.11 | ConvNet#1 | 160×120 | — | 128 | 8 | — |
| Exp.12 | ConvNet#2 | 160×120 | — | 128 | 8 | — |
| Exp.13 | ConvNet#3 | 160×120 | — | 128 | 8 | — |
| Exp.14 | ConvNet#4 | 160×120 | — | 128 | 64 | 8 |
| Exp.15 | ConvNet#1 | 30×20 | — | 128 | 8 | — |
| Exp.16 | ConvNet#2 | 30×20 | — | 128 | 8 | — |
| Exp.17 | ConvNet#3 | 30×20 | — | 128 | 8 | — |
APPN: Average pixel per node; ConvNet: convolutional neural network.
Figure 1.Pre-process of X-ray images. (a) Original chest X-ray image, (b) sharpened image using a Laplacian filter, and (c) average pixel per node (APPN)-applied image (10× enlarged).
Description of Feature Vectors Created from X-Ray Images.
| Attribute | Description |
|---|---|
| Lower | Total number of pixel values smaller than [max(p)/2] |
| Higher | Total number of pixel values greater than [max(p)/2] |
| LMean | Mean of the left segment of image |
| CMean | Mean of the center segment of image |
| RMean | Mean of the right segment of image |
| MeanLP | Mean of the Laplacian filter |
| MeanSh | Mean of the sharpened image |
| MeanHE | Mean of the histogram equalization applied image |
| Min | Minimum pixel value within the image |
| Max | Maximum pixel value within the image |
| Entropy | Entropy of the image |
| StdDev | Standard deviation of the image |
| Var | Variance of the image |
| Mode | Pixel value that is the most frequent within the image |
Results Obtained for COVID-19/Normal and COVID-19/Pneumonia Classification.
| Experiment | COVID-19/Normal | COVID-19/Pneumonia | ||||||
|---|---|---|---|---|---|---|---|---|
| Mean Sensitivity (%) | Mean Specificity (%) | Mean Accuracy (%) | Mean ROC AUC (%) | Mean Sensitivity (%) | Mean Specificity (%) | Mean Accuracy (%) | Mean ROC AUC (%) | |
| Exp.1 | 91.05 | 99.61 | 98.33 | 95.33 | 89.77 | 99.58 | 99.09 | 94.67 |
| Exp.2 | 87.55 | 99.32 | 97.05 | 92.70 | 88.00 | 99.60 | 99.02 | 93.80 |
| Exp.3 | 90.98 | 99.37 | 98.34 | 95.17 | 89.33 | 99.51 | 99.00 | 94.42 |
| Exp.4 | 86.63 | 99.60 | 98.05 | 92.00 | 85.33 | 99.67 | 98.95 | 92.50 |
| Exp.5 | 90.12 | 98.42 | 97.40 | 94.27 | 87.55 | 99.51 | 98.91 | 93.53 |
| Exp.6 | 86.88 | 98.05 | 96.78 | 93.66 | 85.33 | 99.44 | 98.73 | 92.38 |
| Exp.7 | 89.19 | 99.23 | 98.00 | 94.21 | 84.88 | 99.32 | 98.60 | 92.00 |
| Exp.8 | 91.84 | 98.98 | 98.23 | 95.41 | 84.44 | 99.62 | 98.87 | 92.03 |
| Exp.9 | 87.33 | 98.97 | 97.13 | 93.69 | 85.33 | 99.37 | 98.67 | 92.35 |
| Exp.10 | 88.67 | 99.29 | 97.95 | 93.98 | 88.00 | 99.51 | 98.93 | 93.75 |
| Exp.11 | 93.84 | 99.18 | 98.50 | 92.88 | 99.79 | 99.44 | ||
| Exp.12 | 88.37 | 99.57 | 98.91 | 93.89 | 87.11 | 99.62 | 99.00 | 93.36 |
| Exp.13 | 87.88 | 98.98 | 97.73 | 93.43 | 87.11 | 99.62 | 99.00 | 93.36 |
| Exp.14 | 89.12 | 99.78 | 99.11 | 94.57 | 85.77 | 99.18 | 98.51 | 92.48 |
| Exp.15 | 90.10 | 99.50 | 98.34 | 94.80 | 90.22 | 99.67 | 99.20 | 94.94 |
| Exp.16 | 84.11 | 98.80 | 97.64 | 91.01 | 86.22 | 99.60 | 98.93 | 92.91 |
| Exp.17 | 87.71 | 99.11 | 97.73 | 93.41 | 86.22 | 99.48 | 98.82 | 92.85 |
COVID-19: Coronavirus disease 2019; ROC AUC: receiver operating characteristics–area under the curve.
Results Obtained for COVID-19/Pneumonia/Normal Classification.
| Model | Mean Precision (%) | Mean Recall (%) | Mean Accuracy (%) | Macro-Averaged F1 Score (%) | ||||
|---|---|---|---|---|---|---|---|---|
| Corona | Normal | Pneumonia | Corona | Normal | Pneumonia | |||
| DenseNet121 | 98.87 | 90.90 | 88.52 | 95.66 | 97.20 | 92.03 | 95.99 | 93.85 |
| Inception V3 | 97.76 | 90.99 | 86.54 | 95.99 | 96.54 | 91.16 | 94.90 | 93.14 |
| ConvNet#1 | 96.20 | 93.72 | 92.98 | 97.45 | 86.22 | 90.63 | 95.26 | 92.84 |
| ConvNet#2 | 96.77 | 95.27 | 93.05 | 97.41 | 90.04 | 92.12 | 95.75 | |
| ConvNet#3 | 96.26 | 93.15 | 92.26 | 96.98 | 86.79 | 90.88 | 95.04 | 92.70 |
| ConvNet#4 | 97.51 | 91.42 | 92.32 | 96.90 | 92.69 | 93.49 | 95.88 | 94.04 |
ConvNet: Convolutional neural network; COVID-19: coronavirus disease 2019.
Results Obtained in Statistical Measurement Experiments.
| Experiment | COVID-19/Normal | COVID-19/Pneumonia | ||||||
|---|---|---|---|---|---|---|---|---|
| Mean Sensitivity (%) | Mean Specificity (%) | Mean Accuracy (%) | Mean ROC AUC (%) | Mean Sensitivity (%) | Mean Specificity (%) | Mean Accuracy (%) | Mean ROC AUC (%) | |
| SVM | 81.30 | 98.80 | 96.57 | 90.05 | 75.55 | 97.85 | 96.74 | 86.70 |
| Logistic Reg. | 68.36 | 98.12 | 94.41 | 83.24 | 66.66 | 96.45 | 94.97 | 81.56 |
| Decision Tree | 75.91 | 96.53 | 93.97 | 87.10 | 69.77 | 96.50 | 95.17 | 83.14 |
| Naive Bayes | 82.95 | 94.05 | 93.97 | 80.00 | 97.85 | 96.96 | ||
| kNN | 63.10 | 99.55 | 95.02 | 81.33 | 64.44 | 96.22 | 94.64 | 80.33 |
COVID-19: Coronavirus disease 2019; kNN: k-nearest neighbor; ROC AUC: receiver operating characteristics–area under the curve (AUC); SVM: support vector machine.
Results Obtained in Transfer Learning Experiments for COVID-19/Normal and COVID-19/Pneumonia Classification.
| Exp. | COVID-19/Normal | COVID-19/Pneumonia | ||||||
|---|---|---|---|---|---|---|---|---|
| Mean Sensitivity (%) | Mean Specificity (%) | Mean Accuracy (%) | Mean ROC AUC (%) | Mean Sensitivity (%) | Mean Specificity (%) | Mean Accuracy (%) | Mean ROC AUC (%) | |
| VGG16 | 46.04 | 99.24 | 92.64 | 72.64 | 77.33 | 99.65 | 98.53 | 88.49 |
| VGG19 | 08.03 | 100.0 | 88.55 | 54.01 | 70.66 | 99.48 | 98.05 | 85.07 |
| InceptionV3 | 90.14 | 99.17 | 98.17 | 94.66 | 89.77 | 99.65 | 99.15 | 94.71 |
| MobileNet-V2 | 08.40 | 100.0 | 87.61 | 54.20 | 68.88 | 99.39 | 97.87 | 84.14 |
| ResNet50 | 31.57 | 100.0 | 91.15 | 65.78 | 59.55 | 100.0 | 97.98 | 79.77 |
| DenseNet121 | 93.92 | 99.04 | 98.39 | 92.44 | 99.46 | 99.11 | ||
COVID-19: Coronavirus disease 2019; ROC AUC: receiver operating characteristics–area under the curve (AUC).
TP, FP, TN, and FN results for Exp.11 and Densenet121 for all test folds.
| COVID-19/Normal | ||||
|---|---|---|---|---|
| Experiment | TP | FP | TN | FN |
| Exp.11 | 15 | 1568 | 14 | |
| Densenet121 | 209 | 14 | ||
COVID-19: Coronavirus disease 2019; FN: false negative; FP: false positive; TN: true negative; TP: true positive.
Figure 2.Convolutional neural network 1 (ConvNet#1) architecture with two convolutional and two fully connected layers.
Figure 3.Highest ROC AUC scores obtained in the COVID-19/Normal and COVID-19/Pneumonia experiments. COVID-19: Coronavirus disease 2019; ROC AUC: receiver operating characteristics–area under the curve.
Figure 4.Macro-averaged F1 scores of the COVID-19/Normal/Pneumonia experiments. COVID-19: Coronavirus disease 2019.