Literature DB >> 34899109

Fully automatic deep convolutional approaches for the analysis of COVID-19 using chest X-ray images.

Joaquim de Moura1,2, Jorge Novo1,2, Marcos Ortega1,2.   

Abstract

Covid-19 is a new infectious disease caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). Given the seriousness of the situation, the World Health Organization declared a global pandemic as the Covid-19 rapidly around the world. Among its applications, chest X-ray images are frequently used for an early diagnostic/screening of Covid-19 disease, given the frequent pulmonary impact in the patients, critical issue to prevent further complications caused by this highly infectious disease. In this work, we propose 4 fully automatic approaches for the classification of chest X-ray images under the analysis of 3 different categories: Covid-19, pneumonia and healthy cases. Given the similarity between the pathological impact in the lungs between Covid-19 and pneumonia, mainly during the initial stages of both lung diseases, we performed an exhaustive study of differentiation considering different pathological scenarios. To address these classification tasks, we evaluated 6 representative state-of-the-art deep network architectures on 3 different public datasets: (I) Chest X-ray dataset of the Radiological Society of North America (RSNA); (II) Covid-19 Image Data Collection; (III) SIRM dataset of the Italian Society of Medical Radiology. To validate the designed approaches, several representative experiments were performed using 6,070 chest X-ray radiographs. In general, satisfactory results were obtained from the designed approaches, reaching a global accuracy values of 0.9706 ± 0.0044, 0.9839 ± 0.0102, 0.9744 ± 0.0104 and 0.9744 ± 0.0104, respectively, thus helping the work of clinicians in the diagnosis and consequently in the early treatment of this relevant pandemic pathology.
© 2021 The Authors.

Entities:  

Keywords:  Computer-aided diagnosis; Covid-19; Deep learning; Pneumonia; Pulmonary disease detection; X-ray imaging

Year:  2021        PMID: 34899109      PMCID: PMC8645263          DOI: 10.1016/j.asoc.2021.108190

Source DB:  PubMed          Journal:  Appl Soft Comput        ISSN: 1568-4946            Impact factor:   6.725


Introduction

A new coronavirus SARS-CoV-2, which causes the disease commonly known as Covid-19, was first identified in Wuhan, Hubei province, China at the end of 2019 [1]. In particular, coronaviruses are a family of viruses known to contain strains capable of causing severe acute infections that typically affect the lower respiratory tract and manifests as pneumonia [2], and therefore, being potentially fatal in humans and a wide variety of animals, including birds and mammals such as camels, cats or bats [3], [4]. On 11 February 2020, the World Health Organization (WHO) declared the outbreak of Covid-19 as a pandemic, noting the more than 118,000 cases of coronavirus disease reported in more than 110 countries, resulting in 4291 deaths worldwide [5] by that extremely early moment, numbers that were deeply worsened posteriorly. In particular, this disease, among its consequences, also manifests as relevant respiratory disease, being considered a serious public health problem because it can kill healthy adults, as well as older people with underlying health problems or other recognized risk factors, such as heart disease, lung disease, hypertension and diabetes, among others [6]. Furthermore, the Covid-19 virus is transmitted quite efficiently, since an infected person is capable of transmitting the virus to 2 or 3 other people, an exponential rate of increase [7]. Over the years, X-ray examination of the chest plays an important clinical role in detecting or monitoring the progression of different pulmonary diseases, such as emphysema, chronic bronchitis, pulmonary fibrosis, lung cancer or pneumonia, among others [8], [9], [10]. Today, given the severity of the coronavirus pandemic, radiologists are asked to prioritize chest X-rays of patients with suspected Covid-19 infection over any other imaging studies, allowing for more appropriate use of medical resources during the initial screening process and excluding other potential respiratory diseases, a process which is extremely tedious and time-consuming. In this context, the visibility of the Covid-19 infection in the chest X-ray is complicated and requires experience of the clinical expert to analyze and understand the information and differentiate the cases from other diseases of respiratory origin with similar characteristics such as pneumonia, as illustrated in Fig. 1. For that reason, a fully automatic system for the classification of chest X-ray images between healthy, pneumonia or specific Covid-19 cases is significantly helpful as it drastically reduces the workload of the clinical staff. Complementary, it may provides a more precise identification of this highly infectious disease, reducing the subjectivity of clinicians in the early screening process, and thus also reducing healthcare costs.
Fig. 1

Representative examples of chest X-ray images. 1st row, chest X-ray images from healthy patients. 2nd row, chest X-ray images from patients with pneumonia. 3rd row, chest X-ray images from patients with Covid-19.

Given the relevance of this topic, several approaches were recently proposed using chest X-ray images for the classification of Covid-19. As reference, Narin et al.  [11] proposed an approach based on deep transfer learning using chest X-ray images for the detection of patients infected with coronavirus pneumonia. In the work of Hassanien et al. [12], the authors proposed a methodology for the automatic X-ray Covid-19 lung classification using a multi-level threshold based on Otsu algorithm and support vector machine for the prediction task. In the work of Hammoudi et al. [13], the authors proposed a deep learning strategy to automatically detect if a chest X-ray image is healthy, pneumonia (bacterial or viral), assuming that a patient infected by the Covid-19, tested during an epidemic period, has a high probability of being a true positive when the result of the classification is a virus. In the work of Feki et al. [14], the authors proposed a collaborative federated learning framework allowing multiple medical institutions screening Covid-19 from Chest X-ray images using deep learning. Khattak et al. [15] proposed a deep learning approach based on the multilayer-Spatial Convolutional Neural Network for automatic detection of Covid-19 using chest X-ray images and Computed Tomography (CT) scans. Similarly, Saygili [16] proposed an approach for computer-aided detection of Covid-19 from CT and X-ray images using machine learning methods. In the work of Saiz et al. [17], the authors proposed a system to detect Covid-19 in chest X-ray images using deep learning techniques. Sait et al. [18] proposed a deep-learning based multimodal framework for Covid-19 detection using breathing sound spectrograms and chest X-ray images. Das et al. [19] proposed an automated deep learning-based approach for detection of Covid-19 in X-ray images by using the extreme version of the Inception (Xception) model. In the work of Singh et al. [20], the authors proposed a CNN architecture to classify Covid-19 patients using X-ray images. In addition, a multi-objective adaptive differential evolution (MADE) strategy was used for the hyperparameters of the CNN architecture. Ucar et al. [21] proposed a deep SqueezeNet-based strategy with Bayes optimization for Covid-19 screening in X-ray images. Wang et al.  [22] proposed a deep convolutional neural network, called COVID-Net, design tailored for the detection of Covid-19 cases from chest radiography images. Afshar et al. [23] proposed a Capsule Network-based framework, referred to as the COVID-CAPS, for diagnosis of Covid-19 from X-ray images. In the work of Chowdhury et al. [24], the authors proposed a strategy for automatic detection of Covid-19 pneumonia from chest X-rays using pre-trained models. Khan et al. [25] proposed a deep CNN model called CoroNet to automatically detect Covid-19 infection from chest X-ray images. Similarly, Sahinbas [26] proposed a deep approach for COVID-19 diagnosis, applying a deep CNN technique based on chest X-ray images of COVID-19 patients. Apostolopoulos et al.  [27] proposed a study on the possible extraction of representative biomarkers of Covid-19 from X-ray images using deep learning strategies. In the work of Zulkifley et al. [28], the authors proposed a lightweight deep learning model for Covid-19 screening that is suitable for the mobile platform. Representative examples of chest X-ray images. 1st row, chest X-ray images from healthy patients. 2nd row, chest X-ray images from patients with pneumonia. 3rd row, chest X-ray images from patients with Covid-19. Despite the satisfactory results obtained by these works, most of them only partially address this recent and relevant problem of global interest, limiting their practical utility for usage and interpretation for support in clinical decision scenarios such as emergency triage for example. Therefore, in order to provide a more complete methodology, we propose 4 complementary fully automatic approaches for the classification of Covid-19, pneumonia and healthy chest X-ray images. The proposed approaches allow to make predictions using complete chest X-ray images of arbitrary sizes, which is very relevant considering the great variability of X-ray devices currently available in health centers. For this purpose, we considered 6 representative deep network architectures, including DenseNet-121, DenseNet-161, ResNet-18, ResNet-34, VGG-16 and VGG-19. For each network architecture, we evaluate the separability among Covid-19, pneumonia and healthy chest X-ray images. All the proposed approaches are designed to distinguish Covid-19 not only from normal patients, but also to differentiate them from patients with lung conditions other than Covid-19. To validate our proposal, representative and comprehensive experiments were performed using chest X-ray images compiled from 3 different public image datasets. The manuscript is organized as follows: Section 2 describes the materials and methods that were used in this research work. Section 3 presents the results and validation of the proposed approaches. Section 4 includes the discussion of the experimental results. Finally, Section 5 presents the conclusions about the proposed systems as well as possible future lines of work in this enormous topic of interest. Representative scheme of the proposed methodology.

Materials and methods

A schematic representation of the proposed paradigm of the different approaches can be seen in Fig. 2. The proposed systems receive, as input, a chest X-ray radiography. During the acquisition procedure, the patient is exposed to a small dose of ionizing radiation to produce images of the interior of the chest. The technician will usually be behind a protected wall or in an adjacent room to activate the X-ray machine. The proposed system then uses advanced artificial intelligence techniques to classify chest X-ray images into 3 different clinical categories: healthy, pneumonia or Covid-19. As a result, the system provides useful clinical information for the initial screening process and for subsequent clinical analyses.
Fig. 2

Representative scheme of the proposed methodology.

Computational approaches for pathological X-ray image classification

Given the similarity between the pathological impact in the lungs between Covid-19 and common types of pneumonia, mainly during the initial stages of both lung diseases, we performed an exhaustive analysis of differentiation considering different pathological scenarios. In this line, we proposed 4 different and independent computational approaches for the classification of Covid-19, pneumonia and healthy chest X-ray radiographs. These computational approaches allow us to make complementary predictions using complete chest X-ray images of arbitrary sizes, which is very relevant considering the great variability of X-ray devices currently available in health centers. Each of these approaches is explained in more detail below:

1st approach. Healthy vs Pneumonia, tested with Covid-19

Using as reference a consolidated public image dataset for the identification of pneumonia subjects with a considerable amount of image samples [29], we firstly used, as baseline, a trained model for the differentiation of healthy and pneumonia chest X-ray images taking advantage of this large amount of available information. Subsequently, we tested the potential of this approach to classify chest X-ray radiographs of patients diagnosed with Covid-19 and measure their similarity with both situations. In this way, we can analyze the percentage of chest X-ray images of patients with Covid-19 that may be classified as pneumonia, giver their relation in the pathological pulmonary impact.

2nd approach, Healthy vs Pneumonia/Covid-19

Given the pathological similarity between pneumonia and Covid-19 subjects, subsequently we designed an screening process that analyzes the degree of separability between healthy and pathological chest X-ray radiographs, considering these both pathological scenarios. In this sense, we include the chest X-ray images of patients diagnosed with pneumonia or Covid-19 under the same class in a training of the model to predict 2 different categories: pathological and healthy cases.

3rd approach, Healthy/Pneumonia vs Covid-19

Additionally, we adapted and trained a model to specifically identify Covid-19 subjects, measuring the capability of differentiation not only from healthy subjects, but also from those pathological cases with a significant similarity, as patients suffering from pneumonia. With this in mind, our system was designed to identify two different classes, including healthy and patients with pneumonia in the same category.

4th Approach, Healthy vs Pneumonia vs Covid-19

