DT sharpening is questionable

Good morning all

The only thing still bothers me a lot about darktable is its sharpening. I have been using DorS a lot lately but I can’t say I am 100% satisfied with it. In my journey I realized that lens correction blurs the pic a lot so stopped using it, which did improve the sharpening but still it doesn’t do as same as the JPG straight out of camera. I am aware the camera JPGs could be overcooked for sure but at the end of the day a bit sharper pic really is not something we all want?

Let me give you an example. I shot many pics nice and sharpe on one of the family event. I had Canon R6, 85mm 1.2 USM. I shoot in Raw+jpg. When I see my processed Raw along side with Jpg, I feel bit disappointed with sharpness of processed Raw.

Please guide me if I am not using DT correctly.

CR3, XMP & JPG (staright out of camera) attached
_6I_4800.CR3 (6.2 MB)
_6I_4800.CR3.xmp (9.7 KB)

This file is licensed Creative Commons, By-Attribution, Share-Alike.

1 Like

You can find literally dozens of threads about this topic, please search the site.

A good one is here:

2 Likes

You should probably share an example raw, xmp and jpeg, or it’s going to be hard to give any sort of specific feedback.

That said, here are some general observations and questions:

It adds a bit of softness in the corners, mostly. No one will ever notice at normal viewing sizes and distances, except in some extreme cases.

Your camera does additional sharpening, unless you tell it not to. It probably also applies lens correction, including distortion correction (which causes softness in the corners, just like in DT).

No. You will find plenty of photographers that don’t care about sharpness. Some because they don’t care at all, but most because they realise that beyond a certain minimum level, mostly dictated by the subject matter and display medium, it just doesn’t matter. Personally, except in certain cases, I apply only capture sharpening (either of the two sharpen demosaicing presets in DS).

At what zoom level do you compare? Actual viewing size and resolution? Blown up to 100%? 200%? Are you pixel peeping?

https://www.slrphotographyguide.com/pixel-peeping-why-you-shouldnt-do-it/

I feel confident in saying that you are not. If you can’t match your camera, then it’s because you don’t understand how to properly use your tools. Darktable has very powerful sharpening features.

5 Likes

image
By the way, Play Raw is a category for sharing a raw file for others to play with. Whereas this seems to only be about processing and darktable.

2 Likes

Please include images, including the JPG result you want to achieve. (After all, you are in the Play Raw category…)

1 Like

Moved to Software/darktable.

3 Likes

Removed the play_raw tag. @sherebiahtishbi you can add the tag back in again if you want to add a raw file to the first post.

3 Likes

Ah, here is the topic I really wanted to recommend to @sherebiahtishbi, but was previously unable to find it. It’s very(!) long, but there are many examples, with XMP sidecars and screenshots of module settings.

3 Likes

recently watched this https://www.youtube.com/watch?v=dmcQbdddhpk - i usually use no AA filter preset under diffuse and sharpen module then a medium lens deblur and another instance of local contrast fine (also under defuse and sharpen) i am using an adapted old canon kit film lens so it’s quite soft :slight_smile:

3 Likes

I will send couple example soon! But I am zooming in by may be just 10% and the difference is so apparent!

My apologies, I will be adding Raw and JPG soon.

I did an experiment. I made duplicates of an image (Boris the Spider) and did the exact same editing except for the sharpening method. My first edit that I posted in the Play Raw thread used D&S - Lens Deblur Medium. My three re-edits used D&S - Sharpen Demosaicing (AA Filter), D&S - Sharpen Demosaicing (no AA Filter), and Contrast Equalizer - deblur: Fine Blur: Strength 3.

Then I made comparisons by zooming in on the spider’s head and thorax, which have a lot of detail. All four methods look significantly better than without sharpening. But I can see very little difference between the four methods. However, the one with D&S - Sharpen Demosaicing (AA Filter) looks slightly more pleasing, although I cannot cite any specific difference; I could just be fooling myself about this.

1 Like

Original post is updated with CR3, XMP and JPG out of camera

2 Likes

You need to add a licence to your image so we can all play with it. For example, add the following to your original post…

This file is licensed Creative Commons, By-Attribution, Share-Alike.

2 Likes

My edit of your example. I think the darktable sharpening did quite well.


_6I_4800.CR3.xmp (7.7 KB)

1 Like

Done

One more observation now! While editing it still looks sharp enough to my satisfaction but when I export, the JPG turns out to be bit softer!! Anyone had same experience?

Here is my export settings!

Screenshot from 2024-10-10 14-50-43

You need to judge sharpening at 100% zoom

2 Likes

Yes, the issue is that in the darkroom view the modules only process a scaled-down version of the image (i.e. the pixels you can see on your screen). This means that any sharpening will appear to be too much when zoomed out. You can either zoom in to see a more accurate view or click on the “high quality processing” button on the bottom of the screen, which will process the full-scale image (but will take a lot longer than the normal darkroom processing).

3 Likes

The export also does not use high-quality resampling.

As long as the export size is close to the darkroom size, the default processing in the darkroom will be similar to the non-HQ-resampled export.

The safer, but slower option is turning on HQ for both.

@sherebiahtishbi, what are your settings here?


pixel interpolator (warp) is used for lens correction. bicubic is a bit less sharp (but is less prone to ‘ringing’ artefacts_) than lanczos.

Here is a small piece of the image you posted earlier:
bilinear:

bicubic:

lanczos2:

lanczos2 + diffuse or sharpen (preset: no AA filter)

lanczos2 + diffuse or sharpen (preset: no AA filter) + superfine (settings from the Settings for fine details topic):