Khan Gul wrote: > I am new to color management and have a question regarding lookup table based > XYZ to RGB > transformation especially in the context of ICC profiles. > > According to ICC specs, the lut16 type contain a matrix(3x3), input curves, > output curves, and a > clut. > > Can you kindly tell me how can I calculate each one of them (just an example). > > The ICC specs provides an explanation for RGB to XYZ but not the reverse. I > think its not a > simple inverse relationship. Can you kindly explain with the help of an > example. There's lots of sample code out there, from Argyll's icclib, to lcms and the ICC's sample code. Other details are rather scattered. A book that goes through a lot of this is Phil Green's "Color Management, Understanding and Using ICC Profiles" <http://books.google.com/books/about/Color_Management.html?id=Ggy2yjPIEGwC> Graeme Gill.