Finally, we designed another approach to simultaneously determine the degree of separability between the 3 categories of chest X-ray images considered in this work. To this end, we trained a model with a set of chest X-ray radiographs of the 3 different classes: healthy subjects, patients diagnosed with pneumonia, patients diagnosed with Covid-19.

Network architectures

The use of deep learning architectures has been rapidly increasing in the field of medical imaging, including computer-aided diagnosis system and medical image analysis for more accurate screening, diagnosis, prognosis and treatment of many relevant diseases [30], [31]. In this context, the present study analyzes the performance of 6 different deep network architectures such as: 2 Dense Convolutional Network Architectures (a DenseNet-121 and a DenseNet-161) [32], 2 Residual Network Architectures (a ResNet-18 and a ResNet-34) [33] as well as 2 VGG network architectures (a VGG-16 and a VGG-19, both with batch normalization) [34]. These architectures were chosen for their simplicity and adequate results for many similar classification tasks in different lung diseases [35], [36], [37]. In addition, these architectures have proven to be superior in both accuracy and predictive efficiency compared to classical machine learning techniques [38]. For each network architecture, we evaluate the separability among Covid-19, pneumonia and healthy chest X-ray images. All network architectures were initialized with the weights of a model pre-trained on ImageNet [39] dataset. On one hand, we benefit from the pre-trained model weights making the learning process much more efficient, in other words, the model converges fast given that his weights are already stabilized initially. On the other hand, it significantly reduces the amount of labeled data that is required for the model training. In addition, we have adapted the classification layer of each deep network architecture used to support the output according to the specific requirements of each proposed approach, which is to categorize the chest X-ray images into 2 or 3 different clinical classes considering healthy, pneumonia and Covid-19.

Training

Regarding the training stage of the different approaches, considering the limited amount of Covid-19 subjects, we decided that the employed chest X-ray radiographs dataset was randomly divided into 3 smaller datasets, specifically with 60% of the cases for training, 20% for validation and the remaining 20% for testing. Additionally, the classification step was performed with 5 repetitions, being calculated the mean cross-entropy loss [40] and the mean accuracy to illustrate the general performance and stability of the proposed approaches. All the architectures were trained using Stochastic Gradient Descent (SGD) with a constant learning rate of 0.01, a mini-batch size of 4 and a first-order momentum of 0.9. In particular, SGD is a simple but highly efficient approach for the discriminative learning of classifiers under convex loss functions [41].

Data augmentation

Data augmentation is a widely used strategy that enables practitioners to significantly increase the diversity of data available for training models, reducing the overfitting and making the models more robust [42], [43]. This is especially significant in our case, given the limited amount of positive Covid-19 cases that were used in the different approaches. For this purpose, we applied different configurations of affine transformations only on the training set to increase the training data and improve the performance of the neural network architectures that was used to classify chest X-rays images. In particular, we automatically generate additional training samples through a combination of scaling with horizontal flipping operations, considering the common variety of possible resolutions as well as the symmetry of the human body.

Dataset

The training and evaluation of the deep convolutional models were performed with chest X-ray radiographs that were taken from 3 different chest X-ray public datasets of reference: the Chest X-ray (Pneumonia) dataset [29], the (Covid-19) Image Data Collection dataset [44] and the (Covid-19) SIRM dataset [45]. The Chest X-ray (Pneumonia) dataset of the Radiological Society of North America (RSNA) [29] is composed by of 5863 chest X-ray radiographs. This public dataset was labeled into 2 main categories: healthy patients and patients with different types of pneumonia (viral and bacterial) presenting, therefore, a high level of heterogeneity. Currently, public chest X-ray datasets of patients diagnosed with Covid-19 are very limited. Despite this important restriction, we have built a dataset composed of 207 radiographs, 155 were taken from (Covid-19) Image Data Collection dataset [44] and 52 were taken from the (Covid-19) SIRM dataset of the Italian Society of Medical Radiology [45].

Evaluation

In order to test its suitability, the designed paradigm of the different approaches was validated using different statistical metrics commonly used in the literature to measure the performance of computational proposals in similar medical imaging tasks. Accordingly, Precision, Recall, F1-score and Accuracy were calculated for the quantitative validation of the classification results. In particular the first three metrics are calculated for each one of the considered classes in the different experiments are they are more meaningful in that way. Mathematically, these statistical metrics are formulated as indicated in Eqs. (1), (2), (3), (4), respectively. These performance measures use as reference the True Negatives (TN), False Negatives (FN), True Positives (TP) and False Positives (FP):

Experimental results

To evaluate the suitability of the different proposed approaches in the pathological classification related to Covid-19 in chest X-ray images, we conducted different complementary experiments, taking as reference the available datasets. In particular, for each experiment, we performed 5 independent repetitions, each time with a different random selection of the samples splits, specifically with 60% of the cases for training, 20% for validation and the remaining 20% for testing. Additionally, the training stage was stopped after 200 epochs given the lack of significant further improvement in both accuracy and cross-entropy loss results.

1st experiment: Healthy vs Pneumonia, tested with Covid-19

Given the availability of a public image dataset of reference with a significant number of healthy and pneumonia chest X-ray images [29], we trained a model to obtain a consolidated approach to distinguish between healthy patients and different pathological cases of pneumonia. In this line, we designed an experiment with a total of 5856 X-ray images, being 1583 from healthy patients and 4273 from patients with pneumonia. Fig. 3(a) and Fig. 3(b) show the performance that was obtained using the deep learning architectures after, as previously indicated, 5 independent repetitions in the training and validation stages, respectively. Furthermore, in Fig. 3(c) and (d) we can observe that the models converge rapidly in the training and validation steps in terms of the loss cross-entropy function, demonstrating in all the cases an adequate behavior.
Fig. 3

