打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
scipy.misc.imresize

scipy.misc.imresize

scipy.misc.imresize(arrsizeinterp='bilinear'mode=None)[source]

Resize an image.

Parameters:

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.).

Returns:

imresize : ndarray

The resized array of image.



 
 

 
 

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
python调整图片大小dpi不丢失,在Python中调整图像大小而不会丢失EXIF数据
Py之dlib:Python库之dlib库的简介、安装、使用方法详细攻略
python下DataFrame, Series, ndarray, list, dict, tuple的相互转换
NumPy使用手记[z]
Python几种一维插值方式的对比
【Python】scipy.spatial.Delaunay中文教程
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服