-
Hi! I'm using monai.transforms.Spacingd to change the voxel size of my dataset. For interpolation of the data the option ("bilinear","nearest") is availabe. How does this interpolation work? Does it use a combination of bilinear and nearest interpolation? I also tried to use only "bilinear" interpolation. When applying this to a binary label (for segmentation), it returns a label with multiple values (non-binary). How does Supervisedtrainer handle non-binary labels when binary labels are requested? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @Gijz33 ,
Thanks. |
Beta Was this translation helpful? Give feedback.
Hi @Gijz33 ,
("bilinear", "nearest")
means to apply different interpolation mode for thekeys
accordingly, for example here usebilinear
for image andnearest
for label.Thanks.