Hi, > I work on display stuff for an image manipulation programm under > *nix/mac/win in C. I have to display there 8bit_int - 32bit_floats, so I
Yep. You are lucky then. Latest version, still in beta, but available at http://www.littlecms.com/lcms-1.10.tar.gz does support floating point encoding as well. Regarding 16 bits... well, this was choosen because is a couple of bits more any (human) eye could see. lcms last goal intends to be our eyes at all. :-) > After successfully loading an profile in an CLUT with > cmsReadICCLut(monitor.icc, Tag) I dont know how to access this LUT for > converting my buffers i.e. rendering. A word of warning here. LUT are really very low level stuff, and they are not intended to be accessed directly by client software but a few very special cases. You could use instead cmsDoTransform(). That is a both clean and simple to use. The performance penalty is really low, so, you will not find any important difference of speed by using LUT directly or transforms. Moreover, transforms does have some optimizations that makes most times faster that lLUTS. For example, when you join two profiles in a transform, involved LUTs are "smelted" in a big grid, and this does result in improved speed. Also note that there are a big number of profiles that does not use LUT at all. But you have not to belive me.. just try it. Create a transform between two profiles and measure time. Also note that you can use the transform for changing format of buffers as well, i.e., if you input comes in floating point RGB and you want 8 bit BGR on output. Sum time of all routines and then compare with transform time. You will probably be surprised. Regards, Mart�. ----- Original Message ----- From: "Kai-Uwe Behrmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 04, 2003 1:49 PM Subject: [Lcms-user] Accessing Luts (fwd) > Hi Marti, > I work on display stuff for an image manipulation programm under > *nix/mac/win in C. I have to display there 8bit_int - 32bit_floats, so I > hope the 16bit integers precission of lcms is a good joice for this task. > I read Your documentation and the tutorial and remaining with an hole > in my understanding of the Luts topic. > > After successfully loading an profile in an CLUT with > cmsReadICCLut(monitor.icc, Tag) I dont know how to access this LUT for > converting my buffers i.e. rendering. > I expect the cmsEvalLUT() is to slow for profiling an display. > > As well I expect ( sorry for my small english) the cms Sample3DGrid() has > nothing to do with output (more creating). > > You wrote about cmsDoTransform() to be as well an 3D CLut?? Could this be > the wanted accessfunction and does I need cmsReadICCLut() anymore? > > Thanks for Your attention and of course for making lcms available, > Kai-Uwe > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Lcms-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/lcms-user > > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Lcms-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lcms-user
