On 12/14/05, Jon Niehof <[EMAIL PROTECTED]> wrote:
> --- sean <[EMAIL PROTECTED]> wrote:
>
> > Why would it not be:
> >
> > L = (R + G + B) / 3
>
> Because 255 blue is dimmer than 255 green. NTSC standard:
> Gray scale intensity = 0.299R + 0.587G + 0.114B

True, although unless you are coding for a 1960's color television,
it's probably better to use the sRGB/ITU-R 709 formula: Y = 0.2126R +
0.7152G + 0.0722B.

If you're really interested, the finer points of color are explained
at http://www.poynton.com/notes/colour_and_gamma/ColorFAQ.html

Rockwalrus

Rockwalrus
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to