[Bf-committers] Color to greyscale conversion - confusion

CoDEmanX codemanx at gmx.de
Fri Jun 22 20:55:56 CEST 2012


I use a rgb to luminance conversion in my Blender-CoD like:

c_lum = c[0] * 0.3 + c[1] * 0.59 + c[2] * 0.11

but correct seems to be:

Y = 0.2126 R + 0.7152 G + 0.0722 B

http://en.wikipedia.org/wiki/Luminance_(relative)

Am 22.06.2012 20:19, schrieb Dalai Felinto:
>> The second looks like an sRGB luminance model transformation.
> while the first one is a linear space transformation? wondering.
>
> But yeah even gimp you tell you that you can go from RGB to BW in different
> ways.
>
> --
> Dalai
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



More information about the Bf-committers mailing list