improvement Lab adjustements - Red and skin protection issue1514

This commit is contained in:
jdc
2012-09-16 17:27:19 +02:00
parent beeeb0c195
commit 1d55d148cd
2 changed files with 12 additions and 6 deletions

View File

@@ -335,7 +335,7 @@ HISTORY_MSG_109;Resize Bounding Box
HISTORY_MSG_110;Resizing applies o HISTORY_MSG_110;Resizing applies o
HISTORY_MSG_111;Avoid Color Shift HISTORY_MSG_111;Avoid Color Shift
HISTORY_MSG_112;--unused-- HISTORY_MSG_112;--unused--
HISTORY_MSG_113;Red and skin oversaturation protection HISTORY_MSG_113;Red and skin tones protection
HISTORY_MSG_114;DCB Iterations HISTORY_MSG_114;DCB Iterations
HISTORY_MSG_115;False Color Iterations HISTORY_MSG_115;False Color Iterations
HISTORY_MSG_116;Enhanced DCB HISTORY_MSG_116;Enhanced DCB
@@ -1017,7 +1017,7 @@ TP_LABCURVE_CURVEEDITOR_CH_TOOLTIP;Chromaticity according to the Hue
TP_LABCURVE_CURVEEDITOR_LC;LC TP_LABCURVE_CURVEEDITOR_LC;LC
TP_LABCURVE_CURVEEDITOR_LC_TOOLTIP;Luminance according to Chromaticity TP_LABCURVE_CURVEEDITOR_LC_TOOLTIP;Luminance according to Chromaticity
TP_LABCURVE_LABEL;Lab Adjustments TP_LABCURVE_LABEL;Lab Adjustments
TP_LABCURVE_RSTPROTECTION;Red and skin oversaturation protection TP_LABCURVE_RSTPROTECTION;Red and skin tones protection
TP_LENSGEOM_AUTOCROP; Auto Crop TP_LENSGEOM_AUTOCROP; Auto Crop
TP_LENSGEOM_FILL;Auto Fill TP_LENSGEOM_FILL;Auto Fill
TP_LENSGEOM_LABEL;Lens / Geometry TP_LENSGEOM_LABEL;Lens / Geometry

View File

@@ -634,8 +634,11 @@ void ImProcFunctions::chromiLuminanceCurve (LabImage* lold, LabImage* lnew, LUTf
factorskin= 1.0f+(interm*scale)/100.0f; factorskin= 1.0f+(interm*scale)/100.0f;
factorskinext=1.0f+(interm*scaleext)/100.0f;} factorskinext=1.0f+(interm*scaleext)/100.0f;}
else { else {
factorskin= chromapro*scale; //factorskin= chromapro*scale;
factorskinext= chromapro*scaleext; //factorskinext= chromapro*scaleext;
factorskin= chromapro ; // +(chromapro)*scale;
factorskinext= chromapro ;// +(chromapro)*scaleext;
} }
factorsat=chromapro; factorsat=chromapro;
factor=factorsat; factor=factorsat;
@@ -672,8 +675,11 @@ void ImProcFunctions::chromiLuminanceCurve (LabImage* lold, LabImage* lnew, LUTf
factorskinext=1.0f+(interm*scaleext)/100.0f; factorskinext=1.0f+(interm*scaleext)/100.0f;
} }
else { else {
factorskin= chromaCfactor*scale; //factorskin= chromaCfactor*scale;
factorskinext=chromaCfactor*scaleext; //factorskinext=chromaCfactor*scaleext;
factorskin= chromaCfactor; // +(1.0f-chromaCfactor)*scale;
factorskinext= chromaCfactor ; //+(1.0f-chromaCfactor)*scaleext;
} }
factorsat=chromaCfactor; factorsat=chromaCfactor;