diff --git a/rtdata/languages/default b/rtdata/languages/default index a4ae5d41d..2b89a6a20 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -2260,7 +2260,7 @@ TP_LOCALLAB_CLIPTM;Clip Restored datas (gain) TP_LOCALLAB_COFR;Color & Light - Small defects TP_LOCALLAB_COL_NAME;Name TP_LOCALLAB_COL_VIS;Status -TP_LOCALLAB_COLORDE;Color preview selection ΔE +TP_LOCALLAB_COLORDE;Color preview selection ΔE - Intensity Show Modifications TP_LOCALLAB_COMPFRA;Levels Dynamic Laplacian Range Compression ƒ TP_LOCALLAB_COMPREFRA;Levels Dynamic Wavelet Range (un)Compression TP_LOCALLAB_COMPRESS_TOOLTIP;Use if necessary the module 'Clarity & Sharp mask and Blend & Soft Images' by adjusting 'Soft radius' to reduce artifacts. diff --git a/rtengine/iplocallab.cc b/rtengine/iplocallab.cc index e8fe341ec..ff168c44e 100644 --- a/rtengine/iplocallab.cc +++ b/rtengine/iplocallab.cc @@ -6501,10 +6501,12 @@ void ImProcFunctions::transit_shapedetect2(int call, int senstype, const LabImag if (diflc < 1000.f) {//if too low to be view use ab diflc += 0.5f * maxdifab; } - - transformed->L[y + ystart][x + xstart] = CLIP(12000.f + diflc); - transformed->a[y + ystart][x + xstart] = CLIPC(difa); - transformed->b[y + ystart][x + xstart] = CLIPC(difb); + + float ampli = 1.f + fabs(lp.colorde); + ampli = 2.f + 0.5f * (ampli - 2.f); + transformed->L[y + ystart][x + xstart] = CLIP(12000.f + 0.5f * ampli * diflc); + transformed->a[y + ystart][x + xstart] = CLIPC(ampli * difa); + transformed->b[y + ystart][x + xstart] = CLIPC(ampli * difb); } else if (previewexp || previewvib || previewcol || previewSH || previewtm || previewlc) {//show deltaE difb = reducdE * 10000.f * lp.colorde; float darklim = 5000.f;