[Image-SIG] ImagePalette class problem

Lubin Fayolle lubin_fayolle at yahoo.fr
Tue Jun 5 18:36:50 CEST 2007


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"
<archsheep at yahoo.com.br> 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 at python.org
> > http://mail.python.org/mailman/listinfo/image-sig
> > 
>   


More information about the Image-SIG mailing list