Re: How to get the DE 94
Re: How to get the DE 94
- Subject: Re: How to get the DE 94
- From: Johannes Hoffstadt <email@hidden>
- Date: Tue, 21 Oct 2003 11:23:31 +0200
Graeme,
your factors for chroma in sc and sh gave me a start.
You use 0.048 and 0.014, but shouldn't these read 0.045 and 0.015?
Hanno
Graeme Gill wrote:
Xabier Urien wrote:
Thanks.. I know... but I'm developing an aplication (very simple) and I want
to calculate the dE94 between 2 lab colors... is easy to get the dE (simple
algebra) but I need the dE 94 and I dont know how...
Here the code from icclib <http://web.access.net.au/argyll/color.html>
- Graeme Gill.
/* Return the CIE94 Delta E color difference measure */
double icmCIE94(double Lab1[3], double Lab2[3]) {
[...]
/* Weighting factors for delta chromanance & delta hue */
sc = 1.0 + 0.048 * c12;
sh = 1.0 + 0.014 * c12;
return sqrt(dlsq + dcsq/(sc * sc) + dhsq/(sh * sh));
}
}
_______________________________________________
colorsync-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/colorsync-users
Do not post admin requests to the list. They will be ignored.