Resize image
returns image B
= imresize(A
,scale
)B
that is scale
times
the size of A
. The input image A
can
be a grayscale, RGB, or binary image. If A
has more than
two dimensions, imresize
only resizes the first two
dimensions. If scale
is in the range [0, 1],
B
is smaller than A
. If
scale
is greater than 1, B
is
larger than A
. By default, imresize
uses
bicubic interpolation.
returns image B
= imresize(A
,[numrows
numcols]
)B
that has the number of rows and columns
specified by the two-element vector [numrows numcols]
.
___ = imresize(___,
returns the resized image where Name,Value
)Name,Value
pairs control
various aspects of the resizing operation.
If the size of the output image is not an integer, imresize
does not use the scale specified. imresize
uses
ceil
when calculating the output image size.
interp2
| imresize3
(Image Processing Toolbox) | imrotate
(Image Processing Toolbox) | imtransform
(Image Processing Toolbox) | tformarray
(Image Processing Toolbox) | gpuArray
(Parallel Computing Toolbox)