ykumards commited on
Commit
790f315
·
1 Parent(s): 26694a2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +47 -2
README.md CHANGED
@@ -39,6 +39,51 @@ pretty_name: Chest X-rays (Indiana University)
39
  size_categories:
40
  - 1K<n<10K
41
  ---
42
- # Dataset Card for "open-i"
43
 
44
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  size_categories:
40
  - 1K<n<10K
41
  ---
42
+ # Chest X-rays (Indiana University)
43
 
44
+ Copy of the kaggle dataset: https://www.kaggle.com/datasets/raddar/chest-xrays-indiana-university created by [raddar](https://www.kaggle.com/raddar)
45
+
46
+ ---
47
+ Open access chest X-ray collection from Indiana University
48
+
49
+ Original source: https://openi.nlm.nih.gov/
50
+
51
+ Original images were downloaded in raw DICOM standard. Each image was converted to png using some post-processing:
52
+
53
+ top/bottom 0.5% DICOM pixel values were clipped (to eliminate very dark or very bright pixel outliers)
54
+ DICOM pixel values scaled linearly to fit into 0-255 range
55
+ resized to 2048 on shorter side (to fit in Kaggle dataset limits)
56
+
57
+ Metadata downloaded using available API (https://openi.nlm.nih.gov/services#searchAPIUsingGET)
58
+
59
+ Each image classified manually into frontal and lateral chest X-ray categories.
60
+
61
+ License: [Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) ](https://creativecommons.org/licenses/by-nc-nd/4.0/)
62
+
63
+ ---
64
+
65
+ ### Usage
66
+
67
+ The lateral and frontal images of each uid are grouped together in an example. The images are stored as bytes, and can be loaded to PIL Image using the following method
68
+
69
+ ```
70
+ def load_image_from_byte_array(byte_array):
71
+ return Image.open(io.BytesIO(byte_array))
72
+ ```
73
+
74
+ ### Cite
75
+
76
+ Please site the original [source of the dataset](https://openi.nlm.nih.gov/).
77
+
78
+ ```
79
+ @article{demner2016preparing,
80
+ title={Preparing a collection of radiology examinations for distribution and retrieval},
81
+ author={Demner-Fushman, Dina and Kohli, Marc D and Rosenman, Marc B and Shooshan, Sonya E and Rodriguez, Laritza and Antani, Sameer and Thoma, George R and McDonald, Clement J},
82
+ journal={Journal of the American Medical Informatics Association},
83
+ volume={23},
84
+ number={2},
85
+ pages={304--310},
86
+ year={2016},
87
+ publisher={Oxford University Press}
88
+ }
89
+ ```