Resizes image
imout = imresize(imin, scale) imout = imresize(imin, scale, interp) imout = imresize(imin, [mrows ncols]) imout = imresize(imin, [mrows ncols], interp)
An image which will be resized.
The size of resized image is [width, height] x scale .
The size of resized image.
Interpolation method. The value of interp must be one of the follows:
nearest-neigbor interpolation (default value);
bilinear interpolation;
bicubic interpolation;
resampling using pixel area relation.
imresize resize the input image. When scale parameter is specified, the width and height of the image is resized in the same scale. There are four interpolation method can be used: nearest-neigbor, bilinear, bicubic and area methods. The default method is nearest-neigbor method.