-
I have a 3D label map that distinguishes organs by pixel values, and how I enhance the data to make it multichannel to facilitate the model to calculate losses |
Beta Was this translation helpful? Give feedback.
Answered by
KumoLiu
May 8, 2023
Replies: 1 comment 1 reply
-
Hi @LReion, I would suggest you use
Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LReion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @LReion, I would suggest you use
AsDiscrete
.https://github.com/Project-MONAI/MONAI/blob/e0d0ce7d94fc63f3d32fdf03520048f6ae4acaab/monai/transforms/post/array.py#L131
Thanks!