Skip to content

Commit 4907910

Browse files
Revert "fix bundle metadata errors (#734)"
This reverts commit 2e876cb.
1 parent 2e876cb commit 4907910

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

modules/bundle/spleen_segmentation/configs/metadata.json

Lines changed: 11 additions & 13 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": "nibabel",
19+
"data_type": "dicom",
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,20 +32,19 @@
3232
"inputs": {
3333
"image": {
3434
"type": "image",
35-
"format": "hounsfield",
36-
"modality": "CT",
35+
"format": "magnitude",
3736
"num_channels": 1,
3837
"spatial_shape": [
39-
96,
40-
96,
41-
96
38+
160,
39+
160,
40+
160
4241
],
4342
"dtype": "float32",
4443
"value_range": [
4544
0,
4645
1
4746
],
48-
"is_patch_data": true,
47+
"is_patch_data": false,
4948
"channel_def": {
5049
"0": "image"
5150
}
@@ -54,20 +53,19 @@
5453
"outputs": {
5554
"pred": {
5655
"type": "image",
57-
"format": "hounsfield",
58-
"modality": "CT",
56+
"format": "segmentation",
5957
"num_channels": 2,
6058
"spatial_shape": [
61-
96,
62-
96,
63-
96
59+
160,
60+
160,
61+
160
6462
],
6563
"dtype": "float32",
6664
"value_range": [
6765
0,
6866
1
6967
],
70-
"is_patch_data": true,
68+
"is_patch_data": false,
7169
"channel_def": {
7270
"0": "background",
7371
"1": "spleen"

0 commit comments

Comments
 (0)