Resample
Resample the input image or mask to a new resolution, using a user specified matrix size. Select if the resulting image share the same origin as the input, or the same center. The difference is illustrated in the figure below.
The blue image grid represents the input, where the circles mark the center of each voxel. The orange image grid represents two ways to align the output. Aligning the origin means aligning the center position of the first voxel in the image, and aligning the center means aligning the center positions of the input and the output. If you choose to align the center positions of the images, the origin of the output will be different from the input.
Inputs
Input
Input.
Type: Mask, Image, List, Required, Single
Outputs
Output
Output.
Type: Mask, Image, List
Settings
Matrix Size [px] Integers
Set the new matrix size.
Extrapolation Value Float
Set values for voxels in the output image that is outside the field-of-view of the input image.
Position Selection
Select alignment of the output image.
Values: Align Centers, Align Origins
Interpolator Selection
Select the interpolator. Nearest neighbour and linear transforms are fast, but give the least accurate results. Windowed sinc methods are more accurate, but are also slower.
Values: Nearest Neighbour, Linear, BSpline Order 2, BSpline Order 3, BSpline Order 4, BSpline Order 5, Gaussian, Hamming Windowed Sinc, Cosine Windowed Sinc, Welch Windowed Sinc, Lanczos Windowed Sinc, Blackman Windowed Sinc
See also
Keywords:
Copyright © 2023, Hero Imaging AB