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
September 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.09.15 12:38 "alpha in Grayscale or Palette", by Anurag Singh
2006.09.15 15:49 "Re: alpha in Grayscale or Palette", by Gerben Vos
2006.09.15 17:37 "Re: alpha in Grayscale or Palette", by Bob Friesenhahn
2006.09.15 17:46 "Re: alpha in Grayscale or Palette", by Ed Grissom
2006.09.15 17:54 "Re: alpha in Grayscale or Palette", by Bob Friesenhahn
2006.09.16 20:01 "Re: alpha in Grayscale or Palette", by Joris Van Damme
2006.09.16 20:47 "Re: alpha in Grayscale or Palette", by Bob Friesenhahn
2006.09.16 21:50 "Re: alpha in Grayscale or Palette", by Joris Van Damme
2006.09.16 22:00 "Re: alpha in Grayscale or Palette", by Toby Thain
2006.09.16 22:18 "Re: alpha in Grayscale or Palette", by Joris Van Damme
2006.09.16 22:20 "Re: alpha in Grayscale or Palette", by Toby Thain
2006.09.16 22:38 "Re: alpha in Grayscale or Palette", by Joris Van Damme
2006.09.17 02:07 "Re: alpha in Grayscale or Palette", by Graeme Gill
2006.09.17 08:49 "Re: alpha in Grayscale or Palette", by Joris Van Damme
2006.09.17 09:03 "Re: alpha in Grayscale or Palette", by Joris Van Damme
2006.09.17 10:39 "Re: alpha in Grayscale or Palette", by Graeme Gill
2006.09.17 17:23 "Re: alpha in Grayscale or Palette", by Joris Van Damme
2006.09.18 01:35 "Re: alpha in Grayscale or Palette", by Graeme Gill
2006.09.18 09:40 "Re: alpha in Grayscale or Palette", by Joris Van Damme
2006.09.18 14:39 "Re: alpha in Grayscale or Palette", by Gerben Vos
2006.09.16 09:58 "Re: alpha in Grayscale or Palette", by Anurag Singh
2006.09.18 11:23 "Re: alpha in Grayscale or Palette", by Gerben Vos
2006.09.18 11:06 "Re: alpha in Grayscale or Palette", by Gerben Vos

2006.09.16 22:18 "Re: alpha in Grayscale or Palette", by Joris Van Damme

Toby,

Toby Thain wrote:
> Why is that challenging? You just omit that index from colour
> matching consideration. In most cases, just thresholding alpha to
> that index would be sufficient for opacity handling.

You're clearly talking about the case where one palette entry is made to
code full transparency, and others are made to have no transparency at
all.

I'm refering instead to the general case of alpha inside palette
entries, where for example you could have RGBA values like
(20,20,20,100) and (20,20,20,200). That's the general case when we are
assessing transparency inside palettes. Thus, dithering involves
calculating differences between RGBA values. Aside from the fact that
RGB is not a colorspace proportional to vision but a space proportional
to CRT voltages and thus the normal euclidean distance between RGB
values doesn't make much sense in a dithering algorithm, the real
challenge here is to somehow involve alpha in that scheme. Is RGBA
(20,20,20,20) closest to RGBA (20,20,100,20), or is it closest to RGBA
(20,20,20,100)? Put more generally, you need to weigh color difference
against alpha difference, and it's not quite clear how to avoid making
rather arbitrary weight decisions.


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