Kai-Uwe Behrmann <[EMAIL PROTECTED]> said:

> Hi,
> 
> Is there an easy way to mark out of gamut colours from profileA in an 
> abstract Lab profileB? 

There is an internal function:

LPLUT _cmsComputeGamutLUT(cmsHPROFILE hProfile, int Intent)

That computes the gamut tag. This LUT is indexed by Lab and 
returns 0 if the color is in gamut and other number if outside.
You could put this tag as BToA to obtain a Lab->Gray, but otherwise
is is not clear to me how to deal with that. You cannot do a abstract 
profile that "tints" out of gamut colors because interpolation is going
to affect neighbors. Also, this  gamut LUT has about 53 gridpoints...
not too much space for 3 -> 1 (291K) but huge for 3 -> 3 (873K)

Regards,
Marti.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to