Novel Coronavirus (COVID-19) has drastically overwhelmed more than 200 countries affecting millions and claiming almost 2 million lives, since its emergence in late 2019. This highly contagious disease can easily spread, and if not controlled in a timely fashion, can rapidly incapacitate healthcare systems. The current standard diagnosis method, the Reverse Transcription Polymerase Chain Reaction (RT- PCR), is time consuming, and subject to low sensitivity. Chest Radiograph (CXR), the first imaging modality to be used, is readily available and gives immediate results. However, it has notoriously lower sensitivity than Computed Tomography (CT), which can be used efficiently to complement other diagnostic methods. This paper introduces a new COVID-19 CT scan dataset, referred to as COVID-CT-MD, consisting of not only COVID-19 cases, but also healthy and participants infected by Community Acquired Pneumonia (CAP). COVID-CT-MD dataset, which is accompanied with lobe-level, slice-level and patient-level labels, has the potential to facilitate the COVID-19 research, in particular COVID-CT-MD can assist in development of advanced Machine Learning (ML) and Deep Neural Network (DNN) based solutions.
|Measurement(s)||Low Dose Computed Tomography of the Chest • viral infectious disease|
|Technology Type(s)||digital curation • image processing technique|
|Factor Type(s)||sex • gender • age group • weight • clinical characteristics • covid-19 RT-PCR result • follow-up data|
|Sample Characteristic - Organism||Homo sapiens|
Machine-accessible metadata file describing the reported data: https://doi.org/10.6084/m9.figshare.13583015
Background & Summary
Since its first emergence in late 2019, novel Coronavirus (COVID-19) has drastically changed the world, impacting several aspects of the modern life. According to the World Health Organization (WHO), as of January 2021, more than 200 countries have confirmed positive COVID-19 cases, leading to more than 90 million cases and almost 2 million reported fatalities. Considering statistics and impacts together with the fact that COVID-19 can easily spread if infected cases are not isolated/treated in a timely fashion, sensitive and accessible diagnosis systems are of significant importance. Reverse Transcription Polymerase Chain Reaction (RT- PCR)1, which is currently considered as the gold standard diagnosis technique, suffers from relatively low sensitivity and the outcome highly depends on the area from which the sample is obtained, and therefore, it is operator dependant. More importantly, this test is time consuming that is not desirable as time is a critical factor in isolating, treating, and preventing the transition of COVID-19. Medical imaging is highly topical and potentially of significant clinical importance as the pandemic evolves, especially where access to RT-PCR tests is limited, unreliable or where the timeframe for an RT-PCR test might provide less optimal care than an immediate confirmation. Being able to identify COVID-19-related respiratory complications, Chest Radiographs (CXR), can play an important complementary role for the RT- PCR test to asses complications. Moreover, imaging follows more standardized protocols and is less dependent on the operator’s experience. COVID-19 manifestation in images has shown correlation with the disease severity, providing a means for its progression assessment. The outcome of the RT-PCR, however, does not identify the disease severity or stage. Although, CXR can act as a quantitative method to assess the extent of COVID-19 involvement and estimate the risk of Intensive Care Unit (ICU) admission, it still has lower sensitivity compared to Computed Tomography (CT)2. Due to high sensitivity and rapid access, chest CT plays a significant role in diagnosis and management of COVID-19 and has been recognized as the most sensitive imaging modality to detect complications3. It is worth noting that the developed imaging-based AI algorithms for the purpose of COVID-19 diagnosis can pave the path for the development of similar automatic systems for potential future pandemics, for which RT-PCR tests are not available.
Despite the high potential of CT in contributing to the COVID-19 research and clinical usage, publicly available datasets are mostly limited to a few number of cases, are not accompanied with other types of respiratory diseases to facilitate comparisons, and are not associated with suitable labels. Furthermore, cases may be collected from different sources with different imaging protocols, limiting a unified study. In a few identified datasets, available CT scans are limited to only infected slices, rather than the complete volume. Another important aspect that should be considered in the available datasets is that whether labels are available in a patient-level, slice-level, and lobe-level fashion. The later can further contribute to identify the location of the COVID-19 infection. Finally, different types of labels and information, suitable for different tasks, are provided in identified datasets. Table 1 provides an overview of the available datasets along with the provided COVID-19 related information.
The introduced COVID-19 CT scan dataset, referred to as the COVID-CT-MD, is applicable in Machine Learning (ML) and deep learning studies of COVID-19 classification. In particular, COVID-CT-MD dataset consists of 169 confirmed positive COVID-19 cases (gathered from 2020/02/23 to 2020/04/21), 76 normal cases (gathered from 2019/01/21 to 2020/05/29), and 60 Community Acquired Pneumonia (CAP) cases (gathered from 2018/04/03 to 2019/11/24). All these cases are collected from Babak Imaging Center in Tehran, Iran, and labeled by three experienced radiologists in patient-level, slice-level, and lobe-level manners. Patient-level label refers to a single diagnosis assigned to the participant, whereas slice-level and lobe-level refer to identifying slices and lobes demonstrating infection, respectively. More importantly, the whole CT volume is available for all the participants. COVID-CT-MD is presented in Table 1, along with the previous datasets, to highlight its differences. Regarding Reference4, we would like to mention that while this Reference provides only COVID-19 and normal cases, COVID-CT-MD provides CAP cases additionally. Furthermore, COVID-CT-MD is the only classification-related dataset that contains lobe-level information, which can significantly improve and contribute to the localization and analysis of the COVID-19 infection.
This section provides a description of the data collection procedure, inclusion criteria, and de-identification. Furthermore, detailed statistics of the data is presented to facilitate its usage. More importantly, applicability of the COVID-CT-MD dataset for development of ML/DNN solutions is explained. This section is concluded by describing the possible limitations of the provided dataset. This research work is performed based on the policy certification number 30013394 of Ethical acceptability for secondary use of medical data approved by Concordia University, Montreal, Canada. Furthermore, informed consent is obtained from all the patients.
The COVID-CT-MD dataset contains volumetric chest CT scans of 169 patients positive for COVID-19 infection, 60 patients with CAP, and 76 normal patients. COVID-19 cases are collected from February 2020 to April 2020, whereas CAP cases and normal cases are collected from April 2018 to December 2019 and January 2019 to May 2020, respectively, in Babak Imaging Center, Tehran, Iran. Three main criteria are considered by three radiologists for classifying the participants, as follows:
Imaging findings including:
Ground Glass Opacities (GGOs), referring to hazy transparent opacities;
Consolidation pattern, which means the air in the alveoli and peripheral bronchioles is replaced by fluid;
Crazy Paving, referring to thickened interlobular septa and intralobular lines superimposed on a background of ground-glass opacity;
Bilateral and multifocal lung involvement;
Peripheral distribution; and
More distribution in lower lobes.
Clinical findings including symptoms, characteristics, patient history, and RT-PCR outcome if available; and
Epidemiology, referring to whether the participant comes from high risk areas or has had close contact with a positive COVID-19 patient.
If a participant is identified positive according to all three criteria, COVID-19 label is assigned. Otherwise, the participant is classified as either CAP or normal. This procedure is followed by the three radiologists. Subsequently the majority voting is adopted for the final assignment. The three radiologists have 88.9% agreement in identifying COVID-19, CAP, and normal cases, whereas the first and second radiologists have 91.1% agreement, the first and third radiologists have 97.4% agreement, and the second and third radiologists have 89.1% agreement.
A subset of 54 COVID-19, and 25 CAP cases were analyzed by the first radiologist to identify and label slices with evidence of infection. The labeled subset of the data contains 4,957 number of slices demonstrating infection and 18,392 number of slices without infection.
Besides CT slices, clinical data is collected for the patients, which includes the following:
Clinical characteristics: including symptoms, reason for scanning, and patients’ history;
Follow-up: some of the COVID-19 patients are followed-up after scanning and their status including recovery, hospital admission, and death is recorded;
RT-PCR: positive RT-PCR outcome is available for some of the COVID-19 patients.
CT scans are comprised of cross-sectional 2D images from thin sections of the body (slices), creating a 3D representation of the structures inside the body. In the modern CT scanners, a rotating X-ray generator sends multiple X-ray beams into the object from multiple angles. The amount of the radiation passed through the object is then captured by sensitive radiation detectors, followed by a computer-assisted process, which reconstructs the information obtained from the detectors into detailed sequential images using image reconstruction techniques5. All images in COVID-CT-MD are obtained from a SIEMENS, SOMATOM Scope scanner in the axial view, using the helical acquisition technique, i.e., the patient is moved through the gantry while the X-ray beams and detectors are spinning rapidly around the patient. The images are reconstructed using the Filtered Back Projection (FBP) reconstruction method6. The reconstruction matrix size (output size of the images) is set to 512 × 512, and the D40s reconstruction kernel is used to reduce the blurring and noise by modifying the frequency contents of the data during the image reconstruction in the scanner7. Finally, all images are provided in the Hounsfield Unit and saved in the Digital Imaging and Communications in Medicine (DICOM) format. It is worth mentioning that following the recommended chest CT protocols for suspected cases or follow up of metastasis, bronchiectasis, interstitial lung disease and pulmonary infections8 all images are Non-Contrast CT (NCCT) and none of them is CT Pulmonary Angiography (CTPA). Acquired images are, consequently, reconstructed into high resolution CT (HRCT).
Table 2 shows different CT acquisition settings, where Peak KiloVoltage (kVp) and Exposure Time affect the radiation exposure dose, while slice thickness represents the axial resolution. As shown in Table 2, slice thickness, kVP, and exposure time are almost the same with a few variations in a few CAP cases. Distance of Source to detector and Distance of Source to patient, which are traditionally referred to as SID and SOD, respectively, are also the same in all cases except for a few CAP cases. The minimum and maximum exposure value (in mAs) used in the scanning process is also presented in Table 2. The exposure value determines the total radiation dose in CT scan. The distribution of the exposure values is illustrated by the violin plots for each disease type in Fig. 1. Accordingly, the mean and standard deviation of the exposure values are reported in Table 3.
CT Acquisition care in the medical imaging department
As COVID-19 is highly contagious, all the staff of the medical imaging department involved in the CT acquisition are provided with personnel protective equipment (PPE). More importantly, there is a minimum of 5-minute time slack between two consecutive CT scans, allowing enough time to sanitize the CT scanner.
Data inclusion and exclusion criteria
All cases with confirmed clinical diagnosis are included in the dataset. Nevertheless, during the data collection procedure, there were some cases related to the late 2019, with manifestations similar to those of COVID-19. However, as the first COVID-19 case in Iran is reported in early February 2020, these cases were excluded from the dataset. Furthermore, according to the radiologists’ assessment, images with poor quality and visible artifacts were excluded. In summary, 320 cases were initially screened, among which 5% (15 cases) were excluded according to the radiologists’ judgement, allowing 305 high quality CT studies.
To respect the patients’ privacy and comply with the DICOM supplement 142 (Clinical Trial De-identification Profiles)9, we have de-identified all the CT studies by removing or obfuscating every names, UIDs, dates, times, comments, and center-related information. Some helpful DICOM attributes related to the patients’ gender and age, the scanner type, and the image acquisition settings have been retained to preserve the statistical characteristics of the dataset. Patient’s ID and UID attributes which are necessary to retain the consistency of the CT studies are replaced by new generated values which does not allow the identification of the patients.
The demographic distribution of the dataset describing the gender and age distributions is illustrated in Table 4 and Fig. 2. Please note that, no restrictions were imposed on the participants to indicate a binary response. As shown in Fig. 2(a), males outnumbered females in this dataset. However, we would like to mention that although male cases are dominant, according to a recent study10, there is no correlation between the CT score and participants’ gender. Furthermore, this dominance is common in most of the COVID-19-related datasets3, possibly because men are more vulnerable to COVID-19, compared to women11. The boxplot in Fig. 2(b) represents the important statistical parameters of the patients’ age distribution. As shown in this boxplot, normal cases are mainly distributed in lower ages, while CAP cases are distributed in a wide range of ages with a higher average age. Regarding the ethnicity of the patients, the participants are Iranian (more than 60% Persian). Potential combination of the COVID-CT-MD dataset with other available ones, presented in Table 1, improves the applicability of AI algorithms to different populations.
As previously stated, part of the dataset is analyzed and the slice-level labels are extracted. The number of labeled cases and slices demonstrating infection are presented in Table 5. Infection ratio in this table represents the ratio of the slices demonstrating infection to the total number of slices in a CT scan, which varies for different cases based on the severity and stage of the disease. The minimum and maximum values for the infection ratio in the labeled dataset are presented in Table 5. The distribution of the Infection Ratio is also illustrated by the boxplots in Fig. 3(a), which demonstrate a higher infection ratio in COVID-19 cases compared to CAP cases. The histogram of the Infection Ratio values is illustrated in Fig. 3(b).
In addition to the described slice-level labels, the detailed distribution of infection in each lobe of the lung is provided by the radiologists. Table 6 indicates the number of cases and slices with infection demonstrated in specific lung regions. Similar to Fig. 3, where the infection ratio was presented for the total slices with infection in the lung, the average of lobe infection ratios are presented in Fig. 4, illustrating the average ratio of slices demonstrating infection in a particular lobe to the total number of slices in a CT scan. As evident in Table 6 and Fig. 4, the average infection ratio in the lower lobes is higher in both COVID-19 and CAP cases compared to other lung regions in our labeled dataset.
Although all cases and labels are confirmed by three experienced radiologists, we would like to describe a few limitations that the data users may encounter. These limitations are as follows:
The slice and lobe labeling processes focus more on regions with distinctive manifestations rather than minimal findings.
Not all the COVID-19 patients have confirmed positive RT-PCR result, as this test was not publicly accessible in Iran at the time of the first emergence of the COVID-19. Furthermore, the high load of patients in need of COVID-19 examination, did not allow for an inclusive RT-PCR test. The diagnosis of some patients in the COVID-CT-MD dataset is confirmed based on the CT findings, as well as the clinical results and epidemiology.
Although most of the cases with low quality CT scans are excluded, there may still be some cases with mild motion artifact which is inevitable, since COVID-19 patients suffer from dyspnea.
During the slice and lobe labeling process, some suspicious areas adjacent to the chest wall and diaphragm are not labeled as “infected”, due to their poor distinction.
The diagram in Fig. 5 shows the structure of the COVID-CT-MD dataset. The COVID-CT-MD dataset is accessible through Figshare12. COVID-19, CAP and Normal participants are placed in separate folders, within which patients are arranged in folders, followed by CT scan slices in DICOM format. “Index.csv” is related to the patients having slice-level and lobe-level labels. The indices given to patients in “Index.csv” file are then used in “Slice-level-labels.npy” and “Lobe-level-labels.npy” to indicate the slice and lobe labels. “Slice-level-labels.npy” is a 2D binary Numpy array in which the existence of infection in a specific slice is indicated by 1 and the lack of infection is shown by 0. In “Slice-level-labels.npy”, the first dimension represents the case index and the second one represents the slice numbers. “Lobe-level-labels.npy” is a 3D binary Numpy array in which the existence of infection in a specific lobe and slice is determined by 1 in the corresponding element of the array. Like the slice-level array, in “Lobe-level-labels.npy”, the two first dimensions represent the case index and slice numbers respectively. The third dimension shows the lobe indices which are specified as follows:
0: Left Lower Lobe (LLL)
1: Left Upper Lobe (LUL)
2: Right Lower Lobe (RLL)
3: Right Middle Lobe (RML)
4: Right Upper Lobe (RUL)
It is worth noting that CT slices are sorted based on the “Slice Location” value stored in the corresponding DICOM tag “(0020,1041) - DS - Slice Location”. The slice-level and lobe-level labels are provided according to described slice order. The researchers, however, can re-arrange the slices using other CT attributes based on their preference, as long as they re-arrange the labels accordingly. The COVID-CT-MD dataset is also accompanied with the clinical data, stored in “Clinical-data.csv”. Finally, to facilitate the inter-observer reliability studies, labels assigned by the three radiologists are separately provided in “Radiologists-separated-labels.csv”.
Two noteworthy parameters in the studies using CT scans are the quality control and calibration of the scanning device. The longest time period between the scanner auto-calibration and the study in the COVID-CT-MD dataset is 1 day, which ensures calibrated and accurate performance of the scanning device. Furthermore, there is an annual SIEMENS quality control that ensures the absence of ring artifacts in the acquired CT scans.
With the increasing number of COVID-19 patients, healthcare workers are overwhelmed with a heavy workload, lowering their concentration for a proper diagnosis. Accurate and timely COVID-19 diagnosis, on the other hand, is a critical factor in preventing the disease transition, treatment, and resource allocation. Machine Learning (ML), in particular Deep Learning (DL) based on Deep Neural Networks (DNN), is shown to be practical and effective in COVID-19 diagnosis and severity assessment. The COVID-CT-MD dataset is specifically designed to facilitate application of ML/DL in COVID-19-related tasks. In particular, this dataset can be used towards:
A patient-level multi-class classification13 to identify COVID-19, CAP, and normal participants.
A slice-level15 and lobe-level classification to separate infected slices and lobes from non-infected ones for further analysis.
Slice-level and lobe-level labels can be used as additional inputs to segmentation models16, to focus on only infected slices.
Slice-level and lobe-level labels can be used in generative models to generate artificial COVID-19 images, towards increasing the security of the healthcare systems and developing attack resilient solutions17.
We have utilized the COVID-CT-MD dataset in our recent studies18,19, to classify participants as COVID-19 or non-COVID (Normal and CAP). The models proposed in these studies consist of two stages. In the first stage, infected slices (COVID-19 and CAP) are separated from healthy ones, through a developed Capsule Network. Consequently, in the second stage, infected slices are used to classify patients as COVID-19 or non-COVID. While the first stage exploits the provided slice-level labels, the patient-level ones are used in the second stage. It is worth mentioning that we continue the slice/lobe labeling to include all the cases. Although the slice/lobe labels are still incomplete, the first stage models in the underlying studies18,19 achieve an accuracy of almost 93%. Data users are encouraged to train and test their methods on the COVID-CT-MD dataset and compare their results, accordingly.
The Python code used to generate the statistical analysis and plots is shared within the same Figshare link12, with the name “Statistical_Analysis.py”.
Xu, X. et al. A deep learning system to screen novel coronavirus disease 2019 pneumonia. Engineering https://doi.org/10.1016/j.eng.2020.04.010 (2020).
Borakati, A., Perera, A., Johnson, J. & Sood, T. Diagnostic accuracy of X-ray versus CT in COVID-19: a propensity-matched database study. BMJ Open 10, e042946, https://doi.org/10.1136/bmjopen-2020-042946 (2020).
Sun, Z., Zhang, N., Li, Y. & Xu, X. A systematic review of chest imaging findings in covid-19. Quantitative imaging in medicine and surgery 10, 1058–1079, https://doi.org/10.21037/qims-20-564 (2020).
Rahimzadeh, M., Attar, A. & Sakhaei, S. A fully automated deep learning-based network for detecting covid-19 from a new and large lung ct scan dataset. Biomedical Signal Processing and Control 68, 102588, https://doi.org/10.1016/j.bspc.2021.102588 (2021).
Dhawan, A. P. Medical Imaging Modalities: X-Ray Imaging. Medical Image Analysis 79–97, https://doi.org/10.1002/9780470918548.ch4 (2011).
Katsevich, A. Theoretically Exact Filtered Backprojection-Type Inversion Algorithm for Spiral CT. SIAM Journal on Applied Mathematics 62, 2012–2026, https://doi.org/10.1137/S0036139901387186 (2002).
Seeram, E. Computed Tomography: Physical Principles and Recent Technical Advances. Journal of Medical Imaging and Radiation Sciences 41, 87–109, https://doi.org/10.1016/j.jmir.2010.04.001 (2010).
Bhalla, A. et al. Imaging protocols for ct chest: A recommendation. Indian Journal of radiology and imaging 29, 236–246, https://doi.org/10.4103/ijri.IJRI_34_19 (2019).
Committee, D. S., Group, W., Trials, C. & Text, F. Supplement 142: Clinical Trial De-identification Profiles. DICOM Standard 1–44 (2011).
Francone, M. et al. Chest ct score in covid-19 patients: correlation with disease severity and short-term prognosis. European Radiology 30, 6808–6817, https://doi.org/10.1007/s00330-020-07033-y (2020).
Bwire, G. Coronavirus: Why men are more vulnerable to covid-19 than women? SN Comprehensive Clinical Medicine 2, 874–876, https://doi.org/10.1007/s42399-020-00341-w (2020).
Afshar, P. et al. Covid-ct-md: Covid-19 computed tomography (ct) scan dataset applicable in machine learning and deep learning. Figshare https://doi.org/10.6084/m9.figshare.12991592 (2021).
Ozturk, T. et al. Automated detection of covid-19 cases using deep neural networks with x-ray images. Comput Biol Med https://doi.org/10.1016/j.compbiomed.2020.103792 (2020).
Afshar, P. et al. COVID-CAPS: A capsule network-based framework for identification of COVID-19 cases from X-ray images. Pattern Recognition Letters 138, 638–643, https://doi.org/10.1016/j.patrec.2020.09.010 (2020).
Yan, T. et al. Automatic distinction between covid-19 and common pneumonia using multi-scale convolutional neural network on chest ct scans. Chaos Solitons Fractals, https://doi.org/10.1016/j.chaos.2020.110153 (2020).
Fan, D. et al. Inf-Net: Automatic COVID-19 Lung Infection Segmentation From CT Images. IEEE Transactions on Medical Imaging 39, 2626–2637, https://doi.org/10.1109/TMI.2020.2996645 (2020).
Mirsky, Y., Mahler, T., Shelef, I. & Elovici, Y. Ct-gan: Malicious tampering of 3d medical imagery using deep learning. In 28th USENIX Security Symposium (USENIX Security 19), 461–478 (USENIX Association, Santa Clara, CA, 2019).
Heidarian, S. et al. Covid-fact: A fully-automated capsule network-based framework for identification of covid-19 cases from chest ct scans. Preprint at http://arxiv.org/abs/2010.16041 (2020).
Heidarian, S. et al. Ct-caps: Feature extraction-based automated framework for covid-19 disease identification from chest ct scans using capsule networks. Preprint at http://arxiv.org/abs/2010.16043 (2020).
Bjorke, H. Covid-19 segmentation dataset. MedSeg http://medicalsegmentation.com/covid19/ (2020).
Jun, M. et al. Covid-19 ct lung and infection segmentation dataset (version verson 1.0). Zenodo https://doi.org/10.5281/zenodo.3757476 (2020).
Cohen, J. P., Morrison, P. & Dao, L. Covid-19 image data collection. Preprint at http://arxiv.org/abs/2003.11597 (2020).
Morozov, S. et al. Mosmeddata: Chest ct scans with covid-19 related findings dataset. Preprint at https://arxiv.org/abs/2005.06465 (2020).
Zhao, J., Zhang, Y., He, X. & Xie, P. Covid-ct-dataset: a ct scan dataset about covid-19. Preprint at https://arxiv.org/abs/2003.13865 (2020).
Soares, E., Angelov, P., Biaso, S., Higa Froes, M. & Kanda Abe, D. Sars-cov-2 ct-scan dataset: A large dataset of real patients ct scans for sars-cov-2 identification. Preprint at medRxiv, https://doi.org/10.1101/2020.04.24.20078584 (2020).
Jacob, J. et al. Using imaging to combat a pandemic: rationale for developing the uk national covid-19 chest imaging database. European Respiratory Journal 56, 2001809, https://doi.org/10.1183/13993003.01809-2020 (2020).
This work was partially supported by the Natural Sciences and Engineering Research Council (NSERC) of Canada through the NSERC Discovery Grant RGPIN-2016-04988.
The authors declare no competing interests.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Afshar, P., Heidarian, S., Enshaei, N. et al. COVID-CT-MD, COVID-19 computed tomography scan dataset applicable in machine learning and deep learning. Sci Data 8, 121 (2021). https://doi.org/10.1038/s41597-021-00900-3