Code Monkey home page Code Monkey logo

Comments (5)

bootchk avatar bootchk commented on August 26, 2024

Use Filters>Enhance>Heal Selection. It is a separate plugin from Filters>Map>Resynthesize. It will do what you want. It should be part of the same package you downloaded, as well as several other plugins that also provide simplified user interfaces to the resynthesizer engine (such as "Heal Transparency").

These two plugins are both just user interfaces to the engine. Heal Selection has a simpler user interface (it doesn't show all the parameters to the engine.) Resynthesize shows you all the parameters, and you must understand more.

The main thing you must understand is that the API to the engine changed from version 0.16 to version 1.0. Formerly, the selection was the target (what is resynthesized) and the inverse of the selection was the context (the source of pixels.) After version 1.0, that changed: you must pass a separate layer for the context, and the selection in that layer is the source (or the entire layer if there is no selection.)

So if you try to use Resynthesize using old recipes (like you did, without cloning the target layer and making a new selection for the context), it uses the same layer and the same selection in that layer as both the target and the source. In other words, the artifact you are trying to remove is also the source of pixels, so the effect is NOT to remove the artifact, but just to rearrange it.

This has been discussed before and eventually the old recipes will fade into obscurity.

from resynthesizer.

Macil avatar Macil commented on August 26, 2024

I don't have a Filters>Enhance>Heal Selection menu item. I installed resynthesizer by cloning this repo and running "./autogen.sh; ./configure; make; sudo make install". Should it have been installed?

from resynthesizer.

bootchk avatar bootchk commented on August 26, 2024

Oops, you are right, that is an issue. The make scripts don't install the Python plugins (Heal Selection is a Python plugin that calls the C language resynthesizer engine.) The README discusses installation for a pre-built (compiled) distribution. You just need to copy the Python scripts to GIMP's plugin directory (depends on the platform) and restart GIMP. You also need a Python interpreter on your system.

You could also clone your layer, inverts it's selection, and pass that cloned layer to Filters>Map>Resynthesizer as the "Source" (or Context? I can't remember the exact wording), which is what the 'Heal Selection' plugin does behind the scenes, to simplify the user interface.

If I can find the time I should improve the build scripts.

from resynthesizer.

rsp avatar rsp commented on August 26, 2024

@agentme If you're using Ubuntu 14.04 then you can install the gimp-plugin-registry package:

sudo apt-get install gimp-plugin-registry

It's a repository of optional extensions for GIMP that contains Resynthesizer 2.0 and many more - see:

apt-cache show gimp-plugin-registry

from resynthesizer.

hamoid avatar hamoid commented on August 26, 2024

You just need to copy the Python scripts to GIMP's plugin directory (depends on the platform) and restart GIMP. You also need a Python interpreter on your system.

Copy the Python scripts AND make them executable, otherwise they don't show up in the menu.

from resynthesizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.