Clarity in darktable

I use the equalizer module with the clarity preset and the mix between 0.2-0.6.

2 Likes

In this case that is good. And in many cases the local contrast alone is sufficient. However - especially after using Filmic, the image often looks flat and hazy and multiply blend mode helps to improve this.

1 Like

Yeah, I noticed the flatness too. Not always easy to get that back and make it look natural.

I’m really curious about the examples you posted just now. Definitely going to experiment with those myself.

Thanks for doing the digging/hard work (again…).

1 Like

This is also a nice method which I like to use, but it lacks the possibility to additionally improve the hazy, flat appearance of highlights.

1 Like

I haven’t noticed flat highlights from filmic. Most of my raw files are quite flat to begin with, but I feel I’ve had no problems using exposure + filmic to get the image overall to a good point.

The images you posted all have two instances of the module. Did you use the default settings for the first instance?

Thanks for this @s7habo. I was just trying it with the girl and snow. You said at the start this was about highlights and I noticed this slider is at zero, which struck me as odd. Playing with this value, it seems to make little or no local difference to the snow to my eyes. And similarly with normal blending.

Is this to be expected with the local contrast module, or am I missing something?

I see now, I must actually correct myself. It’s not just about local contrast in highlights, but how the rest of the dynamic range and colors are affected. Let me demonstrate this with an example.

Here you can see a section of a wall of a house after the usual processing with exposure, filmic and contrast correction with color balance modules:

The image looks a little “washed out”; local contrast is very low and the image looks a little " hazey" (this can be seen very well on the window glasses, which have a white layer as if they had a very fine layer of dust)

If I now use the local contrast module to highlight details and darken windows, I get this HDRish look:

But if I just boost the local contrast in the midrange…

…and add a multiply blend mode, I get a visually pleasing result:

Please note the colors and brightness on the roof, walls and windows. Now you can see the flower relief on the wall even better, because it not only differs in contrast in brightness but also discreetly in color.

If I now increase the detail slider in the Local Contrast module, I get even more local contrasts in the picture without it looking very unnatural:

Actually I try to achieve something similar to what @heckflosse does in his thread here:

No. I’m still experimenting with the best way to combine this.

That was actually my mistake. It’s still about the highlights, but the other areas have to be influenced as well. I believe multiplication blend mode eliminates the changes that can be made with the highlights slider.

7 Likes

Thank you, @s7habo, for a brilliant advice!
I adopted it to this morning’s shot through the kitchen window,
showing an anemone hupehensis, ready to propagate.

cotton
Thanks to Boris’ advice, I was able to develop the structure of the “cotton”
much better.

Danke Vielmals!

MfG
Claes in Lund, Schweden

2 Likes

Thanks Boris for this amazing tip! :grin: This is working better than the clarity preset of contrast equalizer for me. Using a second instant in multiple mode also saturates the colours nicely.
I still have to play around with the sliders in this module.

Sorry, I just work up, so I’m not sharp yet, but what is your “preserve chromiance” (or similar) setting in filmic?

1 Like

Just playing with this some more by drawing a mask over a face in the second Local Contrast instance, i.e. the one with Multiply blending. This works nicely, however, experimenting with the blend modes, Difference is being applied to the whole image rather than just the mask. Other blend modes I’ve tried are restricted to the mask as I would expect. Anyone else getting this? Bug?

In the short time I’ve been playing around with this approach I have noticed it does does give good results but also adds more saturation. On previously processed images I’ve gone back to the colour balance module to reduce saturation.

Normally I add local contrast after the filmic/tone eq/colour bal. modules but will start playing with local contrast ahead of colour balance so final saturation levels can be fine tuned.

Many thanks Boris for the excellent discovery!

Interesting technique and convincing results in the series of images of the building……!

I some situations I think that it’s a problem that the multiply blend mode turns the whole image darker. This is especially a problem in winter shots. The snow should be white not grey (that is if you don’t have a coal burning power plant in the neighbourhood).

Look at the screen shot below. In this case the multiply blend mode (on the left) doesn’t do anything good.

But I realize, thanks to you, that it’s a great idea to combine the use of the detail and opacity slider in the local contrast module.

I rarely change it. It is default RGB power norm.

Might be worth a try if you’re not satisfied with the saturation after applying filmic rgb.

1 Like

Yes, it always depends on the subject, whether you use it or not. In your case, it doesn’t actually make sense.

I start to wonder if having a local laplacian working in scene-referred and blended with multiplication, by default, wouldn’t be more color-stable than the one we have now.

9 Likes

I removed the local contrast step from my previous reply and played a bit with your multiply variant. Didn’t even put too much effort in and the result is already much better:

Not one you can blindly use: You do need to play with the settings to get a good result and not all images are eligible. Reading the replies it seems that the latter is encountered by others as well.

That’s what you’ve got to love about darktable (post-editing in general?): No such thing as a one-size-fits-all solutions.

3 Likes

I just did a noob investigation why multiplication blend mode works in some cases and found out that besides Local Contrast Module you have to change (increase) the contrast in the respective areas to get a pleasant result.

Here are a few examples that I tried using RGB curve. I applied these curves after the Filmic and then Local Contrast Module:

I came to the conclusion that the Local Contrast Module should have something like 3 additional controls according to this scheme:

  • Position is the position in the dynamic range where this additional contrast should act.
  • Range is the size of the selection for this contrast
  • Contrast is the strength of contrast.

This is of course only an observation now. Whether such a thing is realizable is another question. :slight_smile:

2 Likes