Skip to content

CUDA implementation of higher-order image resampling (e.g. cubic spline) #789

@tvercaut

Description

@tvercaut

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature requestModule: networksnetwork, layers, blocks definitions in PyTorchModule: transformdata transforms for preprocessing and postprocessing.WG: TransformsFor the transforms working group

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions