What about using in the transform TYPE_Lab_DBL instead? You got directly cmsCIELab double values.
Try to avoid TYPE_Lab_8, as 8 bits is not enough for Lab data. You got about 1dE due to quentization. Regads Marti Original Message: ----------------- From: Alan J. alan_...@yahoo.de Date: Tue, 29 Nov 2011 14:01:10 +0000 (GMT) To: lcms-user@lists.sourceforge.net Subject: [Lcms-user] How to convert between TYPE_Lab_8 and cmsCIELab? Hi, suppose I have color vectors with TYPE_Lab_8 (byte values) generated by cmsCreateTransform(). What is the canonical way to convert these byte values to the type cmsCIELab consisting of three cmsFloat64Number? I need the conversion from byte to float values in order to call the function cmsDeltaE(const cmsCIELab* Lab1, const cmsCIELab* Lab2) for pairs of Lab pixels. Thank you for your help! Regards, Alan -------------------------------------------------------------------- mail2web.com – Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user