Replies: 3 comments
-
I have a dual channel 128 * 128 * 128 data, and I use EnsureChannelFirst(), torch.Size ([1, 2, 128, 128, 128, 1]), why is there an extra dimension? It shouldn't be torch.Size ([1, 2, 128, 128, 128,]) correct? |
Beta Was this translation helpful? Give feedback.
-
You can use MONAI/monai/transforms/utility/dictionary.py Line 927 in e5afa43
Thanks. |
Beta Was this translation helpful? Give feedback.
-
If I don't use EnsureChannelFirst(),torch.Size is ([1, 128, 128, 128, 1, 2]). Is that right? Using nibabel to read a multi-channel nii.gz, does the result automatically add one more dimension? |
Beta Was this translation helpful? Give feedback.
-
I have data.nii.gzl. Label.nii.gz and label_2.nii.gz, I would like to add label.nii.gz, Label_2.nii.gz is superimposed into a two channel data. Can LoadNiftid be automatically completed? What should I do?
Beta Was this translation helpful? Give feedback.
All reactions