开通VIP,畅享免费电子书等14项超值服
首页
好书
留言交流
下载APP
联系客服
2017.03.31
Resize an image.
arr : ndarray
The array of image to be resized.
size : int, float or tuple
int - Percentage of current size.float - Fraction of current size.tuple - Size of the output image.
interp : str
Interpolation :插值
Interpolation to use for re-sizing (‘nearest’, ‘bilinear’, ‘bicubic’ or ‘cubic’).
mode : str
The PIL image mode (‘P’, ‘L’, etc.).
imresize : ndarray
The resized array of image.
微信登录中...请勿关闭此页面