mayingzhen / nvidia-texture-tools

Automatically exported from code.google.com/p/nvidia-texture-tools
Other
0 stars 0 forks source link

xyzToCieLab bug #197

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
While implementing the 1994 DeltaE formula for CIE Lab color differencing, I 
found a bug in the f and finv functions in ErrorMetric.cpp. The test against 
epsilon was reversed. I'm using the math from: 
http://www.brucelindbloom.com/Eqn_XYZ_to_Lab.html as a reference.

Attached is a patch with just this bug fixed.

Original issue reported on code.google.com by wesley.g...@nist.gov on 28 Aug 2013 at 1:02

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by cast...@gmail.com on 4 Sep 2013 at 1:02

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1372.

Original comment by cast...@gmail.com on 4 Sep 2013 at 1:08