Extreme Highlight recovery in darktable

Trying again in GIMP

Itā€™s a pity that such a large percentage of the edits posted show the very highlight reconstruction failure that the OP was complaining about, and contrasting with the simple, reliable, no-fuss reconstruction of highlights that he got from Lightroom.

This thread really serves to emphasise that DT really should be delivered with a default highlight recovery that is as reliable and fuss-free as almost all the software we get from camera manufacturers and the big independents.

Yes, the power and flexibility of DT highlights recovery is fantastic, and appreciated, but we shouldnā€™t be seeing so many problems that need addressing.

Now, I will close by contradicting my above rant: I ran the OPā€™s file in my DT 4.2.0 and the default ā€˜inpaint opposedā€™ highlight recovery worked fine! :wink: :face_with_open_eyes_and_hand_over_mouth:

I then proceeded with a quick personal edit of the OP image and got this look, just sharing for fun.


PK1_3540.DNG.xmp (14.8 KB)

cheers

so then?

2 Likes

Yep, thatā€™s the funny thing about this thread - it was started when dt was indeed lacking a decent HLR algo, but now, in 4.2 the OPā€™s issue no longer exists - as you found. The new default HLR settings work perfectly on 95% now, instead of, um, 30%? before.

1 Like

This image was one of the many images we (@Iain @garagecoder and me) investigated in depth while developing ā€œopposedā€ and ā€œsegmentation basedā€. In images like this a smooth transition from non-highlights to reconstructed-because-blown-out was sort of a challenge. So if you evaluate the different algos and applications handling such issues ā†’ watch out for those parts of the image :slight_smile:

About the 30% in question. I would also use a question mark here :slight_smile: While deciding to make ā€œopposedā€ the new default we checked for ā€œhow many images failā€ on the algorithm and in fact there are very few (maybe the 5% you mentioned). With the old clip algo we also had only few images failing completely (well we had a constant color shift due to white balance - letā€™s forget this now) but we had a failure rate of close to 100% if we wanted any detail recovered :slight_smile:

9 Likes

Seeing the good results of that effort of yours, we can just say Thanks a lot for the work done! :slight_smile:

3 Likes

Thanks for all the work you put in! My 30% figure was a bit (very) unscientific. I was thinking more of images where the image stands all falls by large blown areasā€¦ like this oneā€¦ as opposed to 30% of images all together. But sorry - didnā€™t mean dt was all that bad before!

Havenā€™t played with darktable for quite some time and I want to get rid of the rust that has been building upā€¦

This one seemed a nice one to start with again. I remember doing this one using RawTherapee when it was originally posted and having a rather hard time to get a meh result.

The one below isnā€™t perfect, thereā€™s for example a small cloud cluster that isnā€™t prominent enough for my taste, but it isnā€™t all that hard to get to the result shown here:


darktable 4.3.0+978 (14.4 KB)

Rawtherapee 5.8 + Gimp 2.10.30

1 Like

In dt 4.4.2 the problem simply does not exist. Highlight reconstruction with default settings (inpaint opposed) fixes it. Decompression with filmic and tone eq, local contrast with diff & sharpen, small color adjustments using cc channel mixer.


PK1_3540.DNG.xmp (10.0 KB)

3 Likes

Next fun with RawTherapee and GIMP

Hello,
Hereā€™s my colorful interpretation of this beautiful photo.
Reading this thread, itā€™s easy to see how Darktable has evolved.


PK1_3540.DNG.xmp (24.2 KB)
Darktable 4.5 & Sigmoid + one of the profiles I use for my Pentax K-1
Pentax K-1 Camera Vibrant.icc (528 Bytes)
Greetings from Brussels,
Christian

2 Likes

Yes, itā€™s certainly a good example this oneā€¦ it caused no end of issues back in 3.8 or whatever was current when this thread started. Go DT!

1 Like

I really like the proposal of @hanatos with vkdt. I leave mine with Ansel (DT fork).


PK1_3540.DNG.xmp (9,9 KB)

Cheers

2 Likes

Revisit for a couple of quick editsā€¦

PK1_3540.DNG.xmp (17.7 KB)

5 Likes

I tried with sigmoĆÆd + tone equalizer for shadows and highlights:

PK1_3540.DNG.xmp (13.9 KB)

1 Like