Apply Transformation¶
Resamples a rotated image baking in the transformation while adjusting the size to encompass the full image.
Input¶
A 2D or 3D image with a rotational component in the pose matrix.
Output¶
A new 2D or 3D image showing the same information as the input image but with the pixel grid axis-aligned to the world coordinate system.
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.
- Check Create New Image to leave the original input image unchanged and create a new output image instead.
- 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.
- 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.