Results of the first experiment after 5 independent repetitions. (a) Mean standard deviation training accuracy. (b) Mean standard deviation validation accuracy. (c) Mean standard deviation training loss. (d) Mean standard deviation validation loss. A logarithmic scale has been set to correctly display the loss values for a better understanding of the results.

In Table 1, we can see the precision, recall and F1-score results obtained at the test stage, providing a mean accuracy values: a 0.9529 ± 0.0185 for the DenseNet-121, a 0.9648 ± 0.0033 for the DenseNet-161, a 0.9636 ± 0.0065 for the ResNet-18, a 0.9631 ± 0.0041 for the ResNet-34, a 0.9706 ± 0.0044 for the VGG-16 and a 0.9660 ± 0.0054 for the VGG-19. In general, all the results that were obtained show the robustness of the proposed system in the classification of the different pathological cases of pneumonia and healthy patients. In particular, the VGG-16 architecture obtained slightly higher values than those obtained with the other analyzed architectures.
Table 1

Mean precision, recall and F1-score results obtained at the test stage for the classification of chest X-ray images between Healthy vs Pneumonia cases.

ArchitectureClassPrecisionRecallF1-score
DenseNet-121Healthy0.9156 ± 0.06430.9153 ± 0.01390.9142 ± 0.0298
Pneumonia0.9684 ± 0.00500.9670 ± 0,02910.9675 ± 0,0134

DenseNet-161Healthy0.9456 ± 0.01930.9257 ± 0.01460.9353 ± 0.0057
Pneumonia0.9720 ± 0.00590.9798 ± 0.00740.9759 ± 0.0024

ResNet-18Healthy0.9377 ± 0.01370.9271 ± 0.02080.9322 ± 0.0103
Pneumonia0.9730 ± 0.00900.9774 ± 0.00500.9752 ± 0.0047

ResNet-34Healthy0.9401 ± 0.02080.9243 ± 0.01240.9319 ± 0.0078
Pneumonia0.9718 ± 0.00400.9777 ± 0.00850.9747 ± 0.0030

VGG-16Healthy0.9479 ± 0.01410.9426 ± 0.02480.9449 ± 0.0070
Pneumonia0.9789 ± 0.01010.9812 ± 0.00510.9800 ± 0.0032

VGG-19Healthy0.9396 ± 0.01620.9380 ± 0.00890.9387 ± 0.0117
Pneumonia0.9761 ± 0.00290.9769 ± 0.00530.9765 ± 0.0036
Results of the first experiment after 5 independent repetitions. (a) Mean standard deviation training accuracy. (b) Mean standard deviation validation accuracy. (c) Mean standard deviation training loss. (d) Mean standard deviation validation loss. A logarithmic scale has been set to correctly display the loss values for a better understanding of the results. In addition to measure the capability of the adapted architecture to this pathological analysis, another relevant goal of this experimentation was to conduct a comprehensive analysis about the potential similarity of the Covid-19 subjects with pneumonia scenarios, that is, the percentage of chest X-ray images of patients with Covid-19 that are classified as pneumonia with the previously trained network. Mean precision, recall and F1-score results obtained at the test stage for the classification of chest X-ray images between Healthy vs Pneumonia cases. Thus, we extended the experiments of this case using an additional blind test dataset. In particular, this dataset consisted of the used 207 X-ray images of patients diagnosed with Covid-19. For this experiment, we analyzed the behavior of the trained models that obtained the best validation values among the 5 random repetitions for each deep learning architecture. As we can see in Table 2, the proposed system achieves satisfactory results in terms of precision, recall and F1-score, considering Covid-19 cases correctly classified as pneumonia in opposition to healthy cases. In this scenario, the system provided accuracy values of 71.50%, 71.98%, 74.88%, 80.19%, 75.36% and 78.74% for the DenseNet-121, DenseNet-161, ResNet-18, ResNet-34, VGG-16 and VGG-19, respectively, demonstrating that the system is capable of correctly screening X-ray images of Covid-19 patients in the pathological pneumonia category.
Table 2

Precision, recall and F1-score results obtained at the test stage for the classification of the chest X-ray images from Covid-19 patients between Healthy vs Pneumonia cases.

ArchitectureClassPrecisionRecallF1-score
DenseNet-121Healthy
Pneumonia1.00000.71500.8338

DenseNet-161Healthy
Pneumonia1.00000.71980.8371

ResNet-18Healthy
Pneumonia1.00000.74880.8564

ResNet-34Healthy
Pneumonia1.00000.80190.8901

VGG-16Healthy
Pneumonia1.00000.75360.8595

VGG-19Healthy
Pneumonia1.00000.78740.8811
Precision, recall and F1-score results obtained at the test stage for the classification of the chest X-ray images from Covid-19 patients between Healthy vs Pneumonia cases.

2nd experiment: Healthy vs Pneumonia/Covid-19

Under the results of the analysis of the first approach, we designed another scenario with a screening context including Covid-19 cases by separating the pathological pneumonia and Covid-19 subjects with respect to healthy images With this in mind, in this case, the designed experiment included a total of 1242 X-ray images, being 828 from healthy patients whereas 207+207 from Covid-19 and pneumonia patients, respectively. In this case, we randomly selected the 828 healthy images and the 207 pneumonia images from the total amount of the used image dataset [29]. Having the limiting factor of 207 Covid-19 images, we balanced the amount of the other cases to obtain a proportion of and between the negative and positive classes. Fig. 4(a) and (b) show the performance that was obtained from the training and validation stages using the proposed dataset through 5 independent repetitions. Moreover, as we can see in Fig. 4(c) and Fig. 4(d), the proposed approach reached stability in the cross-entropy loss function after the epoch 75 and after the epoch 50 for training and validation stages, respectively.
Fig. 4

Results of the second experiment after 5 independent repetitions. (a) Mean standard deviation training accuracy. (b) Mean standard deviation validation accuracy. (c) Mean standard deviation training loss. (d) Mean standard deviation validation loss. A logarithmic scale has been set to correctly display the loss values for a better understanding of the results.

