Installation and a practical example of the heal selection filter in Gimp

Submitted by Nicola Rainiero on 2017-01-23 (last updated on 2017-01-25)

The Resynthesizer Plugin Suite contains a practical tool for Gimp that allows you to remove the objects in your pictures after covering them with the adjacent elements. In the post I describe a Linux installation procedure of the version 2, by compiling the source from GitHub or by executing an executable and an example of its use.

Gimp1 is a fantastic raster graphics editor, open source and available in many languages and platform. Indeed it is expandable and extensible; it is designed to be augmented with plug-ins and extensions in order to improve its functionality. One of the most powerful is Resynthesizer Plugin Suite and its Heal selection filter: a useful feature designed for removing unwanted objects in images and can often be used to repair wider cracks, creases, and other large areas of damage.

Installation and a practical example of the heal selection filter in Gimp

Installation

The Resynthesizer Plugin Suite is open source and so there are two methods for installing it in your platform:

  1. by compiling it from the source in the GitHub repository;
  2. by packages that contains it and others plug-ins, scripts etc. for GIMP.

GitHub

Although the main files are very old (updated 4 years ago), the GitHub repository contains the Version 2.0 that

it is a complete rewrite and is multithreaded. Otherwise, functionally the same except when compiled threaded it is nondeterministic. See ChangeLog for more discussion. From: bootchk/resynthesizer - GitHub

Assuming that you don’t have any older versions installed in your system you have to:

  • clone the GitHub repository or download and extract the zip in a folder;
  • build and install a clean distribution from the terminal:
    ./autogen.sh2
            ./configure
            make
            make install (or better...)
    
    manually copy the Python scripts in your ~/.gimp-2.8/plug-ins/ directory and make them executable, otherwise they don't show up in the menu. Here are the list of files:
    plugin-heal-selection.py
    plugin-heal-transparency.py
    plugin-map-style.py
    plugin-render-texture.py
    plugin-resynth-enlarge.py
    plugin-resynth-fill-pattern.py
    plugin-resynth-sharpen.py
    plugin-uncrop.py
    resynthesizer
    resynthesizer_gui
    

Directly

There are several collections of extensions for GIMP that provide the ability to choose which Plug-ins, Scripts, Brushes, etc, that you want to install with a fast setup starting from an executable. Some of them contain the Resynthesizer plug-in, here they are:

An example

In the gallery below there is a typical example of the heal selection filter in action (Filters -> enhance -> Heal selection...) using a shot from the Side of Sant'Antonio Abate Church in Pisa with mural by Keith Haring4.

At the end the obtaining image is made only with hand tool and Heal selection filter. It is not perfect but requires some additional work to obtain an excellent outcome.

  • 1. GIMP. (2015, August 7). In Wikipedia, The Free Encyclopedia.
  • 2. In my case I have to install the libgimp2.0-dev package in order to complete the autogen.sh without errors
  • 3. To install GIMP Plugin Registry for GIMP 2.8 in Ubuntu use the command below:
    sudo apt-get install gimp-plugin-registry
    
  • 4. More info on: The Mural of Keith Haring: Tuttomondo


Related Content:

Nicola Rainiero

A civil geotechnical engineer with the ambition to facilitate own work with free software for a knowledge and collective sharing. Also, I deal with green energy and in particular shallow geothermal energy. I have always been involved in web design and 3D modelling.

Add new comment

The content of this field is kept private and will not be shown publicly.

Plain text

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.