buildBlendMask: remove multiplication by amount as amount always was 1

This commit is contained in:
Ingo Weyrich
2019-12-20 17:44:51 +01:00
parent f8f100262f
commit 5face2e449
5 changed files with 10 additions and 11 deletions

View File

@@ -256,7 +256,7 @@ void ImProcFunctions::sharpening (LabImage* lab, const procparams::SharpeningPar
// calculate contrast based blend factors to reduce sharpening in regions with low contrast
JaggedArray<float> blend(W, H);
float contrast = sharpenParam.contrast / 100.f;
buildBlendMask(lab->L, blend, W, H, contrast, 1.f);
buildBlendMask(lab->L, blend, W, H, contrast);
if(showMask) {
#ifdef _OPENMP