Image to numeric array

Dimitrios Charitatos dc1001 at ecs.soton.ac.uk
Mon Feb 13 09:35:09 EST 2006


Hello, 

I suspect that there is a quite straight forward answer to this, but I can't
find it... I want to import an image and extract a matrix (or array) from it
with elements showing the RGB value of each pixel. But I want to be able to do
this with all types of image formats. It was suggested that a function such as
'B = numeric.from_image(A)' was used but I can't find it in any of the
libraries. I was hoping you could help me on this.

Thank you,
Dimitris 




More information about the Python-list mailing list