[Numpy-discussion] how to convert btw rgb and pixel value

Matthieu Brucher matthieu.brucher at gmail.com
Mon Nov 5 03:26:21 EST 2007


It depends on the transformation you want to use, there is no method
available in Numpy, but you can create your own in an instant.

Matthieu

2007/11/5, devnew at gmail.com <devnew at gmail.com>:
>
> 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 at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
French PhD student
Website : http://miles.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20071105/e424aca3/attachment.html>


More information about the NumPy-Discussion mailing list