Diffuse and sharpen module does not work when export

Hi all

I see that other have had the same issue, but no useable response.

The effect from the diffuse and sharpen module does not seem to work when exporting.
Attached is an extreme example for illustration purposes.
In Darkroom I can see my changes with diffuse and sharpen module, but the jpeg after export only has some of this effect.

I get the message “tilling failed for module “diffuse”. output might be garbled”.

Any one knows how to solve it?
Running ver DT 3.8.1 on MacOS 10.10.5

Thanks


Besides heavy cpu load the module needs a lot of ram. That’s the reason for the module failing.
BTW, v 4.0 is much better in many ways.

2 Likes

Reviewing your settings after reading darktable 4.0 user manual - memory & performance tuning may help.

Edit: links for 3.8:
https://docs.darktable.org/usermanual/3.8/en/special-topics/memory/
https://docs.darktable.org/usermanual/3.8/en/preferences-settings/processing/
https://docs.darktable.org/usermanual/3.8/en/special-topics/opencl/performance/

3 Likes

One other thing to add, make sure you evaluate the image d&s settings at 100% zoom in darkroom.

1 Like

I am running darktable 4.6.1 on my fedora 40 machine with a Nvidia GPU. I finalized my raw DNG file with the Diffuse and sharpen module using a mask and the watercolor preset. When I export to 16 bit TIFF, the effect of the module does not seem to be present in the TIFF file. I have no idea why. There is no error I get when I export, and it happens fairly fast. I have openCL enabled. Can anyone suggest how to troubleshoot this problem of mine.

Here is a screenshot with the blurry watercolor effect coming from the module applied to my DNG. The more clear screenshot coming from Gimp after I export to TIFF.
Screenshot from 2024-05-20 10-34-29
Screenshot from 2024-05-20 10-34-46

Reading the manual, it does say that the module’s output “can only be guaranteed at 100% zoom and high quality … export. Results at lower zoom levels or export dimensions may or may not match your expectations.” I was applying the module with my image set to “fit” which is considerably much smaller than at 100% zoom level.

Does it look the same if you view it at 100%?

Do you apply any style during export (there’s a control in the export module to do so) that could change or overwrite your processing?

Do you export at full size, or a downscaled or upscaled version? If not full size, what is the value of high quality resampling?

Can you provide a screenshot of your export module?

It looks the same at 100%

No style is applied during export. I checked to see that style is “none” in the export module. The export size is in full.

The high quality resampling is “no”

Here is the screenshot of the export module.
Screenshot from 2024-05-20 11-43-08

The 32 bit depth was in desperation to try something that would work on export, but really I just want to have it exported 16 bit.

Can you see a difference when you export using HQR at no vs yes?? If you have a nightly build or when the next release comes out there is now a button to show what the results look like so you can compare.

When zoomed out to fullscreen the results can be quite different with no usually appearing to capture the overall perception of detail for the zoomed out preview…

I would think you could just open your image without the module and export and then with the diffuse or sharpen.and export…use some extreme settings and if you see the impact then the module is being used… To track the more subtle ones you could open your images in GIMP and blend them in difference mode and see if you get a black image or indeed there are differences… if your application is subtle maybe it is a preview issue… You can also do this in DT at the module level and set that in your DorS module and see what parts of the image are being impacted…

Just a couple of ways you could check…

I don’t think that setting matters if exporting at full size.

2 Likes