Chris Oswald commited on
Commit
799fa04
·
2 Parent(s): eb22bde 68434cd

Merge branch 'main' of https://huggingface.co/datasets/cdoswald/SPIDER

Browse files
Files changed (1) hide show
  1. README.md +45 -22
README.md CHANGED
@@ -9,7 +9,7 @@ tags:
9
  - segmentation
10
  ---
11
 
12
- # Dataset Card for Spine Segmentation: Discs, Vertebrae and Spinal Canal (SPIDER)
13
 
14
  The SPIDER dataset contains (human) lumbar spine magnetic resonance images (MRI) and segmentation masks described in the following paper:
15
 
@@ -28,7 +28,42 @@ Original data are available on [Zenodo](https://zenodo.org/records/8009680). Mor
28
  <figcaption>Example MRI scan with segmentation masks</figcaption>
29
  </figure>
30
 
31
- ## Getting Started
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  First, you will need to install the following dependencies:
34
 
@@ -40,24 +75,13 @@ Then you can load the SPIDER dataset as follows:
40
 
41
  ```python
42
  from datasets import load_dataset
43
-
44
  dataset = load_dataset("cdoswald/SPIDER, name="default", trust_remote_code=True)
45
  ```
46
 
47
  More detailed examples for [loading](tutorials/load_data.ipynb) the dataset with different configurations
48
  and using the dataset for [segmentation tasks](tutorials/segment_anything.ipynb) are provided in the [tutorials](tutorials) folder.
49
 
50
- ## Table of Contents
51
-
52
- (Placeholder--to be filled in at end of project)
53
-
54
- ## Dataset Description
55
-
56
- - **Paper:** [Lumbar spine segmentation in MR images: a dataset and a public benchmark](https://www.nature.com/articles/s41597-024-03090-w)
57
- - **Repository:** [Zenodo](https://zenodo.org/records/8009680)
58
- - **Grand Challenge:** [SPIDER Grand Challenge](https://spider.grand-challenge.org/)
59
-
60
- ### Dataset Summary
61
 
62
  The dataset includes 447 sagittal T1 and T2 MRI series collected from 218 patients across four hospitals.
63
  Segmentation masks indicating the vertebrae, intervertebral discs (IVDs), and spinal canal are also included.
@@ -67,7 +91,7 @@ In addition to MR images and segmentation masks, additional metadata (e.g., scan
67
  patient characteristics (biological sex and age, when available), and radiological gradings indicating specific degenerative
68
  changes can be loaded with the corresponding image data.
69
 
70
- ### Modifications to Original Data
71
 
72
  This version of the SPIDER dataset (i.e., available through the HuggingFace `datasets` library) differs from the original
73
  data available on [Zenodo](https://zenodo.org/records/8009680) in two key ways:
@@ -87,8 +111,7 @@ and 39 (15%) studies for the SPIDER Grand Challenge [hidden test set](https://sp
87
  their models to the SPIDER Grand Challenge, the original 218 studies that comprised the public training/validation set were further partitioned using a 60%/20%/20% split. The original split
88
  for each study (i.e., training or validation set) is recorded in the `OrigSubset` variable in the study's linked metadata.
89
 
90
-
91
- ## Dataset Structure
92
 
93
  ### Data Instances
94
 
@@ -160,19 +183,19 @@ The dataset is split as follows:
160
 
161
  - Training set:
162
  - 149 unique patients
163
- - 304 images
164
  - T1: 133 images
165
  - T2: 145 images
166
  - T2-SPACE: 26 images
167
  - Validation set:
168
  - 37 unique patients
169
- - 75 images
170
  - T1: 34 images
171
  - T2: 34 images
172
  - T2-SPACE: 7 images
173
  - Test set:
174
  - 32 unique patients
175
- - 68 images
176
  - T1: 29 images
177
  - T2: 31 images
178
  - T2-SPACE: 8 images
@@ -181,7 +204,7 @@ An additional hidden test set provided by the paper authors
181
  (i.e., not available via HuggingFace) is available on the
182
  [SPIDER Grand Challenge](https://spider.grand-challenge.org/spiders-challenge/).
183
 
184
- ## Image Resolution
185
 
186
  > Standard sagittal T1 and T2 image resolution ranges from 3.3 x 0.33 x 0.33 mm to 4.8 x 0.90 x 0.90 mm.
187
  > Sagittal T2 SPACE sequence images had a near isotropic spatial resolution with a voxel size of 0.90 x 0.47 x 0.47 mm.
@@ -192,7 +215,7 @@ for compatibility with the HuggingFace `datasets` library. If you want to use th
192
  load the original images from the local cache indicated in each example's `image_path` and `mask_path` features.
193
  See the data loading [tutorial](tutorials/load_data.ipynb) for more information.
194
 
195
- ## Additional Information
196
 
197
  ### License
198
 
 
9
  - segmentation
10
  ---
11
 
12
+ # Spine Segmentation: Discs, Vertebrae and Spinal Canal (SPIDER)
13
 
14
  The SPIDER dataset contains (human) lumbar spine magnetic resonance images (MRI) and segmentation masks described in the following paper:
15
 
 
28
  <figcaption>Example MRI scan with segmentation masks</figcaption>
29
  </figure>
30
 
31
+ # Dataset Description
32
+
33
+ - **Paper:** [Lumbar spine segmentation in MR images: a dataset and a public benchmark](https://www.nature.com/articles/s41597-024-03090-w)
34
+ - **Repository:** [Zenodo](https://zenodo.org/records/8009680)
35
+ - **Grand Challenge:** [SPIDER Grand Challenge](https://spider.grand-challenge.org/)
36
+
37
+ # Table of Contents (TOC)
38
+
39
+ 1. [Getting Started](https://huggingface.co/datasets/cdoswald/SPIDER#getting-started)
40
+
41
+ 2. [Dataset Summary](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
42
+
43
+ 3. [Data Modifications](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
44
+
45
+ 4. [Dataset Structure](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
46
+
47
+ - [Data Instances](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
48
+
49
+ - [Data Format/Fields](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
50
+
51
+ - [Data Splits](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
52
+
53
+ 5. [Image Resolution](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
54
+
55
+ 6. [Additional Information](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
56
+
57
+ - [License](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
58
+
59
+ - [Citation](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
60
+
61
+ - [Disclaimer](https://huggingface.co/datasets/cdoswald/SPIDER#dataset-summary)
62
+
63
+
64
+ <br>
65
+
66
+ # Getting Started
67
 
68
  First, you will need to install the following dependencies:
69
 
 
75
 
76
  ```python
77
  from datasets import load_dataset
 
78
  dataset = load_dataset("cdoswald/SPIDER, name="default", trust_remote_code=True)
79
  ```
80
 
81
  More detailed examples for [loading](tutorials/load_data.ipynb) the dataset with different configurations
82
  and using the dataset for [segmentation tasks](tutorials/segment_anything.ipynb) are provided in the [tutorials](tutorials) folder.
83
 
84
+ # Dataset Summary
 
 
 
 
 
 
 
 
 
 
85
 
86
  The dataset includes 447 sagittal T1 and T2 MRI series collected from 218 patients across four hospitals.
87
  Segmentation masks indicating the vertebrae, intervertebral discs (IVDs), and spinal canal are also included.
 
91
  patient characteristics (biological sex and age, when available), and radiological gradings indicating specific degenerative
92
  changes can be loaded with the corresponding image data.
93
 
94
+ # Data Modifications
95
 
96
  This version of the SPIDER dataset (i.e., available through the HuggingFace `datasets` library) differs from the original
97
  data available on [Zenodo](https://zenodo.org/records/8009680) in two key ways:
 
111
  their models to the SPIDER Grand Challenge, the original 218 studies that comprised the public training/validation set were further partitioned using a 60%/20%/20% split. The original split
112
  for each study (i.e., training or validation set) is recorded in the `OrigSubset` variable in the study's linked metadata.
113
 
114
+ # Dataset Structure
 
115
 
116
  ### Data Instances
117
 
 
183
 
184
  - Training set:
185
  - 149 unique patients
186
+ - 304 total images
187
  - T1: 133 images
188
  - T2: 145 images
189
  - T2-SPACE: 26 images
190
  - Validation set:
191
  - 37 unique patients
192
+ - 75 total images
193
  - T1: 34 images
194
  - T2: 34 images
195
  - T2-SPACE: 7 images
196
  - Test set:
197
  - 32 unique patients
198
+ - 68 total images
199
  - T1: 29 images
200
  - T2: 31 images
201
  - T2-SPACE: 8 images
 
204
  (i.e., not available via HuggingFace) is available on the
205
  [SPIDER Grand Challenge](https://spider.grand-challenge.org/spiders-challenge/).
206
 
207
+ # Image Resolution
208
 
209
  > Standard sagittal T1 and T2 image resolution ranges from 3.3 x 0.33 x 0.33 mm to 4.8 x 0.90 x 0.90 mm.
210
  > Sagittal T2 SPACE sequence images had a near isotropic spatial resolution with a voxel size of 0.90 x 0.47 x 0.47 mm.
 
215
  load the original images from the local cache indicated in each example's `image_path` and `mask_path` features.
216
  See the data loading [tutorial](tutorials/load_data.ipynb) for more information.
217
 
218
+ # Additional Information
219
 
220
  ### License
221