[Lcms-user] How to convert between TYPE_Lab_8 and cmsCIELab?
An ICC-based CMM for color management
Brought to you by:
mm2
From: Alan J. <ala...@ya...> - 2011-11-29 14:01:21
|
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 |