A faster image-resampling code for sampling/resampling inside neural nets.
The code is heavily based on NiftyReg.
The feature is optional and is not installed by default (installation instruction are in niftynet/contrib/niftyreg_image_resampling/README.md).
If the "implementation" flag of the resampling layer is set to "Fast", then if installed and if the resampling options are supported by the niftyreg_image_resampling layer, the niftyreg_image_resampling layer will be used. Otherwise it falls back to the previous implementation of the resampling layer.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My code follows the code style of this project.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
Todos
[ ] Tests
[x] Documentation
Impacted Areas in Application
List general components of the application that this PR will affect:
niftynet.layer.resampler (but the feature is optional as explained above)
Status
READY (but not tested on Mac and Windows)
Description
A faster image-resampling code for sampling/resampling inside neural nets. The code is heavily based on NiftyReg. The feature is optional and is not installed by default (installation instruction are in niftynet/contrib/niftyreg_image_resampling/README.md). If the "implementation" flag of the resampling layer is set to "Fast", then if installed and if the resampling options are supported by the niftyreg_image_resampling layer, the niftyreg_image_resampling layer will be used. Otherwise it falls back to the previous implementation of the resampling layer.
Types of changes
Todos
Impacted Areas in Application
List general components of the application that this PR will affect: