From 43517e2653a22ebd399e0a0707b0670365495a9e Mon Sep 17 00:00:00 2001 From: Desmis Date: Thu, 14 Mar 2019 07:50:33 +0100 Subject: [PATCH] Small changes to label deltaE --- rtdata/languages/default | 4 ++-- rtengine/iplocallab.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rtdata/languages/default b/rtdata/languages/default index 00040ca52..19706fad6 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -895,7 +895,7 @@ HISTORY_MSG_641;Local - Use SH mask HISTORY_MSG_642;Local - radius SH HISTORY_MSG_643;Local - Blur SH HISTORY_MSG_644;Local - inverse SH -HISTORY_MSG_645;Local - balance deltaE +HISTORY_MSG_645;Local - balance deltaE ab-L HISTORY_MSG_646;Local - Exp mask chroma HISTORY_MSG_647;Local - Exp mask gamma HISTORY_MSG_648;Local - Exp mask slope @@ -1973,7 +1973,7 @@ TP_LOCALLAB_ADJ;Equalizer blue-red TP_LOCALLAB_ARTIF;Shape detection TP_LOCALLAB_ARTIF_TOOLTIP;Increase deltaE Weakening improve shape detection, but can reduce the scope of detection.\nThreshold deltaE-scope increase the range of scope-deltaE - high values are for very wide gamut images.\nThreshold structure take into account the structure level of solid areas TP_LOCALLAB_AVOID;Avoid color shift -TP_LOCALLAB_BALAN;Balance deltaE C-L +TP_LOCALLAB_BALAN;Balance deltaE ab-L TP_LOCALLAB_BILATERAL;Bilateral filter TP_LOCALLAB_BLENDMASKCOL;Blend TP_LOCALLAB_BLMETHOD_TOOLTIP;Normal - direct blur and noise with all settings.\nInverse - Inverse blur and noise without scope and whithout enhanced algorithm.\nSymmetric - inverse blur and noise with all settings. Be careful some results may be curious diff --git a/rtengine/iplocallab.cc b/rtengine/iplocallab.cc index 48ebe5143..049284274 100644 --- a/rtengine/iplocallab.cc +++ b/rtengine/iplocallab.cc @@ -7852,8 +7852,8 @@ void ImProcFunctions::Lab_Local(int call, int sp, float** shbuffer, LabImage * o if (lox >= begx && lox < xEn && loy >= begy && loy < yEn) { float L_; bufmaskblurexp->L[loy - begy][lox - begx] = LIM01(ble[loy - begy][lox - begx]) * 32768.f; - L_ = 2.f * bufmaskblurexp->L[loy - begy][lox - begx];; - bufmaskblurexp->L[loy - begy][lox - begx] = 0.5f * (*gammamask)[L_];//(*retinexgamtab)[R_]; + L_ = 2.f * bufmaskblurexp->L[loy - begy][lox - begx]; + bufmaskblurexp->L[loy - begy][lox - begx] = 0.5f * (*gammamask)[L_]; } } }