Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
Python
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Python Image.astype示例
编程语言:
Python
命名空间/包名称:
IPython.display
类/类型:
Image
方法/功能:
astype
hotexamples.com的示例:
1
Python Image.astype - 已找到1个示例
。这些是从开源项目中提取的最受好评的
IPython.display.Image.astype
现实Python示例。您可以评价示例,以帮助我们提高示例质量。
常用方法
显示
隐藏
Image(30)
fromarray(30)
open(30)
new(12)
_repr_mimebundle_(2)
frombytes(2)
alpha_composite(1)
astype(1)
create_png(1)
filter(1)
from_pil(1)
max(1)
rotate(1)
size(1)
transpose(1)
width(1)
常用方法
Image (30)
fromarray (30)
open (30)
new (12)
_repr_mimebundle_ (2)
frombytes (2)
alpha_composite (1)
astype (1)
create_png (1)
filter (1)
常用方法
from_pil (1)
max (1)
rotate (1)
size (1)
transpose (1)
width (1)
示例#1
0
显示文件
def normalise(im): im = im / np.float32(127.5) - np.float32(1.) return im.astype(np.float32)