Small changes to label deltaE

This commit is contained in:
Desmis
2019-03-14 07:50:33 +01:00
parent 693940de73
commit 43517e2653
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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_];
}
}
}