Shadows / highlights tool

(Olaf Berthelsen) #61

Hi’ afre

I think it is a security issue. It happens on both my Windows pcs running the same security system (F-Secure) and when I try to follow the link provided by you the page is blocked because it has been reported as harmful.


Personally, I didn’t have problems with F-Secure back when I used it.

The problem that I had with Firefox that time was having the block list set to strict.

(Paul) #63

Hey all. Apologies for the tardiness of the image I promised the other day, I’ve got too much going on :slight_smile:

Anyhow, I have an image that I’ll share on Monday. I decided to not share the image from my class as it doesn’t totally pertain to this discussion. So I shot an image specifically with the H/S sliders in mind.

I’ll be back in the am, Pacific time.


(Paul) #64

I’m back.

The image I’m providing isn’t CC, but I’ve included rights usage in the metadata that allows members here to experiment freely with it.

My goal was to produce an image with an exposure range that clipped the shadows and the highlights, and also provide a challenge to the tools masking ability. In the screenshots below, red and blue overlays indicate clipped regions.

The first image is straight after import after Lightroom has applied it’s camera profile, but nothing else.

The second image shows the result after applying a -100 highlight correction, +100 shadow correction and a +2EV bump with the Exposure slider.

For the sake of being thorough, in the third image I adjusted the white balance, made a minor correction to the tint of the shadows and added a simple tone curve. This is by no means a final rendition of the image, but it does show how far one can get with very little work in Lightroom. I can get close to this in RT, but it takes more work.

I hope this is useful to the conversation and the development of RawTherapee’s Shadow/Highlight tool.

XMP is included for metadata
test_042918_0008.xmp (3.7 KB)

test_042918_0008.ORF (13.3 MB)

(Alberto) #65

Hi @EmbergerMedia,
thanks for the file. Here’s what I could do:

(Paul) #66

That looks pretty darn good @agriggio . Was this the official RT release, or with the modified H/S tool mentioned here? Would you mind sharing a screenshot of your history?

(Alberto) #67

I did use the new S/H tool (which has now been included in the dev branch, and so will be part of version 5.5 when it is released), but only for some minor tweaks. The bulk of the work was done with the “HDR Tone Mapping” tool, which is already part of 5.4. (Incidentally, HDR TM is probably my favourite single tool in the RT bag – and I’ve started thinking we should have called it “Dynamic Range Compression” as that better captures what it is useful for…).

Well, that’s in the video already, right? :slight_smile:
Anyway, here is my pp3. Since I posted the above, I have also added a bit of colour tweaks to (try to) better match your LR rendering.

Finally, I did not apply any noise reduction – not because it’s not needed, but because I couldn’t find anything satisfactory. All my attempts at reducing the huge amounts of noise in the rocks had the effect of killing the colours, so in the end I gave up… if LR can do better here, I’d be very interested to see its results.

test_042918_0008.ORF.pp3 (11.2 KB)

(Paul) #68

I asked about the history 'cause the video was a bit choppy for me, and some edits appeared after apparently nothing was touched. :slight_smile:

I’m impressed by how the HDR TM tool handled the tonal range. I agree, I think users could be better served by a different name.

As for noise, I’ll do a quick and dirty edit for it on the rocks in LR and post a screenshot. LR can handle it without much loss of color quality to the rest of the image.

(Carmelo Dr Raw) #69

@agriggio @EmbergerMedia I have used my “enfuse recipe” with this image, and here is what I could obtain:

I have merged the shadows from the enfuse output with the original RAW at 0 exposure compensation, then used a “film-like” tone curve to increase the contrast, a gamma curve to lift the mid-tones, and finally a bit of saturation increase.

Compared to @agriggio’s version, the saturation is less pronounced, as well as the local contrast. However, the sky looks far too dull in my version…

(Sebastien Guyader) #70

@agriggio inhad the same awful colored noise. A simple workaround i found in my try was to turn “Black compression” down to zero, and “Black” up to 40-50 in the Exposure panel.

(Paul) #71

Hey @Carmelo_DrRaw, the enfuse version looks like a good base to start building from. Though, it appears that it enhanced the purple fringing around the branches set against the sky. I don’t mind the sky in your version, actually. I think a further tone curve adjustment (and maybe a white balance tweak) would help the sky have more impact without over saturating it.

(Sebastien Guyader) #72

Here’s what I got starting from @agriggio 's pp3:

test_042918_0008.ORF.pp3 (11.6 KB)


@agriggio this is also my favorite tool in RT and it is indeed powerful! Dynamic Range Compression would be a better choice. You guys rock.

(Carmelo Dr Raw) #74

Here is the highest level of shadows recovery I could achieve without falling into a “too fake look”. I also removed the purple fringes around the branches:

For reference, here is the initial enfuse output, the .pfi file and the input TIFF file:

test_042918_0008.pfi (25.1 KB), TIFF file


plus the change of demosaicing method to let’s say RCD will help with that.
Edit: here is mine .pp3. Noise is gone. test_042918_0008.ORF(1).pp3 (12.2 KB)

(Olaf Berthelsen) #76

Hi’ agriggio
Another great result of your work!
I’m in the same situation as you with respect to poor results with the old S/H tool. In fact the limited capabilities of this tool is really striking when you start using RT since most photos need some tuning of shadows and highlights.
I vote absolutely for scrapping the old tool and switching to your new one.
Your S/H tool in combination with the HDR Tone mapping tool offers many tuning possibilities.
Take a look at the uploaded photo with sharp shadows and distinctive highlights. I have some problems with the group of persons marked with the red arrows. A way of improving the photo could be to lift the shadows by means of the HDR mapping tool and rescuing the highlights by means of the S/H tool (maybe I have overdone it somewhat).

Problem photo.

Photo after having applied S/H and HDR Tone mapping

Original NEF file
DSC_8833.NEF (31.1 MB)