Save GUI part for deltaE preview in Locallab settings panel

This commit is contained in:
Pandagrapher
2020-05-12 16:23:29 +02:00
parent 9204fc365d
commit 276dd89382
11 changed files with 111 additions and 31 deletions

View File

@@ -154,6 +154,7 @@ ImProcCoordinator::ImProcCoordinator() :
pdSharpenAutoRadiusListener(nullptr),
frameCountListener(nullptr),
imageTypeListener(nullptr),
filmNegListener(nullptr),
actListener(nullptr),
adnListener(nullptr),
awavListener(nullptr),
@@ -281,6 +282,7 @@ ImProcCoordinator::ImProcCoordinator() :
lastsav(0),
avg(0),
lastspotdup(false),
previewDeltaE(false),
locallColorMask(0),
locallColorMaskinv(0),
locallExpMask(0),
@@ -1288,6 +1290,7 @@ void ImProcCoordinator::updatePreviewImage(int todo, bool panningRelatedChange)
float Tsigma;
float Tmin;
float Tmax;
printf("preview: %d\n", previewDeltaE);
ipf.Lab_Local(3, sp, (float**)shbuffer, nprevl, nprevl, reserv, lastorigimp, 0, 0, pW, pH, scale, locRETgainCurve, locRETtransCurve,
lllocalcurve, locallutili,
cllocalcurve, localclutili,