?
=?ISO-8859-1?Q?Rapha=EBl_MARC?=
Hello,
Can anyone tell me how to open an image
and transform it into a list so that
the functions of the multi dimensionnal module of
numarray (numarray.nd image) can process it ?
Do I have to use PIL ?
So I would code something like :
import Image
im = Image.open("Python.jpg")
data = list(im.getdata())
import numarray.nd image as ti
ti.median filter(data,...)
Is that the correct way to do ?
Thanks for any help.
Raphaël
Can anyone tell me how to open an image
and transform it into a list so that
the functions of the multi dimensionnal module of
numarray (numarray.nd image) can process it ?
Do I have to use PIL ?
So I would code something like :
import Image
im = Image.open("Python.jpg")
data = list(im.getdata())
import numarray.nd image as ti
ti.median filter(data,...)
Is that the correct way to do ?
Thanks for any help.
Raphaël