RT Crashes on CL LAB curve, fixes #4402
This commit is contained in:
parent
20fcffae94
commit
faeac1286e
@ -5883,7 +5883,7 @@ void ImProcFunctions::chromiLuminanceCurve (PipetteBuffer *pipetteBuffer, int pW
|
|||||||
editWhatever->v (i, j) = LIM01<float> (LL / 100.f); // Lab C=f(L) pipette
|
editWhatever->v (i, j) = LIM01<float> (LL / 100.f); // Lab C=f(L) pipette
|
||||||
}
|
}
|
||||||
|
|
||||||
if (clut) { // begin C=f(L)
|
if (clut && LL > 0.f) { // begin C=f(L)
|
||||||
float factorskin, factorsat, factor, factorskinext;
|
float factorskin, factorsat, factor, factorskinext;
|
||||||
float chromaCfactor = (clcurve[LL * 655.35f]) / (LL * 655.35f); //apply C=f(L)
|
float chromaCfactor = (clcurve[LL * 655.35f]) / (LL * 655.35f); //apply C=f(L)
|
||||||
float curf = 0.7f; //empirical coeff because curve is more progressive
|
float curf = 0.7f; //empirical coeff because curve is more progressive
|
||||||
|
Loading…
x
Reference in New Issue
Block a user