Skip to content

[Feature]: Highlight reconstruction for RAW files #1072

Description

@nicokaiser

NegPy version / build

0.58

OS

macOS 26

Scanner

Digital camera (macro/copy setup)

Scanner model / details

Sony A7 + Nikkor 55mm f/3.5

Light source

CIneStill CS Lite

Correction mode

Off

Input ICC profile (if any)

No response

Relevant process-tab settings

No response

What happened

When clipping occurs in RAW files, clipped highlights may appear as pink, because of the Bayer sensor and the way white balance is handled.
Although this is an edge case and of course it is preferable to avoid clipping, it is sometimes not really avoidable, like when scanning slides with very thin parts (like the sun).

It would be great if clipped highlights would be reconstructed in this case. Darktable uses the "inpaint opposed" method, which makes highlights clipt to true white instead of pink:
https://docs.darktable.org/usermanual/5.6/en/module-reference/processing-modules/highlight-reconstruction/

I'll attach an example scan (which is not a masterpiece of photography, but shows the case) and its NegPy interpretation.

Source file

2017-04-09_Dia_Film2017015_012.ARW.zip

Image

Screenshots

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions