Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
Python
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Esempi in Python per Image.astype
Linguaggio di programmazione:
Python
Spazio dei nomi/nome del pacchetto:
IPython.display
Classe/tipologia:
Image
Metodo/funzione:
astype
Esempi su hotexamples.com:
1
Image.astype in Python: 1 esempio trovato
. Questo è il miglior esempio reale in Python per
IPython.display.Image.astype
, estratto da progetti open source. Lo puoi valutare, per aiutarci a migliorare la qualità dei nostri esempi.
Metodi utilizzati di frequente
Mostra
Nascondi
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)
Metodi utilizzati di frequente
Image (30)
fromarray (30)
open (30)
new (12)
_repr_mimebundle_ (2)
frombytes (2)
alpha_composite (1)
astype (1)
create_png (1)
filter (1)
Metodi utilizzati di frequente
from_pil (1)
max (1)
rotate (1)
size (1)
transpose (1)
width (1)
Esempio n. 1
0
Mostra file
def normalise(im): im = im / np.float32(127.5) - np.float32(1.) return im.astype(np.float32)