Quoting Mark <d...@cine-scan.com>:

> [snip]
> Very interesting!
>
> What parameters are needed to get a transform as CLUT without 
> prelinearization tables - always?

You have not to worry about that. Just use cmsSliceSpaceFloat(). This
function will call your callback on each node. It will give you the
RGB to index the node as a parameter. All what you have to do is feed
those RGB across the color transform, no matter how it is implemented,
and then you will get the node value. *That* simple.


> Is it also possible to build a CLUT to Lab PCS?
Certainly.

> Any reason why that should be avoided?
Because gamut of both spaces are different. RGB to Lab is Ok, Lab to RGB
you would need lots of nodes, since RGB would take just a small zone
in the center. Thetrahedral doesn't work well in this case and you
need trilinear.

> And XYZ? How many grid points would be needed to get reasonable precision?

XYZ apparent gamma is 1.0, so you need many nodes if gamma of 
destination space
is 2.4 or more. 33 or even more to avoid quantization in shadows.

But those are corner cases. Normal GPU color management goes RGB to RGB.


Regards
Marti

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to