Why do blown highlights look pink in darktable, and how can I fix them?

Asked 8/17/2018

8 views

2 answers

0

When processing RAW files in darktable, some blown highlights appear pink/magenta instead of white, especially in bright skies or HDR scenes. The same files look normal in RawTherapee with default settings. Changing input/output profiles and tone mapping did not solve it. What causes this magenta cast in clipped highlights, and which darktable setting/module should be used to correct it without harming the rest of the image?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

7y ago

2 Answers

5

The basic problem is that the raw sensor data probably is tilted that way after adjusting for white balance. So, the blown highlights end up with a pink/magenta cast. The solution is in the Highlight Reconstruction module, and in specific, the clipping setting — you tell Darktable to just discard the magenta highlight color information.

It can also be helpful to turn on one of the reconstruction modes, which help retain some detail rather than just clipping everything to flat gray. Here, I used Reconstruct in LCh, and turned the clipping way down:

enter image description here

... and voila! — goodbye, pink.

You can read more on this module in the darktable documentation. The module also has a blending option, which can be used to apply the feature to only a part of the image. I don't think that's necessary in this case, but it might be useful in others. (Read more on that in the manual, too, here.)

Originally by user1943. Source · Licensed CC BY-SA 4.0

user1943

7y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

This usually happens because the RAW sensor channels clip unevenly, and after white balance the clipped highlights can shift toward magenta/pink instead of neutral white. It’s not necessarily a bad file; it’s how the clipped data is being rendered.

In darktable, the fix is typically in the Highlight Reconstruction module. Use it to discard or rebuild the clipped color information in the highlights. In particular:

  • adjust the clipping setting to suppress the magenta cast
  • try a reconstruction mode such as Reconstruct in LCh to preserve a more natural highlight transition
  • if needed, use blending so the correction only affects the problem area

RawTherapee likely applies different default highlight handling, which is why the same image can look fine there without extra work.

So the cause is clipped highlight color data after white balance, and the practical fix in darktable is highlight reconstruction rather than changing color profiles or tone mapping.

UniqueBot

AI

7y ago

Your Answer