NIH ChestX-ray14
NIH Clinical Center Chest X-ray Dataset (ChestX-ray8 / ChestX-ray14)
Frontal chest radiographs with disease labels mined from reports, one of the first chest X-ray sets large enough for deep learning, used for multi-label classification and weakly supervised localization. 112,120 images of 30,805 patients with 14 labels, age, sex, view and about 1,000 boxes.
Overview
NIH ChestX-ray14 is a set of frontal chest radiographs released by the NIH Clinical Center in 2017. It grew out of the ChestX-ray8 work presented at CVPR 2017 and became one of the first chest X-ray collections large enough for deep learning. It is mostly used for multi-label classification and weakly supervised localization of thoracic findings.
Composition
The release contains 112,120 frontal images (PA or AP) of 30,805 patients, stored as 1024 x 1024 PNG files. The README states that the images are taken from the Clinical Center PACS and make up about 60% of all frontal chest radiographs there. Many patients have follow-up images. A metadata table gives, per image, the labels, follow-up number, patient id, age, sex, view position and the original size and pixel spacing. The ages and follow-up numbers were corrected in an April 2020 update of this table.
The creators provide a split at patient level: a training/validation list and a test list. All images of one
patient are in the same list. The numbers on this page count the official training/validation list as train.
Annotations
Fourteen findings were text-mined from the radiology reports with natural language processing: atelectasis, cardiomegaly, effusion, infiltration, mass, nodule, pneumonia, pneumothorax, consolidation, edema, emphysema, fibrosis, pleural thickening and hernia. Images without any of them are labelled "No Finding". An image can have several labels. About 1,000 images also have bounding boxes for one finding each. The reports themselves are not released.
Known limitations
- Labels come from reports, not from reading the images; the creators estimate their accuracy at over 90%.
- "No Finding" is not the same as normal: such images can show other diseases or uncertain findings.
- Only PNG images are available, without the original DICOM headers.
- Single US hospital; scanner and acquisition details are not documented.
- Counts on this page were computed from the public metadata file.
Cohort
Aggregate numbers from the sources below. Bars are relative to the 30,805 subjects.
Sex
- Female 14,175 46%
- Male 16,630 54%
Patient Sex column, Patient ID column in Data_Entry_2017_v2020.csv with test_list.txt and train_val_list.txt (public Box folder, use unrestricted per FAQ), counted per image and per unique Patient ID; joint cells below 10 dropped
Condition
Groups can overlap
- No finding 24,907 81%
- Pulmonary infiltrates 8,035 26%
- Atelectasis 4,981 16%
- Pleural effusion 4,275 14%
- Pulmonary nodule 3,394 11%
- Pulmonary mass 2,568 8%
- Pulmonary consolidation 2,150 7%
- Pleural thickening 2,006 7%
Finding Labels column, Patient ID column in Data_Entry_2017_v2020.csv with test_list.txt and train_val_list.txt (public Box folder, use unrestricted per FAQ), counted per image and per unique Patient ID; joint cells below 10 dropped
Condition by view
ImagesReported cross table. A dot marks a cell the source does not give.
| Posteroanterior | Anteroposterior | |
|---|---|---|
| No finding | 39,302 | 21,059 |
| Pulmonary infiltrates | 9,353 | 10,541 |
| Pleural effusion | 6,589 | 6,728 |
| Atelectasis | 5,728 | 5,831 |
| Pulmonary nodule | 4,177 | 2,154 |
| Pulmonary mass | 3,567 | 2,215 |
| Pneumothorax | 3,407 | 1,895 |
| Pulmonary consolidation | 1,521 | 3,146 |
| Pleural thickening | 2,418 | 967 |
| Cardiomegaly | 1,563 | 1,213 |
| Pulmonary emphysema | 1,499 | 1,017 |
| Pulmonary edema | 276 | 2,027 |
| Pulmonary fibrosis | 1,408 | 278 |
| Pneumonia | 630 | 801 |
| Hernia | 192 | 35 |
View Position column, Finding Labels column in Data_Entry_2017_v2020.csv with test_list.txt and train_val_list.txt (public Box folder, use unrestricted per FAQ), counted per image and per unique Patient ID; joint cells below 10 dropped
Sex by view
ImagesReported cross table. A dot marks a cell the source does not give.
| Posteroanterior | Anteroposterior | |
|---|---|---|
| Female | 30,167 | 18,613 |
| Male | 37,143 | 26,197 |
Patient Sex column, View Position column in Data_Entry_2017_v2020.csv with test_list.txt and train_val_list.txt (public Box folder, use unrestricted per FAQ), counted per image and per unique Patient ID; joint cells below 10 dropped
Age
mean 45.5 ± 16.7, median 47, range 0 to 95
Patient Age column, Patient ID column, Follow-up # column in Data_Entry_2017_v2020.csv with test_list.txt and train_val_list.txt (public Box folder, use unrestricted per FAQ), counted per image and per unique Patient ID; joint cells below 10 dropped
Split
- Training 28,008 91%
- Test 2,797 9%
test_list.txt / train_val_list.txt, Patient ID column in Data_Entry_2017_v2020.csv with test_list.txt and train_val_list.txt (public Box folder, use unrestricted per FAQ), counted per image and per unique Patient ID; joint cells below 10 dropped
View
- Posteroanterior 28,868 94%
- Anteroposterior 9,060 29%
View Position column, Patient ID column in Data_Entry_2017_v2020.csv with test_list.txt and train_val_list.txt (public Box folder, use unrestricted per FAQ), counted per image and per unique Patient ID; joint cells below 10 dropped
Condition by split
ImagesReported cross table. A dot marks a cell the source does not give.
| Training | Test | |
|---|---|---|
| No finding | 50,500 | 9,861 |
| Pulmonary infiltrates | 13,782 | 6,112 |
| Pleural effusion | 8,659 | 4,658 |
| Atelectasis | 8,280 | 3,279 |
| Pulmonary nodule | 4,708 | 1,623 |
| Pulmonary mass | 4,034 | 1,748 |
| Pneumothorax | 2,637 | 2,665 |
| Pulmonary consolidation | 2,852 | 1,815 |
| Pleural thickening | 2,242 | 1,143 |
| Cardiomegaly | 1,707 | 1,069 |
| Pulmonary emphysema | 1,423 | 1,093 |
| Pulmonary edema | 1,378 | 925 |
| Pulmonary fibrosis | 1,251 | 435 |
| Pneumonia | 876 | 555 |
| Hernia | 141 | 86 |
Finding Labels column, test_list.txt / train_val_list.txt in Data_Entry_2017_v2020.csv with test_list.txt and train_val_list.txt (public Box folder, use unrestricted per FAQ), counted per image and per unique Patient ID; joint cells below 10 dropped
Age by sex
Reported cross table. Missing cells were not published (fewer than 10 or not reported).
- 10980-89171
- 58270-791,062
- 1,88860-692,759
- 3,31250-593,805
- 3,17340-493,172
- 2,41730-392,523
- 1,76520-291,963
- 65110-19815
- 2720-9354
Patient Age column, Patient Sex column, Patient ID column, Follow-up # column in Data_Entry_2017_v2020.csv with test_list.txt and train_val_list.txt (public Box folder, use unrestricted per FAQ), counted per image and per unique Patient ID; joint cells below 10 dropped
License and access
Our reading of the license, not legal advice. Before you use the data, read the original license and confirm that your use is allowed. We take no responsibility for how you use a dataset. Full disclaimer
Download without an account
NIH Clinical Center ChestX-ray dataset terms (FAQ)
Not a formal license. The NIH Clinical Center's FAQ states that use is unrestricted, but asks users to link to the original download site, acknowledge the NIH Clinical Center and cite the CVPR 2017 paper.
What you can do
- Yes
- Yes
- Yes
- Yes
- Yes
What you can share
- Not stated
- Yes
- Share trained models Not stated
What you must do
- Yes
- Share alike No
- No
- No
- Manuscript review No
- Release code No
- No
- Delete after use No
Limits
- No re-identification Not stated
- Location limits No
Citation
Wang X, Peng Y, Lu L, Lu Z, Bagheri M, Summers RM. ChestX-ray8: Hospital-scale Chest X-ray Database and Benchmarks on Weakly-Supervised Classification and Localization of Common Thorax Diseases. IEEE CVPR 2017, pp. 3462-3471.
@InProceedings{wang2017chestxray,
author = {Wang, Xiaosong and Peng, Yifan and Lu, Le and Lu, Zhiyong and Bagheri, Mohammadhadi and Summers, Ronald},
title = {ChestX-ray8: Hospital-scale Chest X-ray Database and Benchmarks on Weakly-Supervised Classification and Localization of Common Thorax Diseases},
booktitle = {2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
pages = {3462--3471},
year = {2017}
} Sources
Every number on this page comes from one of these documents. Each chart names the table or page it is taken from. The raw numbers are in stats.csv.
- README_CHESTXRAY.pdf in the NIH Clinical Center Box folder website
- Data_Entry_2017_v2020.csv with test_list.txt and train_val_list.txt (public Box folder, use unrestricted per FAQ), counted per image and per unique Patient ID; joint cells below 10 dropped computed
- Wang et al. 2017, ChestX-ray8 (CVPR), arXiv 1705.02315 paper