Table 3 shows the performance measures obtained in the test stage, in terms of precision, recall and F1-score for each class. As we can see, satisfactory results were provided, reaching a mean accuracy values of 0.9807 ± 0.0121 for the DenseNet-121, a 0.9839 ± 0.0102 for the DenseNet-161, a 0.9694 ± 0.0119 for the ResNet-18, a 0.9807 ± 0.0043 for the ResNet-34, a 0.9783 ± 0.0078 for the VGG-16 and a 0.9694 ± 0.0119 for the VGG-19. The results that were obtained can be considered statistically equivalent for some architectures with values between 96.94% and 98.39%, demonstrating that this screening approach is capable of successfully separating the pathological cases under consideration from the healthy ones.
Table 3

Mean precision, recall and F1-score results obtained at the test stage for the classification of chest X-ray images between Healthy vs Pneumonia/Covid-19 cases.

ArchitectureClassPrecisionRecallF1-score
DenseNet-121Healthy0.9915 ± 0.00320.9794 ± 0.02070.9853 ± 0.0094
Pneumonia/Covid-190.9615 ± 0.03810.9833 ± 0.00620.9719 ± 0.0173

DenseNet-161Healthy0.9869 ± 0.01130.9891 ± 0.00500.9880 ± 0.0076
Pneumonia/Covid-190.9783 ± 0.01040.9734 ± 0.02350.9758 ± 0.0159

ResNet-18Healthy0.9806 ± 0.01200.9855 ± 0.00710.9830 ± 0.0082
Pneumonia/Covid-190.9706 ± 0.01410.9624 ± 0.02090.9663 ± 0.0130

ResNet-34Healthy0.9888 ± 0.00920.9821 ± 0.01160.9853 ± 0.0033
Pneumonia/Covid-190.9642 ± 0.02480.9798 ± 0.01610.9716 ± 0.0071

VGG-16Healthy0.9842 ± 0.00780.9831 ± 0.00450.9837 ± 0.0055
Pneumonia/Covid-190.9658 ± 0.01250.9688 ± 0.01710.9672 ± 0.0131

VGG-19Healthy0.9735 ± 0.00650.9806 ± 0.01310.9770 ± 0.0088
Pneumonia/Covid-190.9618 ± 0.02570.9477 ± 0.01520.9546 ± 0.0182
Results of the second experiment after 5 independent repetitions. (a) Mean standard deviation training accuracy. (b) Mean standard deviation validation accuracy. (c) Mean standard deviation training loss. (d) Mean standard deviation validation loss. A logarithmic scale has been set to correctly display the loss values for a better understanding of the results. Mean precision, recall and F1-score results obtained at the test stage for the classification of chest X-ray images between Healthy vs Pneumonia/Covid-19 cases.

3rd experiment: Healthy/Pneumonia vs Covid-19

The third scenario was designed to evaluate the performance of the proposed approach to specifically distinguish between cases of patients with Covid-19 from other similar cases such as pneumonia or also from healthy patients. Thus, we measure the potential separability between those potentially similar pathological cases of Covid-19 from pneumonia. To do so, we used a total of 621 X-ray images, being 207 from Covid-19, 207 from patients with pneumonia and 207 from healthy patients. Once again, those subjects from pneumonia and healthy patients were randomly selected to obtain a proportion of and between negative and positive classes, respectively. Fig. 5(a) and Fig. 5(b) show the performance that was obtained from all the architectures after 5 independent repetitions in the training and validation stages, respectively. In particular, our models achieve high stability after 75 epochs and 50 epochs in the training and validation stages, respectively. Complementary, in Fig. 5(c) and (d) we can observe a similar behavior with the cross-entropy loss function.
Fig. 5

Results of the third experiment after 5 independent repetitions. (a) Mean standard deviation training accuracy. (b) Mean standard deviation validation accuracy. (c) Mean standard deviation training loss. (d) Mean standard deviation validation loss. A logarithmic scale has been set to correctly display the loss values for a better understanding of the results.

In Table 4 we present the quantitative performance of the proposed system in the test dataset, in terms of precision, recall and F1-score. Our method shows an suitable performance for both categories, providing a mean accuracy value of 0.9584 ± 0.0285 for the DenseNet-121, a 0.9712 ± 0.0145 for the DenseNet-161, a 0.9744 ± 0.0104 for the ResNet-18, a 0.9744 ± 0.0153 for the ResNet-34, a 0.9728 ± 0.0121 for the VGG-16 and a 0.9504 ± 0.0249 for the VGG-19, demonstrating the robustness of the proposed system to distinguish between cases of patients with Covid-19 from other cases such as pneumonia or health. In this experiment, as we can see, no significant differences were observed between the results obtained by the DenseNet-161, ResNet-18, ResNet-34 and VGG-16 architectures. This result is specially significant considering the separation of similar pathological scenarios as pneumonia and Covid-19.
Table 4

Mean precision, recall and F1-score results obtained at the test stage for the classification of chest X-ray images between Healthy/Pneumonia vs Covid-19 cases.

ArchitectureClassPrecisionRecallF1-score
DenseNet-121Healthy/Pneumonia0.9740 ± 0.02190.9620 ± 0.04440.9680 ± 0.0259
Covid-190.9380 ± 0.06650.9500 ± 0.03740.9420 ± 0.0356

DenseNet-161Healthy/Pneumonia0.9700 ± 0.02550.9880 ± 0.01100.9800 ± 0.0100
Covid-190.9780 ± 0.01480.9360 ± 0.05130.9560 ± 0.0251

ResNet-18Healthy/Pneumonia0.9740 ± 0.00890.9880 ± 0.01300.9820 ± 0.0084
Covid-190.9780 ± 0.02280.9500 ± 0.00710.9640 ± 0.0134

