RGB Value Confusion

Michael Alonge malonge11 at gmail.com
Thu Oct 9 14:48:29 EDT 2014


Hello,

Maybe this is quite trivial, but I am a little confused about the RGB 
values represented in my numpy arrays.

I get floats between zero and one, such as (0.45803295125156029, 
0.10643323197708233, 0.18076931323028619) (this should be a slightly red 
color). 

Is there a way for me to convert this to normal RGB values? My 
understanding is that they should be whole integers.

Thank you,

Michael Alonge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20141009/adab103e/attachment.html>


More information about the scikit-image mailing list