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("Pyt hon.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("Pyt hon.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
Comment