Project

General

Profile

Bug #9049

rectangular black area in center view

Added by Zeus Panchenko over 5 years ago.

Status:
Fixed
Priority:
Medium
Category:
Darkroom
Target version:
-
Start date:
11/13/2012
Due date:
% Done:

100%

Affected Version:
git development version
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

rectangular black area in center view and light-gray one in export
.CR2 file which exposes the problem
.CR2 with the same scene but without the problem

iZ121011-1511_100-5955.CR2.xmp - .xmp for the problem .CR2 file (36.5 KB) Zeus Panchenko, 11/13/2012 08:24 PM

History

#1 Updated by Ulrich Pegelow over 5 years ago

  • % Done changed from 0 to 10
  • Status changed from New to Confirmed
Bug seems to be triggered by simultaneous activation of:
  • highlights = clip
  • demosaic = amaze
  • equalizer

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.

#2 Updated by Ulrich Pegelow over 5 years ago

Zeus,

one additional question: do you observe this issue with various images or is it an issue of one specific raw?

#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 :)

Also available in: Atom PDF