Re: Processing an image with numarray.nd image

2005-10-04 Thread Matt Feinstein
On Tue, 04 Oct 2005 11:56:51 +0200, Raphaël MARC <[EMAIL PROTECTED]> wrote: >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 w

Processing an image with numarray.nd image

2005-10-04 Thread Raphaël 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.ge