Edges tool too strong on diagonals from bottom right to top left. Fixes #3870

This commit is contained in:
heckflosse 2017-05-13 11:33:39 +02:00
parent 9e1fc78004
commit efe528a485

View File

@ -414,7 +414,7 @@ void ImProcFunctions::MLsharpen (LabImage* lab)
wD2 = eps2 + fabs(L[offset + width - 1] - L[offset - width + 1]) / s;
s = wD1;
wD1 /= wD2;
wD2 /= wD1;
wD2 /= s;
// initial values
int ii = offset / width;