-
Hi, For example, I have a function that could segment the image, seg_func(image): return seg And I want something like this how could I implement this? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @BailiangJ , Thanks for your interest and experiments with MONAI. Thanks. |
Beta Was this translation helpful? Give feedback.
Hi @BailiangJ ,
Thanks for your interest and experiments with MONAI.
I think you can refer to the
SplitChanneld
transform, it saves every channel into a new key:https://github.com/Project-MONAI/MONAI/blob/dev/monai/transforms/utility/dictionary.py#L340
Thanks.