Skip to content

Commit 2e876cb

Browse files
fix bundle metadata errors (#734)
Signed-off-by: Yiheng Wang <[email protected]>
1 parent 32dfc1c commit 2e876cb

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

modules/bundle/spleen_segmentation/configs/metadata.json

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"authors": "MONAI team",
1717
"copyright": "Copyright (c) MONAI Consortium",
1818
"data_source": "Task09_Spleen.tar from http://medicaldecathlon.com/",
19-
"data_type": "dicom",
19+
"data_type": "nibabel",
2020
"image_classes": "single channel data, intensity scaled to [0, 1]",
2121
"label_classes": "single channel data, 1 is spleen, 0 is everything else",
2222
"pred_classes": "2 channels OneHot data, channel 1 is spleen, channel 0 is background",
@@ -32,19 +32,20 @@
3232
"inputs": {
3333
"image": {
3434
"type": "image",
35-
"format": "magnitude",
35+
"format": "hounsfield",
36+
"modality": "CT",
3637
"num_channels": 1,
3738
"spatial_shape": [
38-
160,
39-
160,
40-
160
39+
96,
40+
96,
41+
96
4142
],
4243
"dtype": "float32",
4344
"value_range": [
4445
0,
4546
1
4647
],
47-
"is_patch_data": false,
48+
"is_patch_data": true,
4849
"channel_def": {
4950
"0": "image"
5051
}
@@ -53,19 +54,20 @@
5354
"outputs": {
5455
"pred": {
5556
"type": "image",
56-
"format": "segmentation",
57+
"format": "hounsfield",
58+
"modality": "CT",
5759
"num_channels": 2,
5860
"spatial_shape": [
59-
160,
60-
160,
61-
160
61+
96,
62+
96,
63+
96
6264
],
6365
"dtype": "float32",
6466
"value_range": [
6567
0,
6668
1
6769
],
68-
"is_patch_data": false,
70+
"is_patch_data": true,
6971
"channel_def": {
7072
"0": "background",
7173
"1": "spleen"

0 commit comments

Comments
 (0)