Resize an image
Note that if the image is 4D, then only the first 3 dimensions can be resized.
Also note that if the image is down-sampled, the appropriate smoothing is automatically applied. using Gaussian smoothing.
Automatic oversampling is applied except for nearest-neighbour interpolation, which uses no oversampling.
Typical usage:
Image::Filter::Resize resize_filter (input);
resize_filter.set_scale_factor (
scale);
resize_filter (src, dest);
static Image create(const std::string &image_name, const Header &template_header, bool add_to_command_history=true)
static Image open(const std::string &image_name, bool read_write_if_existing=false)
vector< ParsedArgument > argument
the list of arguments parsed from the command-line
mat4 scale(float x, float y, float z)
double default_type
the default type used throughout MRtrix
Definition at line 58 of file resize.h.