ResNet-34Healthy/Pneumonia0.9720 ± 0.02390.9900 ± 0.00000.9820 ± 0.0084
Covid-190.9760 ± 0.00550.9500 ± 0.04690.9620 ± 0.0277

VGG-16Healthy/Pneumonia0.9840 ± 0.01340.9760 ± 0.02300.9780 ± 0.0084
Covid-190.9520 ± 0.04550.9660 ± 0.02070.9580 ± 0.0205

VGG-19Healthy/Pneumonia0.9660 ± 0.01670.9680 ± 0.02770.9660 ± 0.0167
Covid-190.9180 ± 0.07050.9140 ± 0.03510.9180 ± 0.0497
Results of the third experiment after 5 independent repetitions. (a) Mean standard deviation training accuracy. (b) Mean standard deviation validation accuracy. (c) Mean standard deviation training loss. (d) Mean standard deviation validation loss. A logarithmic scale has been set to correctly display the loss values for a better understanding of the results. Mean precision, recall and F1-score results obtained at the test stage for the classification of chest X-ray images between Healthy/Pneumonia vs Covid-19 cases.

4Th experiment: Healthy vs Pneumonia vs Covid-19

In this last scenario, considering the satisfactory results of the other considered approaches, we also trained another model to directly analyze the performance of the proposed system to separate the chest X-ray radiographs into 3 different categories: healthy, pneumonia and Covid-19. To do so, we designed a complete experiment using a total of 621 X-ray radiographs, being 207 from Covid-19, 207 from patients with pneumonia and 207 from healthy patients. In this case, again, we randomly selected the healthy and pneumonia images to balance the amount of available images for the 3 considered classes. Fig. 6(a) and (b) show the performance of the proposed system using the training and validation sets after 5 independent repetitions, where we can appreciate a good behavior of the deep learning architectures. In the same line, the proposed system achieved its stability in the loss cross-entropy function after the epoch 100 for training and after the epoch 50 for validation, as we can see in Fig. 6(c) and (d).
Fig. 6

Results of the fourth experiment after 5 independent repetitions. (a) Mean standard deviation training accuracy. (b) Mean standard deviation validation accuracy. (c) Mean standard deviation training loss. (d) Mean standard deviation validation loss. A logarithmic scale has been set to correctly display the loss values for a better understanding of the results.

In Table 5, we can see the precision, recall and F1-score results obtained at the test stage, providing a mean accuracy of 0.9632 ± 0.0200 for the DenseNet-121, a 0.9536 ± 0.0143 for the DenseNet-161, a 0.9744 ± 0.0104 for the ResNet-18, a 0.9664 ± 0.0118 for the ResNet-34, a 0.9504 ± 0.0173 for the VGG-16 and a 0.9536 ± 0.0207 for the VGG-19. As we can observe, in this experiment, the best result was obtained using the ResNet-18 architecture. However, all the trained models are able to predict with adequate accuracy values, demonstrating the robustness of the proposed system in the classification of the 3 categories of chest X-ray images considered in this work.
Table 5

Mean precision, recall and F1-score results obtained at the test stage for the classification of chest X-ray images between Healthy vs Pneumonia vs Covid-19 cases.

ArchitectureClassPrecisionRecallF1-score
DenseNet-121Healthy0.9669 ± 0.03970.9637 ± 0.01750.9647 ± 0.0177
Pneumonia0.9579 ± 0.01600.9545 ± 0.06460.9550 ± 0.0294
Covid-190.9634 ± 0.03040.9773 ± 0.02240.9700 ± 0.0196

DenseNet-161Healthy0.9535 ± 0.02360.9553 ± 0.03410.9539 ± 0.0152
Pneumonia0.9705 ± 0.00840.9374 ± 0.02560.9534 ± 0.0098
Covid-190.9407 ± 0.04530.9701 ± 0.02130.9546 ± 0.0234

ResNet-18Healthy0.9562 ± 0.01830.9759 ± 0.02920.9656 ± 0.0149
Pneumonia0.9807 ± 0.02120.9763 ± 0.02320.9783 ± 0.0169
Covid-190.9903 ± 0.01340.9683 ± 0.01280.9791 ± 0.0065

ResNet-34Healthy0.9387 ± 0.04650.9765 ± 0.03470.9563 ± 0.0247
Pneumonia0.9645 ± 0.01740.9734 ± 0.02200.9686 ± 0.0100
Covid-190.9884 ± 0.01600.9520 ± 0.01760.9698 ± 0.0144

VGG-16Healthy0.9507 ± 0.04250.9412 ± 0.01560.9454 ± 0.0203
Pneumonia0.9374 ± 0.04200.9480 ± 0.03970.9417 ± 0.0237
Covid-190.9662 ± 0.03730.9663 ± 0.02370.9659 ± 0.0248

VGG-19Healthy0.9674 ± 0.02060.9450 ± 0.02990.9558 ± 0.0179
Pneumonia0.9480 ± 0.03710.9441 ± 0.03500.9457 ± 0.0298
Covid-190.9436 ± 0.04830.9751 ± 0.02570.9581 ± 0.0202
Results of the fourth experiment after 5 independent repetitions. (a) Mean standard deviation training accuracy. (b) Mean standard deviation validation accuracy. (c) Mean standard deviation training loss. (d) Mean standard deviation validation loss. A logarithmic scale has been set to correctly display the loss values for a better understanding of the results. Mean precision, recall and F1-score results obtained at the test stage for the classification of chest X-ray images between Healthy vs Pneumonia vs Covid-19 cases.

Discussion

