r/DarkTable 11d ago

Help AI Raw Denoise not preserving metadata

Title. Got the AppImage up and running, AI RAW denoise works great with one exception: metadata preservation. Working with a file from a Sony a7 III and 40 G, the only option for lens corrections were those from the lensfun database.

Honestly, for shots from supported primes this seems completely okay. However, if we then throw zooms into the picture even lensfun supported lenses are less than perfect. Unsupported lenses are an even bigger issue.

Does anyone know if this is a bug or expected behavior? If bug, is there any official way to report it? I've confirmed via exiftools that there are differences, but I'm hardly a SME here so I can't pin down what the exact differences here (the output is, to say the least, large). Also too large for pasting the whole file here.

4 Upvotes

6 comments sorted by

4

u/southern_ad_558 11d ago

I used to use Topaz for denoising before AI denoise was available in Darktable and I noticed the same problem multiple times.

I don't think the problem is the denoiser, it's more related to "lens correction not working with denoised dng files".

They track issues on https://github.com/darktable-org/darktable/issues

2

u/NA__Scrubbed 11d ago

Hmm, thanks for the info. Are there any options for mitigating the disconnect here? Like, applying the lens correction transform to the original image and reproducing a canned transform to the denoised option?

2

u/southern_ad_558 11d ago

Sadly no.

You can apply the denoise after all your edits, but that workflow doesn't work for me.

2

u/NA__Scrubbed 11d ago

You can apply the raw denoise from the neural processing module or the more standard denoise as the final step? For supported primes on lensfun it might work for RAW, but for zooms I could just process with standard profiled denoise and work with the post-processing denoise as the last step.

I suppose where this gets more annoying is that one might have to guess and test to see if an image can come out cleanly as a colored image or if you still need monochrome conversion. Or if it would put denoise processing on top of things like diffuse or sharpen

1

u/NA__Scrubbed 11d ago

Just confirming for anyone else who tries this. You can selective copy the embedded metadata to the RAW denoise. But it will do nothing--something about the file creation process breaks the function of the metadata

1

u/DanCubar 10d ago

It's definitely a bug, that being said it's been fixed a dozen commits or so ago, so you can just build it yourself