[scilab-Users] conversion from RGB to grayscale

Adrien Vogt-Schilb vogt at centre-cired.fr
Wed Aug 1 14:44:24 CEST 2012


Hi

I do not know how scilab does it, but i've been tought (in a general 
context) to use the luminance when doing this. More info here: 
http://en.wikipedia.org/wiki/Luminance_%28relative%29

According to this method, one should compute
Y = 0.2126 R + 0.7152 G + 0.0722 B

and then use the color (Y,Y,Y) as a gray tone (in the RGB space).
I did not check wether Scilab actually does this.

PS: the NASA has a great page on color usage, contrast, and more: 
http://colorusage.arc.nasa.gov/guidelines.php

Best Regards
AVS

01/08/2012 12:31, Damo wrote:
> I am curious as to what is the formula used to convert RGB images to
> grayscale, using the command RGB2Gray.
>
> Any information will be helpful.
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/conversion-from-RGB-to-grayscale-tp4024652.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
>
> --
> To unsubscribe from this mailing-list, please send an empty mail to
> users-unsubscribe at lists.scilab.org
> To check the archives of this mailing list, see
> http://mailinglists.scilab.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120801/67f07a5a/attachment.htm>


More information about the users mailing list