AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.12.05 15:52 "Grayscale, or is it?", by Joris Van Damme
2006.12.05 17:18 "Re: Grayscale, or is it?", by Bob Friesenhahn
2006.12.05 17:34 "Re: Grayscale, or is it?", by Joris Van Damme
2006.12.05 17:45 "Re: Grayscale, or is it?", by Bob Friesenhahn
2006.12.05 18:44 "Re: Grayscale, or is it?", by Joris Van Damme
2006.12.05 22:10 "Re: Grayscale, or is it?", by Frank Warmerdam
2006.12.05 20:37 "Re: Grayscale, or is it?", by Joris Van Damme
2006.12.05 21:16 "Re: Grayscale, or is it?", by Edward Lam
2006.12.05 21:30 "Re: Grayscale, or is it?", by Joris Van Damme
2006.12.05 22:28 "Re: Grayscale, or is it?", by Edward Lam
2006.12.05 22:41 "Re: Grayscale, or is it?", by Jean-yves Le Ridant
2006.12.05 23:13 "Re: Grayscale, or is it?", by Bob Friesenhahn
2006.12.05 23:29 "Re: Grayscale, or is it?", by Phillip Crews
2006.12.06 02:05 "Re: Grayscale, or is it?", by Graeme Gill
2006.12.05 22:56 "Re: Grayscale, or is it?", by Glenn Widener
2006.12.05 23:26 "Re: Grayscale, or is it?", by Toby Thain
2006.12.06 01:58 "Re: Grayscale, or is it?", by Graeme Gill
2006.12.06 04:45 "Re: Grayscale, or is it?", by Edward Lam
2006.12.06 20:56 "Re: Grayscale, or is it?", by Joris Van Damme
2006.12.06 22:19 "Re: Grayscale, or is it?", by Graeme Gill
2006.12.06 23:30 "Re: Grayscale, or is it?", by Joris Van Damme
2006.12.07 01:28 "Re: Grayscale, or is it?", by Graeme Gill
2006.12.07 07:45 "Re: Grayscale, or is it?", by Joris Van Damme
2006.12.06 20:56 "Re: Grayscale, or is it?", by Joris Van Damme
2006.12.06 21:57 "Re: Grayscale, or is it?", by Graeme Gill

2006.12.06 23:30 "Re: Grayscale, or is it?", by Joris Van Damme

Graeme,

Graeme Gill wrote:
> Joris wrote:
> > If you colour model goes as far as to be based on actual physical
> > properties of light, it's extremely complicated to convert RGB to
> > "greyscale". You'll have to dig into spectra and whatnot, for all I
> > know.
>
> I can't agree with you on this. Taking the weighted sum
> of an RGB output in linear light is not an approximation,
> it's actually correct, equivalent to CIE Y value if the
> right weightings are used. The weightings simply depend
> on the primary locations and the white point.

We don't really dissagree. I personally use the second option I
enumerated, i.e. converting RGB to CIE Y and back to greyscale. That
seems to be exactly what you propose. Is this an approximation, or is it
'actually correct'? I prefer to avoid these terms. Some people are bound
to say CIE XYZ sucks and CIE L*a*b* is about as different from human
vision as you can get. They may be right, they may be wrong. In the
absence of ways to deduce any of this, other then by experiment and
averaging out the 'standard observer', the discussion is meaningless as
far as I'm concerned. I'm not shy to use terms like 'right' and 'wrong'
when it comes to the interpretation and implementation of a single spec
that defines a file format, but there is no single spec that defines
human vision. All I know about CIE XYZ and CIE L*a*b* is, I'm satisfied
using it and building my model around it.

As to the first opion, spectra and whatnot, I must admit I don't know
the first thing about that. Perhaps you can take 'actual physical
properties of light' into account without spectra, perhaps that's
exactly what we're doing with our conversion to CIE Y and back, I
wouldn't know really.

And as to weighted sum without compensating for gamma first, thus making
a linear calculation on non-linear data... Well, I was trying to be
friendly on the masses that do this because 'it's a well-know textbook
standard'. I didn't actually mean to say this is valid. Is why I added
that small remark about us being free to have our personal preference.
;-)


Best regards,

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html