Re: color balance (preserve luminosity) bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/14/05, Jon Niehof <jon_niehof@xxxxxxxxx> wrote:
> --- sean <seanro@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux