Extreme Highlight recovery in darktable

hello
quick test, but i get vertical line artefacts in the blown out whites. i tried to smooth them with filmic. if i smooth them completely i seem to loose the color

an easy starting point should be to set the method to “reconstruct color” in the “highlight reconstruction” module. then to play in the reconstruct window in filmic

PK1_3540.DNG.xmp (7.8 KB)

not perfect

2 Likes

The trouble is that highlight recovery (of blown areas) is one of darktable’s weak points. Those small clouds above the trees are present in the image, and are recovered nicely by Lightroom. They can also be made visible in darktable by dropping the exposure and switching highlight recovery to reconstruct in LCh:

However, later they are smoothed into the sky.

4 Likes

Yes. I tried to use color reconstruction and got a decent result.


PK1_3540.DNG.xmp (9.5 KB)

2 Likes

playing with guiding laplacians


PK1_3540.DNG.xmp (12.8 KB)

12 Likes

This is where color propagation methods of reconstruction are helpful. See recent discussion here: Guiding laplacians to restore clipped highlights

You could try the “color reconstruction” module even though it’s not in an optimal position in the scene referred workflow.

You could also try color propagation method in RawTherapee for comparison, even if that isn’t a solution to your darktable problem.

1 Like

The transition from blue to red does not look nearly as good as with Lr, and the clouds are gone.

Here’s my attempt – I’m not satisfied with that one, either. Lost much of the saturation, got a bit of the cloud back.
PK1_3540_01.DNG.xmp (8.9 KB)

Edit: increasing the opacity of the local contrast module to ~35% gets more of the cloud back:

And just to show how much luminance detail we have (can keep) in the sky when we hit filmic, here’s a screenshot of filmic’s highlight reconstruction mask (adjusted to demonstrate detail here, not for actual highlight reconstruction):

3 Likes

Yeah, I would consider this a perfect exposure-to-the-right… not like it’s that important on a K-1 not at base ISO though.

Here’s the raw histogram:
Screenshot_20220105_073103

And Filmulator’s result, which is completely artifact free recovery to my eyes.

(highlight recovery 2, exposure comp -1.5)

10 Likes

The last one from me, promise – a trick from @s7habo : local contrast in multiply mode. Kind of ‘overdrive’. :slight_smile:
PK1_3540_04.DNG.xmp (10.9 KB)

1 Like

Had to get creative, using tools not really designed for the job.

extreme-highlight-recovery-PK1_3540.DNG.xmp (15.6 KB)
dt 3.8

After reading the last posts I also tried local contrast on top of my Extreme Highlight recovey in darktable - #4 by bilddateien and it looks like this:


PK1_3540.DNG.xmp (10,4 KB)

Here a take with alot of color from filmulator. Increased brightness of the shadows so the overall image could be taken down a bit, along with drama 50 and highlight recovery 2

5 Likes

I apologize for using RawTherapee … using Colour Propagation as Highlight Recovery mode along with -1 EV Exposure Correction gave quite good results for the blown sky.


PK1_3540_RT-2.jpg.out.pp3 (15.2 KB)

9 Likes


PK1_3540-7.jpg.out.pp3 (14.8 KB)

3 Likes

Yeah… OK… I said no more from me. But then I came up with this.


PK1_3540_06.DNG.xmp (12.0 KB)

I added 2 more exposure module instances:

  • one, named dummy for mask, is placed before the original instance, and does nothing but define a brightness-based mask, as close to the original image as possible;
  • the other, which I named contrast boost, I moved to the end of the pipeline. It also does nothing (does not really adjust the exposure); however, it is merged in multiply mode, which increases contrast. That adjustment would be rather extreme, but I tell it to use a raster mask from the dummy for mask instance, so it affects highlights mostly, but those apply multiplier levels close to 1, so they don’t cause a huge contrast boost. If you zoom into the image, you’ll see that the clouds are there.

This boosted saturation too much to my liking, so I reset color balance rgb to use the add basic colorfulness preset.

4 Likes

Yes sorry for not using darktable previously. Here a darktable version with the intent of making it look like your lightroom file. Used filmic rgb, shadows and highlight and saturation

2 Likes

Well, it’s a Play Raw

6 Likes

I tried DT, RT and ART on this.

Got my personal best with ART.

PK1_3540.DNG.arp (11.5 KB)

And this is my attempt using DT.
With the scene referred workflow, adjusting the threshold for highlight recovery in the Filmic RGB module is helpful.


PK1_3540.DNG.xmp (15.6 KB)

I have RawTherapee’s highlight recovery algorithm through use of the librtprocess library in rawproc, so I decided to see how that would go:

I don’t have the nice local contrast tools of the “regular” softwares, so there was only so much lift i could give to the shadows before the sky went white, and even then I had to introduce a small bit of HSL saturation to keep the sky from going too purple-ish when I tone-curved.

My current metering strategy sometimes allows very high-energy highlights to blow through sensor saturation, and I’ve found the RT recovery algorithm to mitigate those quite nicely.

8 Likes