rectangular black area in center view
#1 Updated by Ulrich Pegelow over 5 years ago
- % Done changed from 0 to 10
- Status changed from New to Confirmed
- highlights = clip
- demosaic = amaze
Pattern of black rectangles is also different between cpu and opencl.
If DT is compiled in debug mode and exported with cpu path -> no black rectangles.
#3 Updated by Ulrich Pegelow over 5 years ago
- % Done changed from 10 to 100
- Status changed from Confirmed to Fixed
As expected the problem seems to be located in amaze. It generates NaN's if highlight clipping is applied - at least in
some cases. Equalizer just "enhances" any NaN by extending it over broad area. Clipping highlights is a fully innocent
operation; it triggers the amaze issue but is not a problem by itself.
Now, amaze: I do not understand at all what it does in detail. So I don't have a chance to dig out the real issue.
What I did instead is doing a safe-clamp at the end. Safe-clamp means, we are only clamping away INF's and NaN's, no limits
are imposed on regular output values, even if they are out-of-range.
I will push a patch to git master. If someone is inclined to do so, she/he is invited to fix the "real" bug in amaze :)