Wavelet contrast and chroma interfere #2894

This commit is contained in:
Desmis
2015-09-21 09:25:44 +02:00
parent 3935c6b2aa
commit 56eb18e4df

View File

@@ -3249,7 +3249,7 @@ void ImProcFunctions::ContAllL (float *koeLi[12], float *maxkoeLi, bool lipschit
*/
float alpha = (1024.f + 15.f * (float) cpMul * scale * scale2 * beta * diagacc) / 1024.f ;
if(cp.HSmet && cp.chromena) {
if(cp.HSmet && cp.contena) {
float aaal = (1.f - alpha) / ((cp.b_lhl - cp.t_lhl) * kH[level]);
float bbal = 1.f - aaal * cp.b_lhl * kH[level];
float aaar = (alpha - 1.f) / (cp.t_rhl - cp.b_rhl) * kH[level];