Re: [Lcms-user] RGB to LAB conversion

2007-06-22 Thread Ian McGonigal
Thanks for the help guys, you've given me lots to think about. Getting lcms to do the XYZ to Lab conversion seems like a good starting point. Ian - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the F

Re: [Lcms-user] RGB to LAB conversion

2007-06-21 Thread Kai-Uwe Behrmann
Ian, what is your Shake LUT about? RGB->RGB or Lab->Lab ... One possible route: Figure out what are the movements in your Shake LUT, bring it in relation to a PCS colour space (LAB or XYZ), if needed, and use a profiling package to interpolate the scattered data. This seems a robust route to m

Re: [Lcms-user] RGB to LAB conversion

2007-06-21 Thread Hal V. Engel
On Thursday 21 June 2007 08:42, Ian McGonigal wrote: > Hi, > > I am trying to build a profile that I can use in photoshop to imitate a > LUT that I use in Shake. I use the forward sampler to go from RGB to > LAB, converting each RGB sample by calling a function to apply the lut > to that value then

[Lcms-user] RGB to LAB conversion

2007-06-21 Thread Ian McGonigal
Hi, I am trying to build a profile that I can use in photoshop to imitate a LUT that I use in Shake. I use the forward sampler to go from RGB to LAB, converting each RGB sample by calling a function to apply the lut to that value then converting to LAB. The code looks something like this: int