I have a set of CT images and their masks (segmentations). What I want to do is to rotate/resample them without losing the correspondence between the image and the mask.
Using the LinearInterpolator yields good images but bad segmentation masks, and using the NearestNeighbourInterpolator yields better masks but bad images.
Using the LinearInterpolator on the image and the NearestNeighbourInterpolator on the mask yields an image and a mask that don’t really match.
What would you suggest in this situation?
Thank you very much in advance!