The current gold standard for detection of Covid-19 disease is the reverse transcription-polymerase chain reaction (RT-PCR), which is usually performed on a sample of nasopharyngeal and oropharyngeal secretions. However, RT-PCR is believed to be highly specific, but its sensitivity can range from 60%–70% [46] to 95%–97% [47], making false negatives a very critical problem in the diagnosis of Covid-19, especially in the early stages of this highly infectious disease. On the other hand, chest radiography is considered the first-line imaging study in suspected or confirmed Covid-19 patients, being recommended by the American College of Radiology (ACR) [48]. However, one of the main limitations of chest radiography, like RT-PCR, is the high false-negative rate [4]. In this regard, the chest radiography may be normal in mild cases or in the early stage of the Covid-19 infection, but patients with moderate or severe symptoms are unlikely to have a normal chest radiography. Findings are most extensive 10–12 days after the onset of symptoms [49]. In this work, we analyzed different and complementary fully automatic approaches for the classification of healthy, pneumonia and Covid-19 chest X-ray radiographs. All the experimental results demonstrate that the proposed system is capable of successfully distinguishing healthy patients from different pathological cases of pneumonia and Covid-19, although in some cases, the trained models present a more stable behavior during the training and validation stages. To accurately explain this behavior, it would be interesting to perform a more extensive analysis of these architectures using a larger and more complete dataset. Regarding the obtained results, the pathological differentiation is understandable given the abnormality of the pathological scenarios with respect to normal patients and also the pathological impact in the lungs of both pneumonia and Covid-19 diseases. But also, it is significant the accurate capability of differentiation also of Covid-19 patients from other with pneumonia, which were correctly separated in the proposed third and fourth approaches, also corroborated by the experiments with the first approach. In addition, the proposed system allows to make accurate predictions using chest X-ray images of arbitrary sizes, which is very relevant considering the great variability of X-ray devices currently available in the healthcare centers. We compared the proposed approaches with the most representative state-of-the-art methods on this topic. These methods were previously introduced and described in Section 1. In this regard, Table 6 presents the results obtained from state-of-the-art methods and our proposal. Although many methods were tested with different image datasets and under different conditions (image size, X-ray devices, pixel-level resolution, different distribution and balance of data, etc.), our method offers a competitive performance, outperforming in most cases the rest of the approaches. Another important aspect to take into account is that most of the works presented by the state of the art only consider a single scenario (2 or 3 categories), whereas in our proposal we analyze 4 different scenarios in a comprehensive way. Particularly, in our proposal, several experiments were conducted considering 6 representative state-of-the-art deep CNN architectures (DenseNet-121, DenseNet-161, ResNet-18, ResNet-34, VGG-16 and VGG-19) to analyze the degree of separability of COVID-19 samples, representing a comprehensive analysis of this relevant problem. Experimental validation shows accurate and robust results, obtaining high values (above 97% of global accuracy) for all computational approaches considered.
Table 6

Comparison of performance between state of the art and proposed approaches.

State-of-the-artMethodsComputational approachesAccuracy (%)
Das et al. [19]XceptionPneumonia vs Covid-19 vs Other97.40

Singh et al. [20]MADE-based CNNnon-Covid-19 vs Covid-1994.48

Ucar et al. [21]Deep Bayes-SqueezeNetHealthy vs Pneumonia vs Covid-1998.26

Wang et al. [22]Covid-netHealthy vs Pneumonia vs Covid-1993.30

Afshar et al. [23]Covid-capsnon-Covid-19 vs Covid-1995.70

Chowdhury et al. [24]MobileNetv2, SqueezeNet, ResNet-18, ResNet-101,Normal vs Covid-1999.70
DenseNet-201, CheXNet, Inception-v3 and VGG-19Normal vs Covid-19 vs Pneumonia Viral97.90

Khan et al. [25]CoroNetCovid-19 vs Pneumonia Bacterial vs Pneumonia Viral vs Normal89.60
Covid-19 vs Pneumonia vs Normal95.00

Sahinbas et al. [26]ResNet, DenseNet, InceptionV3, VGG-16 and VGG-19non-Covid-19 vs Covid-1980.00

Apostolopoulos et al. [27]MobileNetv2non-Covid-19 vs Covid-1999.18

Zulkifley et al. [28]LightCovidNetHealthy vs Pneumonia vs Covid-1996.97

Our proposalDenseNet-121, DenseNet-161, ResNet-18,Healthy vs Pneumonia, tested with Covid-1997.06
ResNet-34, VGG-16 and VGG-19

Our proposalDenseNet-121, DenseNet-161, ResNet-18,Healthy vs Pneumonia/Covid-1998.39
ResNet-34, VGG-16 and VGG-19

Our proposalDenseNet-121, DenseNet-161, ResNet-18,Healthy/Pneumonia vs Covid-1997.44
ResNet-34, VGG-16 and VGG-19

Our proposalDenseNet-121, DenseNet-161, ResNet-18,Healthy vs Pneumonia vs Covid-1997.44
ResNet-34, VGG-16 and VGG-19
Despite the attained satisfactory performance, the proposed system obtain an acceptably small number of misclassified cases. In particular, some misclassification is caused by the poor contrast of the X-ray images used in this work. Other times, in some cases, there is a great similarity between Covid-19 and pneumonia, mainly during the initial stages of both diseases. In Fig. 7, we can see representative examples illustrating the significant variability of the possible scenarios that are represented in this research work.
Fig. 7

Representative examples of lung regions. 1st row, lung healthy regions. 2nd row, lung regions affected by the pneumonia disease. 3rd row, lung regions affected by the Covid-19 disease.

Comparison of performance between state of the art and proposed approaches. As no exhaustive classification method for X-ray Covid-19 images has been published to date, we cannot make any comparison with other state-of-the-art approaches. Instead, we use different public datasets for the evaluation of our proposed system, validating their accuracy in comparison with manual annotations from different clinical experts. Representative examples of lung regions. 1st row, lung healthy regions. 2nd row, lung regions affected by the pneumonia disease. 3rd row, lung regions affected by the Covid-19 disease.

Conclusions

