The Image Registration
plug-in comes in two different flavors:
Both versions are functionally identical. They even share the same numerical part, which is written in C++ and does the heavy lifting of iteratively determining the alignment parameters. The only reason for devising the Python version of the plug-in was the fact that the Gimp development libraries, which are needed for the native implementation of the plug-in, are not readily available for all operating systems.
Please note that for using the Python version of the plug-in, it is necessary that your Gimp installation has Python scripting support. You can easily check this by examining the Filters menu, which will contain an entry namedPython-Fuif your Gimp has Python scripting support.
For installing the plug-in, download the pre-built binaries for your system from
and unpack it to some folder on your computer.Then, start Gimp and add that folder to the list of Gimp's plug-in folders, which you find at
Image Registration...under the menu
Tools.
For building the Python version of the plug-in from the sources you will need
Building the plug-in from sources will typically involve the following steps:
$ unzip gimp-image-reg-2.0.1-source.zip -d imreg-sources
$ mkdir imreg-build
$ cd imreg-build $ cmake -S ../imreg-sources -B .
$ cmake --build . $ cmake --build . --target install
Image Registration...in Gimp's
Toolsmenu.
For further examples, refer to the various shell and batch scripts which are included in the scripts directory inside the source folder. In that folder you will also find a Python script named create_build_system.py, which can be helpful for creating build environments, specially when working with Visual Studio.