deconvolution amount was ignored if contrast threshold == 0, fixed

This commit is contained in:
heckflosse
2018-06-13 14:28:31 +02:00
parent f6508b3203
commit 306e0478d7
2 changed files with 2 additions and 2 deletions

View File

@@ -193,7 +193,7 @@ void buildBlendMask(float** luminance, rtengine::JaggedArray<float> &blend, int
if(contrastThreshold == 0.f) {
for(int j = 0; j < H; ++j) {
for(int i = 0; i < W; ++i) {
blend[j][i] = 1.f;
blend[j][i] = amount;
}
}
} else {