Fix for 'avoid color shift' in Labadjustements and 'gamut control' in CIECAM
This commit is contained in:
@@ -1484,7 +1484,8 @@ void ImProcFunctions::chromiLuminanceCurve (int pW, LabImage* lold, LabImage* ln
|
|||||||
bool ccut = ccutili;
|
bool ccut = ccutili;
|
||||||
double rstprotection = 100.-params->labCurve.rstprotection; // Red and Skin Tones Protection
|
double rstprotection = 100.-params->labCurve.rstprotection; // Red and Skin Tones Protection
|
||||||
// avoid color shift is disabled when bwToning is activated and enabled if gamut is true in colorappearanace
|
// avoid color shift is disabled when bwToning is activated and enabled if gamut is true in colorappearanace
|
||||||
bool avoidColorShift = (params->labCurve.avoidcolorshift || params->colorappearance.gamut )&& !bwToning ;
|
// bool avoidColorShift = (params->labCurve.avoidcolorshift || params->colorappearance.gamut )&& !bwToning ;
|
||||||
|
bool avoidColorShift = (params->labCurve.avoidcolorshift || (params->colorappearance.gamut && params->colorappearance.enabled)) && !bwToning ;
|
||||||
int protectRed = settings->protectred;
|
int protectRed = settings->protectred;
|
||||||
double protectRedH = settings->protectredh;
|
double protectRedH = settings->protectredh;
|
||||||
bool gamutLch = settings->gamutLch;
|
bool gamutLch = settings->gamutLch;
|
||||||
|
|||||||
Reference in New Issue
Block a user