-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Is your feature request related to a problem? Please describe.
Pytorch's grid-sample function provides a GPU implementation of linear interpolation for image redsampling. Registration networks and warping-based augmentation layers may benefit from higher-order image resampling which is currently not available in either pytorch or MONAI.
Describe the solution you'd like
Implement a CUDA-based higher-order interpolation layer allowing for a backward pass (i.e. differentiable).
Describe alternatives you've considered
N/A
Additional context
NiftyNet ported the code from NiftyReg for that purpose: https://niftynet.readthedocs.io/en/dev/niftynet.contrib.niftyreg_image_resampling.html
This issue spins from #95 and relies on #785 for enabling a propoer packaging of such feature.