Capture sharpening: added range-adjuster to exclude bright areas from sharpening

This commit is contained in:
Ingo Weyrich
2019-11-12 14:37:15 +01:00
parent 174f5e95ff
commit e525f5bec1
9 changed files with 45 additions and 7 deletions

View File

@@ -646,7 +646,7 @@ BENCHFUN
const array2D<float>& blueVals = blueCache ? *blueCache : blue;
array2D<float> clipMask(W, H);
constexpr float clipLimit = 0.95f;
const float clipLimit = sharpeningParams.deconvrange / 100.f;
constexpr float maxSigma = 1.15f;
if (getSensorType() == ST_BAYER) {