Manually add barrel distortion in Darktable

I’m using lensfun module. Profile for my lens works pretty well in most cases but sometimes I would like to have more control over the barrel distorsion and be able to adjust it manually. Focal length selection in lensfun does affect image in a way I want but in my case 24 was not enough and 26 was too much.
I tried to find other modul which can add concave/convex distorrsion easily but couldn’t find it. There is liquify modul but I haven’t succeed to set it up to affect image in a desired way - as a barrel distorsion.
Is there a way to add manual barrel distorsion to the image in DT? I don’t expect to be profiled for my lens, just general barrel distorsion would be enough for me.

1 Like

I do not know of any way to manually do these adjustments in Darktable. I feel it would be a very useful option to have. However, there is an option in GIMP to do these corrections if that is of any help.

image

Not really “manually” adding distortion, but the “lens correction” module has an option to distort instead of correct (the “mode” setting). And you can set any valid camera/lens combination.

Afaik the model used in lensfun is higher-order, so you can get some strange effects.

@rvietor @Terry Thank you for advices.