darktable-org / darktable-org/rawspeed

Nikon D7000 raw white level too high

Open
#359 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
456
Forks
147
PR merge metrics
No merged PRs in 30d

Description

The following shows a small part of an overexposed Nikon D7000 raw file in darktable 3.9.0+1483~gfb7ae22e9, with -1 EV applied in the exposure module, and raw clipping indicator enabled:
image

As you can see, most the magenta area is not marked as overexposed.
RawTherapee's camconst.json lists the max RGB levels as
"white": [ 16300, 15700, 16300 ], // typical R 16383, G 15778, B 16383
https://github.com/Beep6581/RawTherapee/blob/dev/rtengine/camconst.json#L1680

Changing the raw white level to 15780 (close to the 'typical' G level of 15778) produces the following - the clipping indicator closely matching the clipped (magenta) areas:
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Nikon D7000 clipping behavior described in the issue and compare the raw white-level values with RawTherapee's camconst.json entry. Done means the raw clipping indicator matches the clipped magenta areas without the reported overexposure mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.