Explanation
The image returns B
= imresize(A
,scale
)B
, it is the A
length and width of the size of the scaled scale
image after times. The input image A
may be a grayscale, RGB, or binary image. If A
there are more than two dimensions, imresize
only adjust the size of the first two dimensions. If scale
in the range [0, 1], the B
ratio of A
small. If scale
greater than 1, B
than the A
larger. By default, imresize
the use of bi-cubic interpolation.
Returns an image B
= imresize(A
,[numrows numcols]
)B
, the number of rows and columns of elements from the two vectors [numrows numcols]
specified.
[
Adjust the index image Y
,newmap
] = imresize(X
,map
,___)X
size, which map
is the color associated with the image of FIG. By default, imresize
back through the new optimized color map ( newmap
) and resized images. To return to the original color map and the same color chart, use 'Colormap'
parameters.
___ = imresize(___,
Returns the size of the resized image, wherein Name,Value
)Name,Value
various aspects of the control group resize operation.
Examples
输入参数
输出参数
提示
-
如果输出图像的大小不是整数,则
imresize
不会使用指定的比例。imresize
在计算输出图像大小时使用ceil
。