Hello, In scipy.misc you can find the fromimage function, which returns an array, the type of which depends on your image (if your image is RGB it will be 3-dimensional).
You can then convert it into a matrix. Lubin --- "Alex Torquato S. Carneiro" <[EMAIL PROTECTED]> a écrit : > > I'm doing a project in Python. It's a capture and > > process a image, I'm using PIL for images and scipy > > (together numpy) for processing, about fft, filter, > > etc.. > > I'm needing to convert a image in a matrix type, can > > anyone help me? > > > > Thanks. > > Alex. > > > > > > > > > > __________________________________________________ > > Fale com seus amigos de graça com o novo Yahoo! > > Messenger > > http://br.messenger.yahoo.com/ > > _______________________________________________ > > Image-SIG maillist - Image-SIG@python.org > > http://mail.python.org/mailman/listinfo/image-sig > > > _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig