Trying to emulate Adobe's clarity in RawTherapee

I would say yes, unless there have been massive improvements in the clarity tool in new LR versions… anyway, I think it would be a very good starting point.

Thanks!

Three TIFFs PM’d (0 clarity, -100 clarity, and 100 clarity).

Have fun!
Claes in Lund, Sweden

Sorry but I can’t install the trial version anymore (already used ACR and LR trial versions).

@Claes you forgot to attach the 3 TIFFs.

Oh, no, I did not :slight_smile:
I sent them as a PM to the doctor!
I will PM you a copy…

Ok thanks!

Taken from this article

Blockquote
But one of my favorite new things is the new Clarity tool, which was rebuilt from the ground up in Lightroom 4 and continues in Lightroom 5. While it still does basically the same thing–enhancing details by increasing local contrast–the new version is much, much better. I don’t know what kind of fancy new mathematical algorithms are going under under the hood, but the effect is a big improvement.

I have Lightroom 8. Maybe I can assist , but then I need a RAW file.

This raw file has a good mix of detail. Would be nice to get JPEGs with all other settings at neutral and clarity set to 0, 25, 50, 75, 100 (assuming the scale goes from 0 to 100).
http://rawtherapee.com/shared/test_images/blue_horse.nef
If uploading full-sized JPEGs, use https://filebin.net/ instead of attaching directly to this forum.

That would be great!

Excellent test image! 16-bit TIFF files would be event better, just to avoid compression artefacts when comparing different images…

@sguyader could you also provide the RAW file of the image in your initial post?

What kind og Color space ?
sRGB
Adobe RGB
ProPhoto RGB

I think that for this test any colorspace would be ok… but maybe ProPhoto would allow to exclude gamut compression artefacts, provided the TIFF files are really 16-bits at least.

Thanks!

Lightroom Classic 8.2 (latest release)

Adobe Color Profile
00, 25, 50, 75, 100 Clarity in:

sRGB JPEGS
Prophoto JPEGS
Prophoto 16bit TIFFS

https://filebin.net/zozpk3kd263ilpi9

1 Like

As an appetiser, here is the blue horse image with some shadows and local contrast adjustment, using the latest PhF tools. The local contrast mask is based on the guided filter at radius=50 and a very low threshold:

2 Likes

And here is the clarity with values from -100 down to -25
filebin

Prophoto RGB
Lightroom 8.2

1 Like

Ah, I forgot to mention - please include in your post which exact version of the program you used.

For those who don’t know, you can use the gratis Adobe DNG converter as a poor man’s camera raw processor. It turns out that the DNG converter reads ACR settings from an xmp sidecar when generating the (full-size) jpeg preview for the DNG. Therefore, it’s enough to “craft” the proper xmp sidecar and then extract the embedded jpeg to sort of emulate what ACR would do (actually, I assume it’s accurate, since I don’t have ACR/Lightroom so I cannot cross-check).

I have a script for doing that which I sometimes use for curiosity. I’m attaching it here, I don’t think it violates any license. It assumes you have dcraw installed and the Adobe DNG converter working under wine (though it shouldn’t be too hard to adapt to other scenarios).
adng.py (6.7 KB)

Example usage (use adng.py --help for the full set of options):

$ adng.py -j -o blue_horse_default.jpg blue_horse.nef

$ adng.py -j -o blue_horse_clarity100.jpg blue_horse.nef --clarity 100

Hope this helps

4 Likes

Here’s the raw file from my original post (licensed under CC BY-NC-SA):
DSCF1337.RAF (24.8 MB)

1 Like

Uploading huge 137 MB files to filebin fails every time.
Alternatives ?

I sometimes use this French service: http://dl.free.fr

Or try https://send.firefox.com and make sure to adjust the settings so they’re appropriate for multiple people to download.