Hello,
This is my first post here, but I must first thank the wonderful work already done here (I’ve discovered lot of things thanks to you! ).
My problem: I would like to use 2 Gimp plugins: focus-blur and refocus-it.
They are available in gimp-plugin-registry debian package.
BUT…
If I simply add it with sudo apt-get install gimp-plugin-registry, none of its plugins show up in Gimp (but scripts and brushes do).
This happens either with standard Gimp (2.8.x) or with gimp-edge from otto-kesselgulasch’s PPA.
Installed versions are: Linux Mint 18.2 and Gimp 2.9.9 or Lubuntu 17.10 with Gimp 2.10RC1. (Don’t know why I don’t get the same gimp version). In both cases, gimp-plugin-registry don’t show up.
I uninstalled (apt-get remove, purge, … ) and reinstalled everything: no sucess. I manually removed Gimp’s config file: no sucess.
I changed my Gimp’s language back to English (I’m frenchspeaking): nothing better…
One recent test showed me that the plugins are listed in the .deb file but I can’t find them on the filesystem (but, it’s ok with brushes or scripts).
The other additionnal package gimp-gmic works like a charm though.
Refocus-it is a different matter. This comes from 2004 and specific purposes. Anything other than a small image and a limited number of iterations (not default 100, start with 10 or 20) and it takes forever.
Hello and thank you Rich
Thank you for your answer.
Yes, refocus-it took forever, but it has the nice subtle option to deal with directional blur. I know I can find something better, but that’s for later.
Thank you for the 3 zipped files… How did you actually manage to compile them?
About using G’mic’s lens blur, I unfortunately disagree… Focus blur gives much more realistic results. At least simpler with fewer steps… You also can fine tune the blur aspect, it better follows image’s highlights/darker parts, noise remains more natural between blurred/non blurred parts of the image, …
Given what’s already present in G’mic, it may not be really complex to add something better…
I’m currently thinking about developing a Python application for that purpose. I don’t know the complexity to make a Gimp plugin out of it. Or add a script using g’mic?
I would ping one of the G’MIC folks with specific details of how you envision a filter like this to work, and see if they might be willing to tackle it: