Skip to content

We are building an open database of COVID-19 cases with chest X-ray or CT images.

Notifications You must be signed in to change notification settings

Meganmli/covid-chestxray-dataset

 
 

Repository files navigation

🛑 Note: please do not claim diagnostic performance of a model without a clinical study! This is not a kaggle competition dataset. Please read this paper about evaluation issues: https://arxiv.org/abs/2004.12823 and https://arxiv.org/abs/2004.05405

COVID-19 image data collection (🎬 video about the project)

Project Summary: To build a public open dataset of chest X-ray and CT images of patients which are positive or suspected of COVID-19 or other viral and bacterial pneumonias (MERS, SARS, and ARDS.). Data will be collected from public sources as well as through indirect collection from hospitals and physicians. All images and data will be released publicly in this GitHub repo.

This project is approved by the University of Montreal's Ethics Committee #CERSES-20-058-D

View current images and metadata

Current stats of PA, AP, and AP Supine views. Labels 0=No or 1=Yes. Data loader is here

COVID19_Dataset num_samples=408 views=['PA', 'AP']
{'ARDS': {0.0: 393, 1.0: 15},
 'Bacterial Pneumonia': {0.0: 379, 1.0: 29},
 'COVID-19': {0.0: 96, 1.0: 312},
 'Chlamydophila': {0.0: 407, 1.0: 1},
 'Fungal Pneumonia': {0.0: 395, 1.0: 13},
 'Influenza': {0.0: 407, 1.0: 1},
 'Klebsiella': {0.0: 401, 1.0: 7},
 'Legionella': {0.0: 404, 1.0: 4},
 'Lipoid': {0.0: 405, 1.0: 3},
 'MERS': {0.0: 408},
 'Mycoplasma': {0.0: 404, 1.0: 4},
 'No Finding': {0.0: 393, 1.0: 15},
 'Pneumocystis': {0.0: 395, 1.0: 13},
 'Pneumonia': {0.0: 17, 1.0: 391},
 'SARS': {0.0: 392, 1.0: 16},
 'Streptococcus': {0.0: 395, 1.0: 13},
 'Varicella': {0.0: 404, 1.0: 4},
 'Viral Pneumonia': {0.0: 75, 1.0: 333}}

COVID19_Dataset num_samples=134 views=['AP Supine']
{'ARDS': {0.0: 133, 1.0: 1},
 'Bacterial Pneumonia': {0.0: 134},
 'COVID-19': {0.0: 12, 1.0: 122},
 'Chlamydophila': {0.0: 134},
 'Fungal Pneumonia': {0.0: 134},
 'Influenza': {0.0: 134},
 'Klebsiella': {0.0: 134},
 'Legionella': {0.0: 134},
 'Lipoid': {0.0: 134},
 'MERS': {0.0: 134},
 'Mycoplasma': {0.0: 134},
 'No Finding': {0.0: 130, 1.0: 4},
 'Pneumocystis': {0.0: 134},
 'Pneumonia': {0.0: 8, 1.0: 126},
 'SARS': {0.0: 134},
 'Streptococcus': {0.0: 134},
 'Varicella': {0.0: 134},
 'Viral Pneumonia': {0.0: 12, 1.0: 122}}

Annotations

Lung Bounding Boxes (license: CC BY-SA) contributed by Andrew Gough at General Blockchain, Inc.

Pneumonia severity scores for 94 images (license: CC BY-SA) from the paper Predicting COVID-19 Pneumonia Severity on Chest X-ray with Deep Learning

Generated Lung Segmentations (license: CC BY-SA) from the paper Lung Segmentation from Chest X-rays using Variational Data Imputation

Brixia score for 192 images (license: CC BY-NC-SA) from the paper End-to-end learning for semiquantitative rating of COVID-19 severity on Chest X-rays

Contribute

  • Submit data directly to the project. View our research protocol. Contact us to start the process.

  • We can extract images from publications. Help identify publications which are not already included using a GitHub issue (DOIs we have are listed in the metadata file). There is a searchable database of COVID-19 papers here, and a non-searchable one (requires download) here.

  • Submit data to these sites (we can scrape the data from them):

  • Provide bounding box/masks for the detection of problematic regions in images already collected.

  • See SCHEMA.md for more information on the metadata schema.

Formats: For chest X-ray dcm, jpg, or png are preferred. For CT nifti (in gzip format) is preferred but also dcms. Please contact with any questions.

Background

In the context of a COVID-19 pandemic, we want to improve prognostic predictions to triage and manage patient care. Data is the first step to developing any diagnostic/prognostic tool. While there exist large public datasets of more typical chest X-rays from the NIH [Wang 2017], Spain [Bustos 2019], Stanford [Irvin 2019], MIT [Johnson 2019] and Indiana University [Demner-Fushman 2016], there is no collection of COVID-19 chest X-rays or CT scans designed to be used for computational analysis.

The 2019 novel coronavirus (COVID-19) presents several unique features Fang, 2020 and Ai 2020. While the diagnosis is confirmed using polymerase chain reaction (PCR), infected patients with pneumonia may present on chest X-ray and computed tomography (CT) images with a pattern that is only moderately characteristic for the human eye Ng, 2020. In late January, a Chinese team published a paper detailing the clinical and paraclinical features of COVID-19. They reported that patients present abnormalities in chest CT images with most having bilateral involvement Huang 2020. Bilateral multiple lobular and subsegmental areas of consolidation constitute the typical findings in chest CT images of intensive care unit (ICU) patients on admission Huang 2020. In comparison, non-ICU patients show bilateral ground-glass opacity and subsegmental areas of consolidation in their chest CT images Huang 2020. In these patients, later chest CT images display bilateral ground-glass opacity with resolved consolidation Huang 2020.

Goal

Our goal is to use these images to develop AI based approaches to predict and understand the infection. Our group will work to release these models using our open source Chester AI Radiology Assistant platform.

The tasks are as follows using chest X-ray or CT (preference for X-ray) as input to predict these tasks:

  • Healthy vs Pneumonia (prototype already implemented Chester with ~74% AUC, validation study here)

  • Bacterial vs Viral vs COVID-19 Pneumonia (not relevant enough for the clinical workflows)

  • Prognostic/severity predictions (survival, need for intubation, need for supplemental oxygen)

Expected outcomes

Tool impact: This would give physicians an edge and allow them to act with more confidence while they wait for the analysis of a radiologist by having a digital second opinion confirm their assessment of a patient's condition. Also, these tools can provide quantitative scores to consider and use in studies.

Data impact: Image data linked with clinically relevant attributes in a public dataset that is designed for ML will enable parallel development of these tools and rapid local validation of models. Furthermore, this data can be used for completely different tasks.

Contact

PI: Joseph Paul Cohen. Postdoctoral Fellow, Mila, University of Montreal

Citations

Second Paper available here and source code for baselines

COVID-19 Image Data Collection: Prospective Predictions Are the Future, arXiv:2006.11988, 2020
Joseph Paul Cohen and Paul Morrison and Lan Dao and Karsten Roth and Tim Q Duong and Marzyeh Ghassemi
https://github.com/ieee8023/covid-chestxray-dataset
@article{cohen2020covidProspective,
  title={COVID-19 Image Data Collection: Prospective Predictions Are the Future},
  author={Joseph Paul Cohen and Paul Morrison and Lan Dao and Karsten Roth and Tim Q Duong and Marzyeh Ghassemi},
  journal={arXiv 2006.11988},
  url={https://github.com/ieee8023/covid-chestxray-dataset},
  year={2020}
}

Paper availabe here

COVID-19 image data collection, arXiv:2003.11597, 2020
Joseph Paul Cohen and Paul Morrison and Lan Dao
https://github.com/ieee8023/covid-chestxray-dataset
@article{cohen2020covid,
  title={COVID-19 image data collection},
  author={Joseph Paul Cohen and Paul Morrison and Lan Dao},
  journal={arXiv 2003.11597},
  url={https://github.com/ieee8023/covid-chestxray-dataset},
  year={2020}
}

License

Each image has license specified in the metadata.csv file. Including Apache 2.0, CC BY-NC-SA 4.0, CC BY 4.0.

The metadata.csv, scripts, and other documents are released under a CC BY-NC-SA 4.0 license. Companies are free to perform research. Beyond that contact us.

About

We are building an open database of COVID-19 cases with chest X-ray or CT images.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 86.2%
  • Python 13.8%