Strange new rendering in Rt 4.2.42 when one or more channels are blown and using NR or ciecam02, Issue 2614

This commit is contained in:
Ingo
2014-12-21 15:52:52 +01:00
parent 59f2e9f119
commit 3b8fbd56e2

View File

@@ -866,8 +866,8 @@ namespace rtengine {
float fx,fy,fz;
fx = (x<=65535.0f ? cachef[x] : (327.68f*xcbrtf(x/MAXVALF)));
fy = (y<=65535.0f ? cachef[y] : (327.68f*xcbrtf(x/MAXVALF)));
fz = (z<=65535.0f ? cachef[z] : (327.68f*xcbrtf(x/MAXVALF)));
fy = (y<=65535.0f ? cachef[y] : (327.68f*xcbrtf(y/MAXVALF)));
fz = (z<=65535.0f ? cachef[z] : (327.68f*xcbrtf(z/MAXVALF)));
L = (116.0f * fy - 5242.88f); //5242.88=16.0*327.68;
a = (500.0f * (fx - fy) );