Improvment to show modifications

This commit is contained in:
Desmis 2020-01-16 19:30:34 +01:00
parent a5f4a199d1
commit 05d9362e8f
2 changed files with 7 additions and 5 deletions

View File

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

View File

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