[Numpy-discussion] how to convert btw rgb and pixel value
Nadav Horesh
nadavh@visionsense....
Mon Nov 5 04:58:45 CST 2007
If the image is in the form of a standard image format (png, bmp,
jpeg...) you can use the PIL library. png file can be read by pylab's
imread function.
Nadav.
On Sun, 2007-11-04 at 23:37 -0800, devnew@gmail.com wrote:
> hi
> i wish to convert an rgb image into an array of double values..is
> there a method for that in numpy?
> also i want to create an array of doubles into corresponding rgb
> tuples of an image
> can anyone guide me?
> dn
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20071105/9cfcfe92/attachment.html
More information about the Numpy-discussion
mailing list