Toggle navigation
Hot Examples
JP
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件のコード例が見つかりました
。すべてオープンソースプロジェクトから抽出されたPythonの
IPython.display.Image.astype
の実例で、最も評価が高いものを厳選しています。コード例の評価を行っていただくことで、より質の高いコード例が表示されるようになります。
よく使われるメソッド
表示
非表示
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)