How does one emulate the LR's clarity slider in RT?

Not sure if you’ve seen this but I looked at this a bit a while ago in GIMP/G’MIC: https://patdavid.net/2014/08/clarity-in-gimp-local-contrast--mid-tones/

Not necessarily as a workflow but it might be useful just as a reference to see what might be going on under the hood? With later versions of GIMP/G’MIC and high-bit depth it might be a more feasible solution of sorts.

Yep! I’ve played with a little bit. The problem is that I’ll often get down to small details and start fiddling with D&B or extremely targeted adjustments of wavelets to get things the way I like. If I’m going to do that anyway I’ve just sort of gotten used to dealing with those things at that point in my workflow rather than in RT.

For instance, looking at the PlayRaw with Mairi Troisieme in it

the results from everyone mostly didn’t do anything with the skin tones to the same level that I did in my version. I’m not quite sure that you can even target those modifications well enough to warrant any serious skin work in a raw processor (imo).

Can you give a rough workflow?

Makes perfect sense. I guess it’d probably be a good starting point and then go to your wavelet decomp afterwards.

I haven’t played with Lightroom in a while but from what I recall it’s just local contrast enhancement using some something like an unsharp mask. I’d use wavelets & the tone mapping in RT for a similar effect.

Looks like there are many ways to skin this cat

Personally I use most of the time a technique inspired from Patrick David blog, where I replace the unsharp mask by G’MIC’s bilateral smooth filter, and restrict the effect to the midtones as suggested in the blog article.

The bilateral filter has the advantage of nicely enhancing the regions of small and medium contrast, while avoiding visible halos around the strong edges.

I’ll try to post an example some time tomorrow.

In Photivo, there is a slider under the lab contrast tab called texture contrast. That has been the closest filter/adjustment I have found to mimic clarity. The Lightroom clarity slider is suppose to work on midtone local contrast. You can adjust that in Photivo as well, but it won’t give you the same affect.

No, I do not have a specifc, universally working work flow to recommend. I am still trying to grasp what is possible/not possible with Wavelets :blush:

OK, no problem. If you ever come up with something, feel free to let us know.

1 Like

I believe that “clarity” works by increasing the local contrast (while keeping global contrast constant). So in Raw Therapee the corresponding slider would be “Local Contrast”, found in the Shadows/Highlights Tool in the Exposure panel. Of course you can achieve a similar effect with other tools (CBDL, Wavelets), but Local Contrast would be the most direct and straightforward way IMO.

Hmm…I’ll have to explore that

I do not have Lightroom, so difficult for me to make a comparison. But there RT in two ways to do something that should look like clarity.

  1. with Retinex : choose “Process: Unsharp mask”, in this case I use only the possibility of large radii (the rest of Retinex is not used). then you can change Method (low, …high…) and strength, and radius

  2. in branch “newwavelet”, in “Edge sharpness and Clarity”, select “sharp method = Clarity” (you can change in Wavelet settings : above or equal the level (default Level 7)., then merge luma and merge chroma…

:slight_smile:

I was talking to another more experienced photographer over the weekend and showed him a picture that I shot inside an filthy abandoned warehouse. He was raving about how he would use the clarity slider in LR to really emphasize the grimy, dirty feel of the shooting location.

Reading about how Clarity works in LR, I wonder if I could do a layer with a luminosity mask in GIMP to confine changes to the mid-tones, and then adjust curves on that masked layer to increase the contrast. In theory, this should mimic the Clarity tool, as far as I can tell. Thoughts?

Possibly? I had made a couple of notes a little while ago about this:

https://patdavid.net/2014/08/clarity-in-gimp-local-contrast-mid-tones.html

1 Like

If you’re open to other tools, darktable’s equalizer module has a preset called Clarity. In RawTherapee, wavelet contrast or the contrast by details tools will do similar.

Lastly, share those filthy abandon wearhouses with us!

I don’t think we’ve had an abandoned warehouse PlayRaw yet. :wink:

@afre LOL! We have a lot of abandoned buildings around where I live. I can come up with one for you. The picture that prompted this question though is my latest artistic masterpiece, and is very NSFW so I’m reluctant to post the raw file. I can come up with another one from a grimy building though.

And everyone else…thanks for the ideas. I’ll mess around and see what I like best. I’ve started to use Local Contrast in RT and am pretty happy with the results so far.

Would it be possible to add a slider, or equalizer, to confine Local Contrast to midtones? There are already two sliders for Darkness for and Lightness, though I don’t know how they really work.
@agriggio?

@sguyader it should be possible, yes. I’ll see what I can do. the two sliders are there to scale the effect on dark/light areas, they are useful to mitigate halos in high contrast edges

Maybe it is something different?

This filter was added to the local contrast modul in darktable a year ago or so.

Combined with the equalizer it does a nice job.

1 Like