Missing Gimp-plugin-registry plugins in my Gimp

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! :slight_smile: ).
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.

Can you please help me?
Thank you by advance.

I am no great lover of the gimp-plugin-registry package. The place for gimp scripts & plugins is your Gimp profile.

Why missing? This from otto-kesselgulasch/+archive/ubuntu/gimp-edge/
-----quote---------
The reason why it is not in

gimp-plugin-registry (7.20170217-0x8~ppa) xenial; urgency=high

  • Kick off some plugins, sorry for that.
  • refocus, focus-blur are not buildable against libgimp2.0-dev version 2.9.5
  • wavelet-decompose is part of gimp-2.9.x now
  • save-for-web crashes

However refocus, focus-blur do work with reservations, these were made for when images were generally much smaller.

examples: inset shows before. https://i.imgur.com/T9gh9F5.jpg and https://i.imgur.com/RKNHGhx.jpg

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.

This one compiled against ‘buntu’ 2.9.9 https://i.imgur.com/1o5VW8M.jpg

Using Ubuntu Xenial (or mint equivalent), want to try them? 3 zipped
https://my.pcloud.com/publink/show?code=XZHByY7ZaoB97KAUCPpYnw92jMlJ3808qAJy 165KB usual guarantee, there is none.

To be honest, the equivalent can be accomplished easier and quicker using a plugin such as g’mic

2 Likes

Hello and thank you Rich :slight_smile:
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:

https://discuss.pixls.us/c/software/gmic

Be very specific on what you would expect as output, input, and controls for the effect. :slight_smile:

Thank you Pat :slight_smile:
I guess the advice is not only technical :wink: