Apply Deformation
Resamples a deformed image baking in the deformation while adjusting the size to encompass the full deformation.
Input
A 2D or 3D image with a deformation attached.
Output
A new 2D or 3D image showing the same information as the imput image but without any attached deformation.
Description
You can configure the following options:
Check the Sample Nearest check box when you apply this algorithm to label maps. If this is checked the resampling will use nearest neighbor interpolation instead of linear interpolation.
If Adjust Size is checked the output image will be enlarged/shrunk to fit the entire deformed image. Otherwise, it will use the input pixel grid.
Check Use CPU to use the CPU version of the algorithm instead of the GPU/OpenGL one.
The Sampler Wrapping option allows you to configure how to deal with pixel lookups during resampling if the deformation yields a position outside of the input image.