Angelou0516 commited on
Commit
89481c2
·
verified ·
1 Parent(s): b86f364

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +166 -143
README.md CHANGED
@@ -1,146 +1,169 @@
1
  ---
2
- dataset_info:
3
- - config_name: he
4
- features:
5
- - name: image
6
- dtype: image
7
- - name: mask
8
- dtype: image
9
- - name: image_with_context
10
- dtype: image
11
- - name: mask_with_context
12
- dtype: image
13
- - name: validation_fold
14
- dtype: string
15
- - name: patient_id
16
- dtype: int32
17
- - name: roi_id
18
- dtype: int32
19
- - name: name
20
- dtype: string
21
- - name: source
22
- dtype: string
23
- - name: specimen_type
24
- dtype: string
25
- - name: organ
26
- dtype: string
27
- - name: histological_subtype
28
- dtype: string
29
- - name: stain
30
- dtype: string
31
- - name: scanner
32
- dtype: string
33
- - name: shape
34
- dtype: string
35
- - name: area_mm2
36
- dtype: float32
37
- - name: original_tcga_id
38
- dtype: string
39
- splits:
40
- - name: train
41
- num_bytes: 3963751573
42
- num_examples: 408
43
- download_size: 3964118620
44
- dataset_size: 3963751573
45
- - config_name: nuclei
46
- features:
47
- - name: image
48
- dtype: image
49
- - name: patient_id
50
- dtype: int32
51
- - name: roi_id
52
- dtype: int32
53
- - name: name
54
- dtype: string
55
- - name: source
56
- dtype: string
57
- - name: specimen_type
58
- dtype: string
59
- - name: organ
60
- dtype: string
61
- - name: histological_subtype
62
- dtype: string
63
- - name: stain
64
- dtype: string
65
- - name: scanner
66
- dtype: string
67
- - name: shape
68
- dtype: string
69
- - name: area_mm2
70
- dtype: float32
71
- - name: original_tcga_id
72
- dtype: string
73
- splits:
74
- - name: train
75
- num_bytes: 96942013
76
- num_examples: 67
77
- - name: validation
78
- num_bytes: 55692546
79
- num_examples: 36
80
- - name: test
81
- num_bytes: 65050351
82
- num_examples: 32
83
- download_size: 217694424
84
- dataset_size: 217684910
85
- - config_name: pdl1
86
- features:
87
- - name: image
88
- dtype: image
89
- - name: patient_id
90
- dtype: int32
91
- - name: roi_id
92
- dtype: int32
93
- - name: name
94
- dtype: string
95
- - name: source
96
- dtype: string
97
- - name: specimen_type
98
- dtype: string
99
- - name: organ
100
- dtype: string
101
- - name: histological_subtype
102
- dtype: string
103
- - name: stain
104
- dtype: string
105
- - name: scanner
106
- dtype: string
107
- - name: shape
108
- dtype: string
109
- - name: area_mm2
110
- dtype: float32
111
- - name: original_tcga_id
112
- dtype: string
113
- splits:
114
- - name: train
115
- num_bytes: 1057978657
116
- num_examples: 185
117
- - name: validation
118
- num_bytes: 483032882
119
- num_examples: 61
120
- - name: test
121
- num_bytes: 51005544
122
- num_examples: 98
123
- download_size: 1592071431
124
- dataset_size: 1592017083
125
  configs:
126
- - config_name: he
127
- data_files:
128
- - split: train
129
- path: he/train-*
130
- - config_name: nuclei
131
- data_files:
132
- - split: train
133
- path: nuclei/train-*
134
- - split: validation
135
- path: nuclei/validation-*
136
- - split: test
137
- path: nuclei/test-*
138
- - config_name: pdl1
139
- data_files:
140
- - split: train
141
- path: pdl1/train-*
142
- - split: validation
143
- path: pdl1/validation-*
144
- - split: test
145
- path: pdl1/test-*
146
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-nc-sa-4.0
3
+ task_categories:
4
+ - image-segmentation
5
+ - object-detection
6
+ language:
7
+ - en
8
+ tags:
9
+ - medical
10
+ - pathology
11
+ - histopathology
12
+ - h-and-e
13
+ - pd-l1
14
+ - lung
15
+ - nsclc
16
+ - ignite
17
+ size_categories:
18
+ - n<1K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  configs:
20
+ - config_name: he
21
+ data_files:
22
+ - split: train
23
+ path: he/train-*
24
+ - config_name: pdl1
25
+ data_files:
26
+ - split: train
27
+ path: pdl1/train-*
28
+ - split: validation
29
+ path: pdl1/validation-*
30
+ - split: test
31
+ path: pdl1/test-*
32
+ - config_name: nuclei
33
+ data_files:
34
+ - split: train
35
+ path: nuclei/train-*
36
+ - split: validation
37
+ path: nuclei/validation-*
38
+ - split: test
39
+ path: nuclei/test-*
40
  ---
41
+
42
+ # IGNITE Data Toolkit (mirror)
43
+
44
+ Mirror of the **IGNITE Data Toolkit** by Spronck et al. (Radboud UMC),
45
+ originally distributed on [Zenodo (10.5281/zenodo.15674785)](https://zenodo.org/records/15674785)
46
+ and accompanied by [DIAGNijmegen/ignite-data-toolkit](https://github.com/DIAGNijmegen/ignite-data-toolkit).
47
+ The dataset accompanies *"A tissue and cell-level annotated H&E and PD-L1 histopathology image
48
+ dataset in non-small cell lung cancer"* ([arXiv:2507.16855](https://arxiv.org/abs/2507.16855)).
49
+
50
+ **License:** [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) —
51
+ non-commercial, share-alike. Attribution to the original authors is required.
52
+
53
+ ## Contents
54
+
55
+ 155 unique patients, 887 fully annotated regions of interest from a multi-stain,
56
+ multi-centric, multi-scanner cohort (Radboud UMC, Sacro Cuore Don Calabria, TCGA-LUAD/LUSC).
57
+ The release splits into three task-defined subsets, exposed here as named configs:
58
+
59
+ | Config | Task | ROIs |
60
+ |----------|---------------------------------------|-----:|
61
+ | `he` | H&E tissue compartment segmentation | 408 |
62
+ | `pdl1` | PD-L1+ tumor cell detection | 344 |
63
+ | `nuclei` | PD-L1 IHC nuclei detection | 135 |
64
+
65
+ ## H&E tissue segmentation (`he` config)
66
+
67
+ Each row is **one ROI** with paired image/mask in two field-of-view variants:
68
+
69
+ | Column | Type | Description |
70
+ |------------------------|---------|--------------------------------------------------------------|
71
+ | `image` | `Image` | Base ROI (inner annotated region only) |
72
+ | `mask` | `Image` | 16-class pixel mask aligned to `image` |
73
+ | `image_with_context` | `Image` | Same ROI extended to a 1792x1792 view (annotated context) |
74
+ | `mask_with_context` | `Image` | 16-class pixel mask aligned to `image_with_context` |
75
+ | `validation_fold` | string | 5-fold CV assignment (`fold0`..`fold4`) |
76
+ | `patient_id` | int32 | Patient identifier |
77
+ | `roi_id` | int32 | ROI index within patient |
78
+ | `name` | string | `patient<id>_he_roi<idx>` (matches the original release) |
79
+ | `source` | string | `rumc`, `scdc`, or `tcga` |
80
+ | `specimen_type` | string | `resection`, `biopsy`, or `tissue_microarray` |
81
+ | `organ` | string | Anatomical site (lung, liver, bone, brain, ...) |
82
+ | `histological_subtype` | string | `adenocarcinoma`, `squamous_cell_carcinoma`, ... |
83
+ | `stain` | string | Always `H&E` for this config |
84
+ | `scanner` | string | WSI scanner model |
85
+ | `shape` | string | Original `(height, width)` tuple as a string |
86
+ | `area_mm2` | float32 | Annotated tissue area in mm^2 |
87
+ | `original_tcga_id` | string | TCGA case ID for TCGA-sourced ROIs (empty otherwise) |
88
+
89
+ Labels (also shipped as `he_label_map.json`):
90
+
91
+ | ID | Class | ID | Class |
92
+ |---:|----------------------|---:|----------------------|
93
+ | 0 | Unannotated | 9 | Erythrocytes |
94
+ | 1 | Background | 10 | Bronchial epithelium |
95
+ | 2 | Tumor epithelium | 11 | Mucus/Plasma/Fluids |
96
+ | 3 | Reactive epithelium | 12 | Cartilage/Bone |
97
+ | 4 | Stroma | 13 | Macrophages |
98
+ | 5 | Inflammation | 14 | Muscle |
99
+ | 6 | Alveolar tissue | 15 | Liver |
100
+ | 7 | Fatty tissue | 16 | Keratinization |
101
+ | 8 | Necrotic tissue | | |
102
+
103
+ > **Mirror-specific note:** In the original Zenodo release, base ROI masks (the inner-crop view)
104
+ > store class label `L` as the byte value `(256 - L) mod 256` (e.g. label 4 -> byte 252).
105
+ > The `_with_context` masks already store labels directly. In this HuggingFace mirror **both
106
+ > `mask` and `mask_with_context` are written with the canonical 0..16 labels** — base masks were
107
+ > pre-decoded during upload, so downstream code does not need to handle the encoding quirk.
108
+
109
+ The `he` config has a single `train` split — use `validation_fold` to assemble
110
+ 5-fold cross-validation as recommended by the paper.
111
+
112
+ ## PD-L1 / nuclei detection (`pdl1`, `nuclei` configs)
113
+
114
+ These configs hold images plus per-image metadata only (same columns as `he` except no
115
+ `mask`/`_with_context` fields and no `validation_fold`). The detection ground truth is
116
+ in **MS-COCO JSON** format and is shipped as raw sidecar files because COCO-style nested
117
+ annotations are a poor fit for columnar parquet:
118
+
119
+ | Path | Subset | Notes |
120
+ |-------------------------------------|--------|--------------------------------------------|
121
+ | `coco/pdl1_annotations.json` | pdl1 | Main annotations |
122
+ | `coco/pdl1_test_set_all_readers.json` | pdl1 | Multi-reader test set |
123
+ | `coco/nuclei_annotations.json` | nuclei | Main annotations |
124
+ | `coco/nuclei_test_set_all_readers.json` | nuclei | Multi-reader test set |
125
+
126
+ Use the row's `name` field (== `image_id` in COCO `images[*].file_name = "<name>.png"`)
127
+ to look up bounding-box / point annotations.
128
+
129
+ Splits follow `data_overview.csv` directly (no fold column for the detection tasks).
130
+
131
+ ## Loading
132
+
133
+ ```python
134
+ from datasets import load_dataset
135
+
136
+ # H&E tissue segmentation (single train split, use validation_fold for 5-fold CV)
137
+ he = load_dataset("Angelou0516/IGNITE", "he", split="train")
138
+ print(he[0]["mask"]) # PIL Image L-mode, labels 0..16
139
+
140
+ # PD-L1+ tumor cell detection
141
+ pdl1 = load_dataset("Angelou0516/IGNITE", "pdl1")
142
+
143
+ # PD-L1 IHC nuclei detection
144
+ nuc = load_dataset("Angelou0516/IGNITE", "nuclei")
145
+ ```
146
+
147
+ For detection COCO annotations, download the JSON sidecars with `huggingface_hub.hf_hub_download`.
148
+
149
+ ## Sidecar files (raw)
150
+
151
+ - `he_label_map.json` — class id -> name
152
+ - `data_overview.csv` — per-ROI metadata (887 rows x 17 cols), authoritative for splits / folds
153
+ - `coco/*.json` — detection annotations (4 files, see table above)
154
+
155
+ ## Citation
156
+
157
+ ```bibtex
158
+ @article{Spronck2025ignite,
159
+ title = {A tissue and cell-level annotated H\&E and PD-L1 histopathology image dataset in non-small cell lung cancer},
160
+ author = {Spronck, Joey and van Eekelen, Leander and van Midden, Dominique and others},
161
+ journal = {arXiv preprint arXiv:2507.16855},
162
+ year = {2025},
163
+ doi = {10.48550/arXiv.2507.16855}
164
+ }
165
+ ```
166
+
167
+ Mirror maintained by `Angelou0516`. For the official authoritative release see the
168
+ [Zenodo record](https://zenodo.org/records/15674785) and
169
+ [GitHub toolkit](https://github.com/DIAGNijmegen/ignite-data-toolkit).