RL-Deblur in DT?

I process huge 96MP RAWs from the multi exposure High Resolution Mode from my Lumix S5D and I heavily rely on the RL-Deconvolution Sharpening in RawTherapee to improve sharpness.

In DT here is the Lua Script * RL_out_sharp which has some major drawbacks, i.e. you cannot see the filter response before exporting and the script replaces your target storage and only can export to 8 Bit JPG and TIFF.

Is there any plans to add the algorithm to the sharpen module in DT? I feel like it would provide a substantial improvement over the inbuilt unsharp mask algorithm.

there’s no feature request or pull request for such on GitHub, so there’s no publicly known plan …
but since darktable development is open for contributions there might be someone finding that useful and start working on that

We have capture sharpen inside demosaic module which is pretty close to what you want.

5 Likes

Thanks, I noticed that in RT there is an input sharpening step active by default and the RL-Deblur can be added on top of that.

I enabled the capture sharpening in DT and the “normal” sharpening module and after playing around with the parameters I was able to get the same results.

2 Likes

There is also “diffuse or sharpen” with sharpening presets. Probably a lot slower than the other methods, though.

1 Like

Thank you @rvietor for hinting at the presets. I was playing around with diffuse and sharpen and was expecting the central radius to behave like a “gaussian radius” in most other modules and had heavy artifacts. But apparently the central radius has to be 0 to sharpen.

DT is such a powerful program and sometimes you can get lost in the options.

After a) having capture sharpen and b) defining an auto-applied preset for demosaic switching that on and autocalculating the radius - i have not used any d&s for such issues any longer.

@Hirsch2k Richardson-Lucy deconvolution works best early in the pipeline, which is why our raw processors have moved it up to the demosaicing stage.

Not saying your needs or preferences are not meaningful, but that is the reason for this design choice.

On the other hand, unsharp mask is unrefined across the board; better if the user or processor applies it intelligently and at the end of the pipeline.

Not addressing your issue of RL sharpening but recently I rediscovered the sharpening abilities of the contrast equalizer module. More specifically the deblur presets. It might be worth checking these out and seeing if they improve the sharpness of your images. I used these preset as a starting point to create my own lens deblur presets and prefer the results over the resource intensive DorS module.

I really like the new Contrast and Texture module and find that, combined with Capture Sharpening of course, is generally sufficient for me to no longer need any of the sharpening tools I used to use.