jcelaya / hdrmerge

HDR exposure merging
http://jcelaya.github.io/hdrmerge/
Other
354 stars 78 forks source link

Overexposed pixels slip into output DNG #202

Open 10110111 opened 3 years ago

10110111 commented 3 years ago

In the example at this Google Drive link three images get merged into a result that contains almost no data from the least exposed image. But some pixels in the scene do actually need these data due to being overexposed in two other images. See the HDRMerge screenshot, with the spots circled with red:

Screenshot - 020820 - 23:15:39

And here's a screenshot from RawTherapee that reads the DNG saved from HDRMerge. Notice the black overexposure highlights.

Screenshot - 020820 - 23:19:40

Here's an attempt to reveal the actual data by lowering the Exposure Compensation value. The colors are too yellow, i.e. not orange enough — that indicates that red channel is indeed overexposed in the raw data.

Screenshot - 020820 - 23:19:50

For comparison, here's what RawTherapee shows for actual lowest-exposure .CR2 file.

Screenshot - 020820 - 23:28:43

Steps to reproduce the problem:

  1. Run HDRMerge
  2. Uncheck all the checkboxes (alignment, cropping and custom white level)
  3. Press Add, choose the three photos from the link above
  4. Look at the image, don't try to alter it, notice that only images 1 and 2 are active.
  5. Try saving the DNG and loading it in RawTherapee (and switching to Neutral profile) to see the overexposure.