TransformJ: Scale
General Description
This plugin scales (resizes) images in the x-, y-, and z-dimension.
Dialog Description
x-Factor
The scaling factor for the input image in the x-dimension.
y-Factor
The scaling factor for the input image in the y-dimension.
z-Factor
The scaling factor for the input image in the z-dimension.
x-Size
The size of the output image in the x-dimension (specified in pixels).
y-Size
The size of the output image in the y-dimension (specified in pixels).
z-Size
The size of the output image in the z-dimension (specified as number of slices).
The scaling factors must be larger than zero. Otherwise an error message is generated and the operation aborted.
If any of the scaling factors is changed in the dialog, the corresponding size field is updated accordingly (clipped to a minimum of 1), and vice versa. The size fields are available as a convenience, both to know the size of the result image when specifying scaling factors, and, conversely, to automatically compute the scaling factors from specified image sizes. But the actual numbers used and recorded by the plugin are the scaling factors.
The scaling is applied to every frame in every channel of a 5D image.
Interpolation
Scaling can be done only by applying some form of interpolation. The currently available interpolation schemes for this operation are: nearest-neighbor, linear, cubic convolution [1], cubic B-spline [2,3,4], cubic O-MOMS [5], and quintic B-spline [2,3,4] interpolation, where, in general, the quality of the result should increase in that order.
Preserve physical image dimensions
By default the result image has the same voxel size as the input image, so scaling implies a physical scaling of the image content. If this option is selected, the voxel size of the result image is rescaled such that the physical dimensions of the image content are preserved.
References
R. G. Keys
Cubic Convolution Interpolation for Digital Image Processing
IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 29, no. 6, December 1981, pp. 1153-1160M. Unser
Splines: A Perfect Fit for Signal and Image Processing
IEEE Signal Processing Magazine, vol. 16, no. 6, November 1999, pp. 22-38P. Thevenaz, T. Blu, M. Unser
Interpolation Revisited
IEEE Transactions on Medical Imaging, vol. 19, no. 7, July 2000, pp. 739-758E. H. W. Meijering, W. J. Niessen, M. A. Viergever
Quantitative Evaluation of Convolution-Based Methods for Medical Image Interpolation
Medical Image Analysis, vol. 5, no. 2, June 2001, pp. 111-126T. Blu, P. Thevenaz, M. Unser
MOMS: Maximal-Order Interpolation of Minimal Support
IEEE Transactions on Image Processing, vol. 10, no. 7, July 2001, pp. 1069-1080