key: cord-0898798-gpzhmnfo authors: Abbasian Ardakani, Ali; Acharya, U. Rajendra; Habibollahi, Sina; Mohammadi, Afshin title: COVIDiag: a clinical CAD system to diagnose COVID-19 pneumonia based on CT findings date: 2020-08-01 journal: Eur Radiol DOI: 10.1007/s00330-020-07087-y sha: 72b04017014620a5eabc36c75e832cf8975c8e28 doc_id: 898798 cord_uid: gpzhmnfo OBJECTIVES: CT findings of COVID-19 look similar to other atypical and viral (non-COVID-19) pneumonia diseases. This study proposes a clinical computer-aided diagnosis (CAD) system using CT features to automatically discriminate COVID-19 from non-COVID-19 pneumonia patients. METHODS: Overall, 612 patients (306 COVID-19 and 306 non-COVID-19 pneumonia) were recruited. Twenty radiological features were extracted from CT images to evaluate the pattern, location, and distribution of lesions of patients in both groups. All significant CT features were fed in five classifiers namely decision tree, K-nearest neighbor, naïve Bayes, support vector machine, and ensemble to evaluate the best performing CAD system in classifying COVID-19 and non-COVID-19 cases. RESULTS: Location and distribution pattern of involvement, number of the lesion, ground-glass opacity (GGO) and crazy-paving, consolidation, reticular, bronchial wall thickening, nodule, air bronchogram, cavity, pleural effusion, pleural thickening, and lymphadenopathy are the significant features to classify COVID-19 from non-COVID-19 groups. Our proposed CAD system obtained the sensitivity, specificity, and accuracy of 0.965, 93.54%, 90.32%, and 91.94%, respectively, using ensemble (COVIDiag) classifier. CONCLUSIONS: This study proposed a COVIDiag model obtained promising results using CT radiological routine features. It can be considered an adjunct tool by the radiologists during the current COVID-19 pandemic to make an accurate diagnosis. KEY POINTS: • Location and distribution of involvement, number of lesions, GGO and crazy-paving, consolidation, reticular, bronchial wall thickening, nodule, air bronchogram, cavity, pleural effusion, pleural thickening, and lymphadenopathy are the significant features between COVID-19 from non-COVID-19 groups. • The proposed CAD system, COVIDiag, could diagnose COVID-19 pneumonia cases with an AUC of 0.965 (sensitivity = 93.54%; specificity = 90.32%; and accuracy = 91.94%). • The AUC, sensitivity, specificity, and accuracy obtained by radiologist diagnosis are 0.879, 87.10%, 88.71%, and 87.90%, respectively. ELECTRONIC SUPPLEMENTARY MATERIAL: The online version of this article (10.1007/s00330-020-07087-y) contains supplementary material, which is available to authorized users. In December 2019, a novel coronavirus-infected pneumonia, called coronavirus disease 2019 (COVID- 19) , occurred in the city of Wuhan, China, related to Huanan Seafood Market [1] [2] [3] . This outbreak has spread exponentially throughout the world and is declared a pandemic [4] . The most prevalent clinical symptoms of COVID-19 patients are fever, followed by cough, fatigue, and dyspnea. It can lead to acute respiratory distress syndrome, acute renal failure, shock, and death [3, 5] . The diagnostic criteria of COVID-19 pneumonia are laboratory evaluation of respiratory secretions acquired from endotracheal aspir ate, bronchoalveol ar lavage, or nasopharyngeal/ oropharyngeal swab [6] . Currently, laboratory examination such as reverse transcriptase-polymerase chain reaction (RT-PCR) test has become the standard assessment for the diagnosis of COVID-19 infection [7, 8] . However, RT-PCR testing results may be falsely negative due to insufficient specimen or laboratory error [9] . In addition, although the image finding can be positive in the early stages of the disease, RT-PCR results can be negative at the early stages in some cases. However, RT-PCR can become positive in the following course of the disease [10, 11] . Therefore, a combination of repeated swab tests and CT imaging can be used as a tool to diagnose the individual with negative RT-PCR screening and high suspicion of COVID-19 infection [10] . Chest CT scan provides more detailed information about the chest and hence, it is used to diagnose COVID-19 patients. In a study using 1014 patients, the sensitivity of chest CT in suggesting COVID-19 based on the positive RT-PCR is 97%, and patients with negative RT-PCR and chest CT findings of 75% are positive [12] . Abnormal CT findings such as pneumonia, the existence of patterns like ground-glass opacity (GGO), and bilateral patchy shadowing are frequently observed in positive COVID-19 cases [13] . The most frequent CT features of COVID-19 pneumonia are GGO, crazy-paving pattern, mixed GGO and consolidation, bilateral lobe involvement, and subpleural lesions [14, 15] . Radiologists can help in several ways in this current pandemic such as (i) early detection of the disease and plan ahead for proper management in later stages of the disease; (ii) score the severity of the disease and help to identify the chance of developing ARDS and the need to transferring to the intensive care unit; and (iii) detect possible secondary or co-infection of bacterial pneumonia, which is very critical as bacterial pneumonia can lead to serious complications [16] . However, both COVID-19 virus and other non-COVID-19 viruses can cause pneumonia and differentiate them, which is challenging for radiologists as both CT findings look similar [15, 17] . Bai et al [18] showed that seven radiologists can diagnose COVID-19 pneumonia with mean sensitivity and specificity of 70.42% and 83.71%, respectively. Also, they concluded that the radiologists showed high specificity but moderate sensitivity in distinguishing COVID-19 pneumonia from other atypical and viral (non-COVID-19) pneumonia based on chest CT findings. To overcome these limitations and manage the COVID-19 pneumonia patients effectively, a computeraided diagnosis (CAD) system is needed [19] . Nowadays, CAD systems can help and allow radiologists to make a better decision, especially in CT lung imaging [20] [21] [22] . It also help to detect lung abnormalities [23, 24] and pulmonary fibrosis [25, 26] , manage lung nodules [27, 28] , and differentiate nodules from interferential vessels [29, 30] . In this work, we have investigated the potential of using the CAD system to diagnose and manage patients with COVID-19 pneumonia disease. In this work, we proposed a clinical CAD system, namely COVIDiag, to differentiate COVID-19 from non-COVID-19 pneumonia diseases using features extracted from the chest CT images. We feel that the proposed system can help to reduce the workload and improve the quality of COVID-19 disease diagnosis. Regardless of demographic values like age and gender in the pandemic of the COVID-19, the patients with flu-like symptoms and diagnosed with novel coronavirus were enrolled for the study. A chest high-resolution CT (HRCT) examination was conducted for all patients before enrolling them in this study. The confirmation for COVID-19 was done through RT-PCR based on nasopharyngeal swab samples. The patients with respiratory infections with negative RT-PCR and confirmed laboratory test were excluded in this study. Also, those cases with chronic lung diseases and subsequent pulmonary involvement were excluded. HRCT images of patients with other causes of atypical and viral pneumonia, such as adenoviral or H1N1 flu from PACS of our university hospital, were retrospectively investigated from January 2018 to December 2019. All HRCT examinations were performed using a 16-MDCT scanner (Alexion, Canon Medical Systems) with highresolution protocol: patients in the recumbent situation with the arms over the head; 1-to 2-mm slice thickness in increments of up to 10 mm from the lung apices through the hemidiaphragm, at deep inspiration; tube voltage, 120 kVp; tube current time, 50-100 mAs; and pitch, 0.8-1.5. Parenchymal window settings were set for all patients to a range of window level and a window width of − 600 to − 500 Hounsfield units (HU) and 1500 to 1600 HU, respectively. All of the CT slices were reconstructed using an iterative algorithm (adaptive iterative dose reduction using threedimensional processing (AIDR 3D)) with the kernel FC56, and scans were acquired without the use of contrast agent. Few studies indicated that the pattern, location, and distribution of lesions can differentiate COVID-19 from other non-COVID-19 pneumonia [14, 18, 31] . There are few radiological features such as GGO, crazy-paving, peripheral, both peripheral and central involvement, and upper lobe involvement, which are more common in COVID-19 pneumonia compared with non-COVID-19 pneumonia. On the other hand, there are few other radiological features that are more common and specific in non-COVID-19 pneumonia compare with that in COVID-19 pneumonia, such as pleural effusion, pleural thickening, air bronchogram, consolidation, central involvement, and lymphadenopathy. In this study, two radiologists with more than 15 years of experience in thoracic imaging, who were blinded to the laboratory test, reviewed the CT images. Radiological features were extracted by one radiologist and confirmed by another experienced radiologist. In total, 20 radiological features are extracted for both the groups. These radiological features are as follows: In other words, a hazy opacity that does not obscure the underlying pulmonary vessel; (f) Consolidation, which is described as opacification with obscuration of vessels and airway borders walls. It is defined as filling of air that usually fills the small airways with something else; (g) Presence of reticular: every thin linear opacity between 1 and 3 mm thickness; (h) Nodule, which is defined as every round or oval welldefined margin opacity; (i) Vascular thickening; (j) Septal thickening; (k) Bronchial wall thickening; (l) Air bronchogram; which is defined as opacification of surrounding alveoli (gray/white) make the air-filled bronchi (dark) detectable; (m) Cavity; (n) Cyst; (o) Crazy-paving, which is a linear pattern superimposed on an area of GGO, with irregular paving stones pattern; (p) Halo sign; (q) Reversed halo sign; (r) Pleural effusion, defined as blunting of the costophrenic angle, cardiophrenic angle, and fluid within the horizontal or oblique fissures; (s) Pleural thickening; and (t) Lymphadenopathy, described as a lymph node with a greater size than 1 cm in short axis. The MATLAB software (version R2019b, MathWorks Inc) was used to implement machine-learning process. In order to perform an automated diagnosis of COVID-19 cases, five classifiers are used: decision tree, K-nearest neighbor (KNN), 3-naïve Bayes, support vector machine (SVM), and ensemble. The optimization method based on the Bayesian optimization algorithm [32] is used to define the optimized hyperparameters. This method searches the specific hyperparameters within their ranges for each classifier to find the bestpoint hyperparameters to yield the highest classification performance. In this study, the entire database is divided into two parts: 80% for training and 20% for testing. All five classifiers are trained for 30 iterations using the Bayesian optimization algorithm. The K-fold (K = 20) cross-validation strategy is used to prevent over-fitting of the models. At the end of the training process, optimization algorithm returns the bestpoint hyperparameters for each classifier. The discrimination between COVID-19 and non-COVID-19 groups of CT features is evaluated with the chi-square test. Statistically significant features have a p value of less than 0.05. Five parameters namely sensitivity, specificity, accuracy, PPV, and NPV are calculated in our study to compare the performance of radiologists and classifiers. COVID-19 and other viral pneumonia (non-COVID-19 group) cases are considered positive and negative, respectively. Therefore, correctly diagnosed COVID-19 and non-COVID-19 cases are indicated as N TP and N TN , respectively. Also, incorrectly diagnosed COVID-19 and non-COVID-19 cases are identified as N FP and N FN , respectively. Furthermore, ROC curve analysis is used and AUC is computed [33] . SPSS software (version c An 68-year-old male patient with atypical pneumonia. The red arrows indicate mixed ground glass and alveolar consolidation pattern in the right lower lobe. d A 67-year-old male patient with H1N1 pneumonia. The red and yellow arrows indicate alveolar consolidation the right and left upper lobe, respectively 24.0, IBM Corporation) is used for statistical analysis. Figure 1 shows the steps involved in our study at a glance. In this study, 612 patients (306 COVID-19 and 306 non-COVID-19) were recruited. In total, 488 patients (with 50-50 distribution) were used for the training phase and the rest of the patients (20%) were used to test the developed model. Figure 2 shows the sample CT images of patients with COVID-19 and non-COVID-19 pneumonia. The bilateral involvement is significantly high in COVID-19 patients (176 out of 244, 72.13%) compared with that in the non-COVID-19 group (72 out of 244, 29.5%). In the location 2 feature, the infection involvement of the upper, lower, and both lobes in COVID-19 group is observed in 106 (43.44%), 48 (19.67%), and 90 (36.89%) patients, respectively, which are significant differences compared with the non-COVID-19 group whose involvements are observed in 131 (53.69%), 89 (36.47%), and 24 (09.84%) cases, respectively. The peripheral, central, and both central and peripheral involvements in COVID-19 group are discovered in 147 (60.25%), 26 (10.65%), and 71 (29.10%) cases, respectively, for the distribution feature, which have shown significant differences compared with the non-COVID-19 group whose the involvements are observed in 41 (16.80%), 115 (47.13%), and 88 (36.07%) cases, respectively ( Table 1) . The single, multiple, and diffuse lesions in the COVID-19 group are observed in 32 (13.11%), 136 (55.74%), and 76 (31.15%) cases, respectively, for the lesion feature compared with those in the non-COVID-19 group whose single, multiple, and diffuse lesions are found in 155 (63.52%), 74 (30.33%), and 15 (06.15%) cases, respectively, with p value < 0.001. In addition, the GGO and crazy-paving features are found significantly high in COVID-19 cases compared with those in the non-COVID-19 group (p < 0.001). In contrast, consolidation, reticular, bronchial wall thickening, nodule, air bronchogram, cavity, pleural effusion, pleural thickening, and lymphadenopathy are more common in the non-COVID-19 group. However, no significant differences are seen in other CT features like vascular thickening, septal thickening, cyst, halo sign, and reversed halo sign ( Table 1) . The results of the optimization process and the hyperparameters of each optimized network are shown in Fig. 3 . The classification results of the models for COVID-19 and non-COVID-19 groups are summarized in Table 2 . Also, we measured the performance of the radiologist as a baseline to compare the results with these five models. Among all models, the highest performance is obtained for ensemble classifier with an AUC of 0.988 (sensitivity, 94.67%; specificity, 93.03%; accuracy, 93.85%) for the training dataset. In contrast, the lowest performance is obtained for decision tree with an AUC of 0.934 (sensitivity, 89.34%; specificity, 90.16%; accuracy, 89.75%). After training the models, they are tested with blinded (unseen) data. Then, the highest discriminative power is obtained for the ensemble model with AUC, sensitivity, specificity, and accuracy of 0.965, 93.54%, 90.32%, and 91.94%, respectively. Also, the AUC, sensitivity, specificity, and accuracy obtained for the diagnosis by a radiologist are 0.879, 87.10%, 88.71%, and 87.90%, respectively ( Table 2) . Radar plots and ROC curves for various classifiers and radiologist in the testing phase are presented in Fig. 4a and b, respectively. The COVIDiag model is available (Link) (to test the model with your own data, please follow the guide sheet ( Figure E1 , Supplementary material). In this study, the best performance is achieved by ensemble classifier (COVIDiag) with an AUC of 0.965. The main advantage of this classifier is that it uses many (81 in this study) learners to build an accurate model. Aggregating the output of the learners help to build a robust model compared to the individual learner [34] . Hence, the stability and discriminative power of the ensemble classifier is higher than other classifiers used in this study. In addition, our results indicate that the performance of the COVIDiag is even higher than the radiologist for the testing dataset (AUC of COVIDiag vs. Fig. 4 a ROC curves and (b) radar plot of five networks and the radiologist on testing blinded dataset data better than the radiologists. During the visual inspection process, radiologists should extract several radiological features from the CT images, make a meaningful relationship between them, and finally make a final decision. This step of processing is subjective, time-consuming, and prone to human errors. Hence, in this study, we proposed a practical clinical CAD system (COVIDiag) to help radiologists during routine practices. The results of the present study indicate that multiple and diffused lesions with GGO and crazy-paving patterns are significantly more common in COVID-19 pneumonia cases. On the other hand, patients with cavity, nodule, single lesion, consolidation, reticular, bronchial wall thickening, air bronchogram, pleural effusion, pleural thickening, and lymphadenopathy are significantly more likely to have non-COVID-19 pneumonia. Moreover, the bilateral involvements with peripheral distribution occur more significantly in patients with COVID-19 pneumonia. Our findings in terms of distribution, GGO, pleural effusion, and pleural thickening are similar, but the terms of nodule, location 1, bronchial wall thickening, crazy-paving, halo, reverse halo, and vascular thickening are not similar to the study by Bai et al [18] . In addition, except for GGO, lymphadenopathy, and pleural effusion, the results of other features are similar to those of Long et al [31] and Cheng et al [35] . The main reason for the difference in the results is that these studies have used either a small number of patients in both groups or included all types of non-COVID-19 pneumonia patients. Hence, bacterial or other atypical pneumonia cases may be included. On the other hand, during the diagnosing process, radiologists should pay attention to the time of patient's admission (Table 3 ) and the similar CT findings that can be misdiagnosed as COVID-19 pneumonia (Table 4) to reduce the possible false-positive cases. Few artificial intelligence studies on chest CT images have been emerging to help physicians to manage patients with COVID-19 pneumonia. Some studies reported that deep learning could diagnose COVID-19 pneumonia cases with an AUC of 0.960 [36] and 0.994 [37] , respectively. However, we used simple machine-learning technique and achieved an AUC of 0.965. Hence, the COVIDiag is more effective in discriminating COVID-19 pneumonia cases from non-COVID-19 cases. The main advantage of the proposed model is simple and takes less time to train as it is not deep learning-based model. Another advantage of the COVIDiag is that it is easy to use. After the acquisition of CT images from the patients, we can There is no subpleural predominance contrary to that seen in COVID-19. Subpleural sparing is more characteristic, and a history of drug exposure helps diagnosis. Organized pneumonia Similar findings with COVID-19 are seen, but GGO occurs in a very different context. GGO, ground-glass opacity extract the desired features from the images and feed those features on the pre-trained model to get the output class. In addition, COVIDiag is reproducible and can be used for unlimited time in a day without degrading the performance. These test images again can be used to train the model and make the model more robust. Also, this system is more economical and can be used along with the RT-PCR method. The RT-PCR method is expensive as it involved well-equipped laboratories which many underdeveloped countries may not be able to afford [38] . In addition, countries continuously need to supply the high demand for the new kits. In the present scenario, our proposed COVIDiag can be used to meet the challenges of third-world countries and help to rehabilitate the affected patients immediately by accurate faster diagnosis. The limitation of our proposed system is that CT findings can be negative in the early stage, while the RT-PCR is positive [39, 40] . In this situation, the results of COVIDiag tend to be negative. Another limitation is that, in some cases, the initial results of RT-PCR may be false negative [9] . So, these patients with COVID-19 may be excluded incorrectly. It should be noted that the PPV and NPV indices are not intrinsic to the test and they depend on the prevalence of diseases. In this study, we provided balanced dataset, which can affect the indices. This study proposed an automated clinical COVIDiag system based on routine radiological parameters and machinelearning techniques. The developed tool is simple to operate and can help the radiologists to reduce their daily workload by helping them to make an accurate diagnosis. In the future, we intend to extend our COVIDiag model to assess the severity of COVID-19 patients. Funding information The authors state that this work has not received any funding. Guarantor The scientific guarantor of this publication is Afshin Mohammadi. The authors of this manuscript declare no relationships with any companies, whose products or services may be related to the subject matter of the article. Statistics and biometry One of the authors has significant statistical expertise. Informed consent Written informed consent was waived by the Institutional Review Board. Ethical approval Institutional Review Board approval was obtained. • retrospective • cross-sectional study • performed at one institution Outbreak of pneumonia of unknown etiology in Wuhan, China: the mystery and the miracle The continuing 2019-nCoV epidemic threat of novel coronaviruses to global health: the latest 2019 novel coronavirus outbreak in Wuhan, China Clinical features of patients infected with 2019 novel coronavirus in Wuhan World Health Organization (2020) WHO announces COVID-19 outbreak a pandemic Clinical course and outcomes of critically ill patients with SARS-CoV-2 pneumonia in Wuhan, China: a single-centered, retrospective, observational study Interim guidelines for collecting, handling, and testing clinical specimens from persons under investigation (PUIs) for coronavirus disease 2019 (COVID-19) World Health Organization (WHO) (2020) Novel Coronavirus. (2019-nCoV) technical guidance: laboratory guidance clinical-management-of-severe-acute-respiratory-infection-whennovel-coronavirus-(ncov)-infection-is-suspected FDA (2020) Fact sheet for healthcare providers: CDC -2019-nCoV real-time RT-PCR diagnostic panel Chest CT for typical 2019-nCoV pneumonia: relationship to negative RT-PCR testing Use of chest CT in combination with negative RT-PCR assay for the 2019 novel coronavirus but high clinical suspicion Correlation of chest CT and RT-PCR testing in coronavirus disease 2019 (COVID-19) in China: a report of 1014 cases Clinical characteristics of coronavirus disease 2019 in China Coronavirus disease 2019 (COVID-19): a perspective from China CT imaging features of 2019 novel coronavirus (2019-nCoV) Outbreak of novel coronavirus (COVID-19): what is the role of radiologists? Essentials for radiologists on COVID-19: an update-radiology scientific expert panel Performance of radiologists in differentiating COVID-19 from viral pneumonia on chest CT Computer-aided detection and automated CT volumetry of pulmonary nodules A cloud-based computer-aided detection system improves identification of lung nodules on computed tomography scans of patients with extrathoracic malignancies Performance of computer-aided detection of pulmonary nodules in low-dose CT: comparison with double reading by nodule volume Lung cancer screening with CT: evaluation of radiologists and different computer assisted detection software (CAD) as first and second readers for lung nodule detection at different dose levels Deep-learning framework to detect lung abnormality -a study with chest X-ray and lung CT scan images A transfer learning method with deep residual network for pediatric pneumonia diagnosis Computer-aided diagnosis of pulmonary fibrosis using deep learning and CT images Deep learning for classifying fibrotic lung disease on high-resolution computed tomography: a case-cohort study A deep residual learning network for predicting lung adenocarcinoma manifesting as ground-glass nodule on CT images Quantitative CT analysis of pulmonary nodules for lung adenocarcinoma risk classification based on an exponential weighted grey scale angular density distribution feature Spectral analysis for pulmonary nodule detection using the optimal fractional S-transform 3D skeletonization feature based computer-aided detection system for pulmonary nodules in CT datasets Diagnosis of the coronavirus disease (COVID-19): rRT-PCR or CT? Practical Bayesian optimization of machine learning algorithms Receiver operating characteristic (ROC) analysis: basic principles and applications in radiology Ensemble-based classifiers Clinical features and chest CT manifestations of coronavirus disease 2019 (COVID-19) in a single-center study in Shanghai, China Artificial intelligence distinguishes COVID-19 from community acquired pneumonia on chest CT Application of deep learning technique to manage COVID-19 in routine clinical practice using CT images: results of 10 convolutional neural networks COVID-19: towards controlling of a pandemic Chest CT findings in coronavirus disease-19 (COVID-19): relationship to duration of infection Clinical characteristics and imaging manifestations of the 2019 novel coronavirus disease (COVID-19): a multi-center study in Wenzhou city Publisher's note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations