Sebastien Leon wrote:

> Back again :-) This WE, I implemented some basic premultiplied alpha
> support.

Something that occurred to me rather a long time ago while
reading one of Jim Blinn's articles in CG&A, is that
(at least in principle), the multi-dimensional nature of
color lookups could be used to handle various matting operations.

For instance, in theory the RGBA case could be handled as a normal
color lookup using a 4D color table, which would take care of
the alpha de-multipliying & re-multiplying using the standard
mechanisms.

In practice it may not be a good use of an extra dimension,
since the tables blow up in size or the resolution and speed drops
rapidly as you increase the number of input dimensions, and
vector instructions are rather fast in modern CPU's.

Graeme Gill.


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to