Coronaviruses are a large family of viruses that can cause disease in both animals and humans. In particular, the new coronavirus SARS-CoV-2, also know Covid-19, was firstly detected in December 2019 in Wuhan City, Hubei Province, China. Given its drastic spread, the WHO declared a global pandemic as the Covid-19 rapidly spreads across the world. In this context, chest X-ray images are widely used for early screening by clinical experts, allowing for more appropriate use of other medical resources during initial screening. In this work, we proposed complementary fully automatic approaches for the classification of Covid-19, pneumonia and healthy chest X-ray radiographs. For this purpose, several experiments were performed considering 6 deep network architectures representative of the state of the art. In this way, we exploit the potential of deep learning architectures and their capabilities to describe complex, hierarchically unstructured data at higher levels of abstraction in the analysis of chest X-rays for the Covid-19 screening task. We evaluated the robustness and accuracy of the different classification approaches, obtaining satisfactory results for all the experiments that were proposed using different public image datasets of reference. Despite the complex and challenging scenario, the proposed approaches has proven to be robust and reliable, facilitating a more complete and precise analysis of the pathological lung regions and, consequently, the production of more adjusted treatments of this highly infectious disease. As future work, we plan to expand the proposed methodology with the incorporation of other relevant lung diseases, such as chronic bronchitis, emphysema, or lung cancer. In addition, we plan to perform a comparative analysis of the proposed methodology with other techniques that use sophisticated image processing algorithms in combination with classical machine learning techniques. Finally, further analysis with larger and maybe more comprehensive chest X-ray datasets should be done in order to reinforce the conclusions of this work.

CRediT authorship contribution statement

Joaquim de Moura: Conceptualization, Methodology, Software, Formal analysis, Investigation, Data curation, Writing - original draft, Writing - review & editing, Visualization. Jorge Novo: Methodology, Validation, Investigation, Data curation, Writing - review & editing, Supervision, Project administration. Marcos Ortega: Methodology, Validation, Investigation, Data curation, Writing - review & editing, Supervision, Project administration, Funding acquisition.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
  23 in total

Review 1.  Bats: important reservoir hosts of emerging viruses.

Authors:  Charles H Calisher; James E Childs; Hume E Field; Kathryn V Holmes; Tony Schountz
Journal:  Clin Microbiol Rev       Date:  2006-07       Impact factor: 26.132

2.  Responding to Covid-19 - A Once-in-a-Century Pandemic?

Authors:  Bill Gates
Journal:  N Engl J Med       Date:  2020-02-28       Impact factor: 91.245

3.  Mosaic evolution of the severe acute respiratory syndrome coronavirus.

Authors:  John Stavrinides; David S Guttman
Journal:  J Virol       Date:  2004-01       Impact factor: 5.103

4.  Mortality from coronary heart disease in subjects with type 2 diabetes and in nondiabetic subjects with and without prior myocardial infarction.

Authors:  S M Haffner; S Lehto; T Rönnemaa; K Pyörälä; M Laakso
Journal:  N Engl J Med       Date:  1998-07-23       Impact factor: 91.245

Review 5.  A review on lung boundary detection in chest X-rays.

Authors:  Sema Candemir; Sameer Antani
Journal:  Int J Comput Assist Radiol Surg       Date:  2019-02-07       Impact factor: 2.924

6.  COVIDiagnosis-Net: Deep Bayes-SqueezeNet based diagnosis of the coronavirus disease 2019 (COVID-19) from X-ray images.

Authors:  Ferhat Ucar; Deniz Korkmaz
Journal:  Med Hypotheses       Date:  2020-04-23       Impact factor: 1.538

7.  Radiologic diagnosis of patients with COVID-19.

Authors:  E Martínez Chamorro; A Díez Tascón; L Ibáñez Sanz; S Ossaba Vélez; S Borruel Nacenta
Journal:  Radiologia (Engl Ed)       Date:  2020-11-24

8.  Extracting Possibly Representative COVID-19 Biomarkers from X-ray Images with Deep Learning Approach and Image Data Related to Pulmonary Diseases.

Authors:  Ioannis D Apostolopoulos; Sokratis I Aznaouridis; Mpesiana A Tzani
Journal:  J Med Biol Eng       Date:  2020-05-14       Impact factor: 1.553

9.  CoroNet: A deep neural network for detection and diagnosis of COVID-19 from chest x-ray images.

Authors:  Asif Iqbal Khan; Junaid Latief Shah; Mohammad Mudasir Bhat
Journal:  Comput Methods Programs Biomed       Date:  2020-06-05       Impact factor: 5.428

10.  Deep Learning on Chest X-ray Images to Detect and Evaluate Pneumonia Cases at the Era of COVID-19.

Authors:  Karim Hammoudi; Halim Benhabiles; Mahmoud Melkemi; Fadi Dornaika; Ignacio Arganda-Carreras; Dominique Collard; Arnaud Scherpereel
Journal:  J Med Syst       Date:  2021-06-08       Impact factor: 4.460

View more
  3 in total

1.  Does imbalance in chest X-ray datasets produce biased deep learning approaches for COVID-19 screening?

Authors:  Lorena Álvarez-Rodríguez; Joaquim de Moura; Jorge Novo; Marcos Ortega
Journal:  BMC Med Res Methodol       Date:  2022-04-28       Impact factor: 4.612

2.  Efficient deep learning approach for augmented detection of Coronavirus disease.

Authors:  Ahmed Sedik; Mohamed Hammad; Fathi E Abd El-Samie; Brij B Gupta; Ahmed A Abd El-Latif
Journal:  Neural Comput Appl       Date:  2021-01-19       Impact factor: 5.102

3.  AI-CenterNet CXR: An artificial intelligence (AI) enabled system for localization and classification of chest X-ray disease.

Authors:  Saleh Albahli; Tahira Nazir
Journal:  Front Med (Lausanne)       Date:  2022-08-30
  3 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.