Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
Python
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Python Image.astype Examples
Programming Language:
Python
Namespace/Package Name:
IPython.display
Class/Type:
Image
Method/Function:
astype
Examples at hotexamples.com:
1
Python Image.astype - 1 examples found
. These are the top rated real world Python examples of
IPython.display.Image.astype
extracted from open source projects. You can rate examples to help us improve the quality of examples.
Frequently Used Methods
Show
Hide
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)
Frequently Used Methods
Image (30)
fromarray (30)
open (30)
new (12)
_repr_mimebundle_ (2)
frombytes (2)
alpha_composite (1)
astype (1)
create_png (1)
filter (1)
Frequently Used Methods
from_pil (1)
max (1)
rotate (1)
size (1)
transpose (1)
width (1)
Example #1
0
Show file
def normalise(im): im = im / np.float32(127.5) - np.float32(1.) return im.astype(np.float32)