Disable exposure Laplacian when CBDL enabled

Avoids crashes due to NaNs.
This commit is contained in:
Lawrence37 2024-11-05 23:14:39 -08:00 committed by GitHub
parent ca329d9013
commit 24214fbd57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20533,7 +20533,7 @@ void ImProcFunctions::Lab_Local(
float epsi = 0.000001f;
if((lp.laplacexp > 1.f && lp.exposena) || (lp.strng > 2.f && lp.sfena)){//strong Laplacian
if((lp.laplacexp > 1.f && lp.exposena) || (lp.strng > 2.f && lp.sfena) || (lp.exposena && lp.expcomp != 0.f && params->dirpyrequalizer.enabled)){//strong Laplacian
notlaplacian = true;
}