How to get Darktable sharpness to match Lightroom

You can also try the highpass module. See darktable 4.2 user manual - highpass.

Also, don’t forget that if you process raw images, darktable gives you an option to mask based on input detail level. You could avoid increasing noise in flat areas, and concentrate on edges and areas rich in details. See ‘details threshold’ at darktable 4.2 user manual - mask refinement & additional controls.

With diffuse or sharpen, you can use the presets marked here (I own old cameras that have anti-aliasing filters):
image

1st (bottom) instance is local contrast, 2nd is the sharpen demosaicing. Very rarely, I use the lens deblur presets, too (usually masked).

3 Likes

To be honest, I’ve never really worried to much about sharpness at these levels, so I might not be the best to answer. I don’t have a camera with such a high resolution either… :smile:
Having said that, I was a little surprised that I could not get a match to your Lr version using diffuse and sharpen.
I recently upgraded to a GTX1650 and D&S is quite snappy (relatively). I still don’t fully understand how to fine tune D&S to be honest, but I’m usually very satisfied with the presets.

Anyway, I settled for using D&S set to the sharpen demosaicing (no AA filter) preset, which doesn’t tax the system much either, then I used contrast eq for the rest. I think this looks ok.
DSC04669
DSC04669.ARW.xmp (10.7 KB)

Interesting topic - I don’t know what kind of algorithm Lr uses for sharpening.

Hmmm. that doesn’t look quite as sharp as I wanted. Here’s another one with a second instance of contrast eq. It might seem a bother, but if you actually wanted this it would be easy to make a style that applies as many sharpening modules as wanted in one click.
DSC04669_01
DSC04669.ARW-01.xmp (11.6 KB)
I’m running a recent dt 4.3 - just in case my .xmp doesn’t work, my contrast eq looks like this:
image
and this:
image

5 Likes

The C1 images also are more contrasty, which increases the perception of sharpness. (See, for example, Still need 'sharpen' module after D&S ? - #14 by rvietor).
In the bottom image, the middle one (from C1) looks horribly oversharpend to me when viewed 1:1.

DSC04771.ARW.xmp (9.9 KB)

Or 3 instances of old-school sharpen, with different radii and amounts:

Or contrast equalizer:

This discussion is so useful. Thanks everyone!

1 Like

Only as a small addition a simplified diagram about two important controllers at diffuse and sharpen module with which one - in contrast to other modules for sharpening - can hold the artifacts very well in check:

6 Likes

As some one mentioned you can use the details threshold setting of masking and really dial in the sharpening so that you can be far more aggressive if that is your choice… then you can then make it as crispy as you like to the point that your image looks like it is dehydrating… :slight_smile:

Sharpness wise I was never really happy with my A7III files in DT until the diffuse or sharpen module, just the aa filter preset gives the perfect starting point. I can then use more instances with different presets or use local contrast and contrast equaliser to get the results I’m after, which most of the time would be sharp but not over sharp.

1 Like

Have you ever tested this “hypothesis of being faster”? :slight_smile: “Someone” is claiming so be removing things but on the other side no dt stuff that really helps here a lot (especially on master) has been ported.

5 Likes

Just playing around now with some of my images because my monitor came with three months of Adobe CC and I’ve got the free version of C1. LR over does the sharpening imo, I’m having to tone that and the contrast down. C1 over does it as well but it looks better and not as much toning down needed.

Another thing to keep in mind is that DT does not sharpen after resize when exporing, which means that exported JPEGs may lose a bit of sharpness compared to what is shown in the darkroom. There’s a Lua script to sharpen on export but I haven’t had time to test it yet.

I have not tested the speed difference, but on my computer sometimes DT crashes when I engage astrophoto denoise. I believe this is a problem with my computer rather than a DT problem. However, editing the same image in Ansel when this occurs allows me to apply astrophoto denoise without a crash. That is why I suggested Andy the OP might want to try the fork.

BTW, having tried Ansel there is much I miss from DT. I personally use shadow and highlights module a lot. Lets be fair, this module or its equivalent is probably in every piece of commercial software and even FOSS. It is there for a reason. It works well. Then AP comes along and tells as it is bad. Well as much as I like the tone equalizer module and use it, the look is different to shadows and highlights. I really appreciate all the great work that AP has done, but I don’t want to be forced to do it his way and only his way.

In Ansel I also I miss the export module in darkroom view. I do not to have to go back to lightroom view to check or set my export settings. I also love the way DT now names the processing module with the preset used.

1 Like

As much as I dislike his communication style, he clearly articulated the problems with this module and said its fine as long as you don’t push it hard.

2 Likes

I totally agree with this statement. He also said photography is about the look. So if it looks good it is good.

What I really like about DT’s shadow and highlights module is the ability to soften with bilateral filter if halo effects occur. It is also better to perform multiple instances of smaller values than one large sledgehammer adjustment.

I am working a playraw image at the moment and the dynamic range of the lighting means I am using both the tone equalizer module and the shadow and highlights module.

Terry, thanks for reminding me about this issue. Will try to get this fixed asap :slight_smile: There are already to reported issue at github about this.

2 Likes

@hannoschwalm thanks for all the great work you and the other developers put into continually improving DT. I just love the way the modules are renamed with the used preset. A small but nice improvement.

2 Likes

For me the difference in the three images are in the settings chosen by the user. The middle one seemes to have more local contrast but I cannot know the settings used to sharpen the image in Capture One and Lighroom. Just assuming that the sharpen and denoise functions are adjustable in these programs.
The version made with darktable looks a bit blurry, but for me this is a result of the user edit. When I opened the lowest image in darktable the image already had good sharpness and low noise, therefore I just added a bit sharpening with the contrast equalizer and sharpen module (to my personal taste).
20230204_00-14-09_screenshot
DSC04771.ARW.xmp (11.0 KB)

I don’t know if others have shown it but I really also like the look that you get by using the watercolor preset in subtract mode…it will be instantly dark and you can see the detail…then you just drag the mask fulcrum tab in the left to return the brightness and dial in the effect… I first saw Boris use it in one of his video’s

3 Likes

Using those 3 layers on a slow computer is painfully slow, and you can get good sharpening with a single instance set up like this. Much faster, and you just fine tune the sharpness with edge sensitivity (or maybe an extra iteration if really needed)

image

2 Likes