| Literature DB >> 34177133 |
Domingos Alves Dias Júnior1, Luana Batista da Cruz1, João Otávio Bandeira Diniz1,2, Giovanni Lucca França da Silva1, Geraldo Braz Junior1, Aristófanes Corrêa Silva1, Anselmo Cardoso de Paiva1, Rodolfo Acatauassú Nunes3, Marcelo Gattass4.
Abstract
The COVID-19 pandemic, which originated in December 2019 in the city of Wuhan, China, continues to have a devastating effect on the health and well-being of the global population. Currently, approximately 8.8 million people have already been infected and more than 465,740 people have died worldwide. An important step in combating COVID-19 is the screening of infected patients using chest X-ray (CXR) images. However, this task is extremely time-consuming and prone to variability among specialists owing to its heterogeneity. Therefore, the present study aims to assist specialists in identifying COVID-19 patients from their chest radiographs, using automated computational techniques. The proposed method has four main steps: (1) the acquisition of the dataset, from two public databases; (2) the standardization of images through preprocessing; (3) the extraction of features using a deep features-based approach implemented through the networks VGG19, Inception-v3, and ResNet50; (4) the classifying of images into COVID-19 groups, using eXtreme Gradient Boosting (XGBoost) optimized by particle swarm optimization (PSO). In the best-case scenario, the proposed method achieved an accuracy of 98.71%, a precision of 98.89%, a recall of 99.63%, and an F1-score of 99.25%. In our study, we demonstrated that the problem of classifying CXR images of patients under COVID-19 and non-COVID-19 conditions can be solved efficiently by combining a deep features-based approach with a robust classifier (XGBoost) optimized by an evolutionary algorithm (PSO). The proposed method offers considerable advantages for clinicians seeking to tackle the current COVID-19 pandemic.Entities:
Keywords: COVID-19; Chest X-Rays; Deep features; Extreme gradient boosting; Medical images; Particle swarm optimization
Year: 2021 PMID: 34177133 PMCID: PMC8218245 DOI: 10.1016/j.eswa.2021.115452
Source DB: PubMed Journal: Expert Syst Appl ISSN: 0957-4174 Impact factor: 6.954
Fig. 1Flowchart of the method.
Fig. 2Dataset information: (a) CXR images of patients exhibiting normal conditions; (b) CXR images of patients diagnosed with COVID-19.
Fig. 3Preprocessing: (a) input image; (b) color space in grayscale; (c) proportionally resized and centered.
Fig. 4CNN Architecture.
Relationship between individuals used for training and testing in each fold.
| Dataset | Proportion | Normal | COVID-19 | Total Sample |
|---|---|---|---|---|
| Train | 80% | 1071 | 165 | 1236 |
| Test | 20% | 270 | 41 | 311 |
| Total | 100% | 1341 | 206 | 1547 |
Summation fivefold confusion matrix.
| True Positive | True Negative | |
|---|---|---|
| Predicted Positive | 1335 | 15 |
| Predicted Negative | 5 | 200 |
XGBoost parameters: default and with PSO.
| Parameters | Deep Features | Time (sec) | Max depth | Colsample by tree | Min child weight | Gamma | Learning rate |
|---|---|---|---|---|---|---|---|
| Default | —- | 434 | 6 | 1 | 1 | 0 | 0.3 |
| XGBoost + PSO | VGG19 | 732 | 8 | 0.381 | 7 | 0.352 | 0.408 |
| Inception-v3 | 811 | 5 | 0.769 | 7 | 0.917 | 0.519 | |
| ResNet50 | 698 | 9 | 0.178 | 5 | 0.179 | 0.488 |
Classification of COVID-19 Chest X-ray images: XGBoost with PSO and without.
| Optmization | Deep Features | Time(sec) | Acc(%) | Pre(%) | Rec(%) | F1(%) |
|---|---|---|---|---|---|---|
| Only XGBoost | VGG19 | 340 | ||||
| Inception-v3 | 530 | |||||
| ResNet50 | 432 | |||||
| XGBoost + PSO | VGG19 | 732 | ||||
| Inception-v3 | 811 | |||||
| ResNet50 | 698 |
XGBoost parameters optimized with GA, BCO, and PSO.
| Parameters | Deep Features | Max depth | Colsample by tree | Min child weight | Gamma | Learning rate |
|---|---|---|---|---|---|---|
| XGBoost + GA | VGG19 | 3 | 1 | 8 | 0.402 | 0.950 |
| Inception-v3 | 7 | 1 | 2 | 0.679 | 0.318 | |
| ResNet50 | 2 | 0.126 | 1 | 0.198 | 0.089 | |
| XGBoost + BCO | VGG19 | 8 | 0.807 | 3 | 0.207 | 1 |
| Inception-v3 | 3 | 0.644 | 3 | 0.138 | 0.215 | |
| ResNet50 | 8 | 0.169 | 2 | 0.285 | 0.485 | |
| XGBoost + PSO | VGG19 | 8 | 0.381 | 7 | 0.352 | 0.408 |
| Inception-v3 | 5 | 0.769 | 7 | 0.917 | 0.519 | |
| ResNet50 | 9 | 0.178 | 5 | 0.179 | 0.488 |
Comparison of XGBoost optimized with GA, BCO, and PSO.
| Optimization | Extraction | Time(sec) | Acc(%) | Pre(%) | Rec(%) | F1(%) |
|---|---|---|---|---|---|---|
| XGBoost + GA | VGG19 | 930 | ||||
| Inception-v3 | 1461 | |||||
| ResNet50 | 1076 | |||||
| XGBoost + ACO | VGG19 | 840 | ||||
| Inception-v3 | 937 | |||||
| ResNet50 | 726 | |||||
| XGBoost + PSO | VGG19 | 732 | ||||
| Inception-v3 | 811 | |||||
| ResNet50 | 698 |
Classification of COVID-19 chest X-ray images: traditional texture features vs. Deep Features.
| Extraction | Features | Time(sec) | Acc(%) | Pre(%) | Rec(%) | F1(%) |
|---|---|---|---|---|---|---|
| Traditional Texture | Hu moments ( | 332 | ||||
| Haralick ( | 357 | |||||
| LBP ( | 491 | |||||
| XGBoost + PSO | VGG19 | 732 | ||||
| Inception-v3 | 811 | |||||
| ResNet50 | 698 |
Classification of COVID-19 chest X-ray images: other classifiers vs. XGBoost.
| Classifiers | Deep Features | Time(sec) | Acc(%) | Pre(%) | Rec(%) | F1(%) | |
|---|---|---|---|---|---|---|---|
| Random Forest | VGG19 | 371 | |||||
| Inception-v3 | 556 | ||||||
| ResNet50 | 461 | ||||||
| Logistic Regression | VGG19 | 332 | |||||
| Inception-v3 | 499 | ||||||
| ResNet50 | 416 | ||||||
| XGBoost + PSO | VGG19 | 732 | |||||
| Inception-v3 | 811 | ||||||
| ResNet50 | 698 |
Classification of COVID-19 chest X-ray images: deep learning vs. XGBoost + PSO.
| Methods | Deep Features | Time(sec) | Acc(%) | Pre(%) | Rec(%) | F1(%) | |
|---|---|---|---|---|---|---|---|
| Deep Learning | VGG19 | 3300 | 89.94 | 89.87 | 99.59 | 94.5 | |
| Inception-v3 | 7250 | 91.23 | 91.10 | 99.59 | 95.17 | ||
| ResNet50 | 4150 | 94.47 | 94.00 | 99.96 | 96.91 | ||
| XGBoost + PSO | VGG19 | 732 | |||||
| Inception-v3 | 811 | ||||||
| ResNet50 | 698 |
Fig. 5Activation map for images of patients (a) under normal conditions and (b) affected by COVID-19..
Fig. 6Patient affected by COVID-19, wrongly classified by the method.
Fig. 7Patient affected by COVID-19 but seemingly normal, classified correctly by the method.
Fig. 8Patient affected by COVID-19, classified correctly by the method.
Fig. 9Normal patient, classified incorrectly by the method.
Fig. 10Normal patient, classified correctly by the method.
Proposed Method vs. Bacterial Pneumonia.
| Quantity | Percentage(%) | |
|---|---|---|
| Wrongly classified as COVID-19 | 328 | 13 |
| Correctly classified as non-COVID-19 | 2,202 | 87 |
| Total | 2,530 | 100 |
Fig. 11Activation map for images of patients (a) correctly classified as non-COVID-19 and (b) wrongly classified as COVID-19..
Proposed Method vs. Viral Pneumonia.
| Quantity | Percentage(%) | |
|---|---|---|
| Wrongly classified as COVID-19 | 168 | 12 |
| Correctly classified as non-COVID-19 | 1,177 | 88 |
| Total | 1,345 | 100 |
Fig. 12Activation map for images of patients (a) correctly classified as non-COVID-19 and (b) wrongly classified as COVID-19..
Comparison with related works.
| Work | Deep Architecture | Acc(%) | Prec(%) | Rec(%) | F1(%) |
|---|---|---|---|---|---|
| ResNet50 | 98 | - | - | - | |
| VGG19 | 98.75 | - | 92.85 | - | |
| VGG19 and DenseNet201 | 90 | - | - | - | |
| ResNet | 96 | - | - | - | |
| Inception-v3 and texture descriptors | - | - | - | 89 | |
| DarkCovidNet | 98.08c | - | - | - | |
| ResNet50 and SVM | 95.38 | - | - | 91.41 | |
| Xception and ResNet50V2 | 99.50 | 35.27 | 80.53 | - | |
| Proposed Method | VGG19 | ||||
| Inception-v3 | |||||
| ResNet50 |