Resize image
returns image J
= imresize(I
,[numrows
numcols]
)J
that has the number of rows and columns
specified by the vector [numrows numcols]
.
___ = imresize(___,
uses name-value pair arguments to control various aspects of the resizing
operation.Name,Value
)
The function imresize
changed in
version 5.4 (R2007a). Previous versions of the Image Processing Toolbox™ used
a different algorithm by default. If you need the same results produced
by the previous implementation, use the function imresize_old
.
If the size of the output image is not an integer, then
imresize
does not use the scale specified.
imresize
uses ceil
when calculating
the output image size.