Installation
ABBA comprises a Fiji plugin, an extension for QuPath, and external software for automating the registration process.
Hint
The QuPath extension, while optional, is highly recommended. It simplifies dataset definition and post-registration analysis.
Fiji + ABBA plugin installation
Tip
For Windows users, a standalone installer is available, which simplifies the installation process.
ABBA can be installed as a Fiji plugin, but additional components are needed to unlock its full functionality. In particular, ABBA performs best with the following components:
DeepSlice: A deep-learning-based method for automatic registration of coronal sections to mouse and rat brain atlases.
elastix/transformix: Software used for automating 2D in-plane registration.
BrainGlobe: A Python library that standardizes access to various brain atlases.
There are three primary ways to install ABBA, each corresponding to different setups:
Using the Windows standalone installer
Using Fiji (available for Windows, macOS, and Linux)
Using Python with a pip dependency abba_python
The table below summarizes the functionality available for each installation method across different operating systems:
Installation mode |
Headless |
GUI |
Mouse/Rat atlas |
Brainglobe Atlas |
DeepSlice (Local) |
|---|---|---|---|---|---|
Opt 1. ABBA installer |
[x] |
[x] |
[x] |
[x] |
[x] |
Opt 2. Fiji |
[x] |
[x] |
[x] |
||
Opt 2. Fiji |
[x] |
[x] |
[x] |
[x] |
|
Opt 3. abba_python |
[x] |
[x] |
[x] |
[x] |
|
Opt 3. abba_python |
[x] |
[x] |
[x] |
[x] |
[x] |
Opt 3. abba_python |
[x] |
[x] |
[x] |
||
Opt 3. abba_python |
[x] |
[x] |
[x] |
[x] |
Option 1 - Installing the ABBA plugin using the Windows installer
This is the simplest option, available only for Windows users.
https://github.com/BIOP/ijp-imagetoatlas/releases/latest
Requirements:
An internet connection is required during installation to download necessary dependencies from PyPI, including deepslice, abba-python, and brainglobe-api.
The first time you run ABBA, you will need to download the atlas you intend to use.
Option 2 - Installing the ABBA plugin in Fiji
Step 1. Download and install Fiji
If Fiji is not already installed, download and install it from fiji.sc.
Step 2. Activate the PTBIOP update site
Click
Help > Update... > Manage update sitesCheck the box for
PTBIOPClick
Apply and closethenApply changesRestart Fiji
Step 3. (Optional) Activate the OMERO 5.5-5.6 update site
Click
Help > Update... > Manage update sitesTick the checkbox
OMERO 5.5-5.6Click
Apply and closethenApply changesRestart Fiji
Step 4. Install elastix/transformix
ABBA relies on elastix for 2D in-plane registration. Elastix is independent of Fiji and must be installed separately.
Download elastix version 5.2.0 for your operating system.
Extract it to a convenient location (
C:on Windows,Applicationson macOS).
Windows
Install Visual C++ redistributable, (choose vc_redist.x64.exe for a 64-bit system).
Warning
If you are updating Fiji and switch from elastix 5.0.1 to elastix 5.2.0, make sure you have the latest version installed. Otherwise elastix will not work.
Mac
Since macOS treats elastix and transformix as software from “unknown developers,” you need to create security exceptions for both executables to bypass repeated warnings.
Linux
No special steps are required.
Step 5. Set elastix and transformix Paths in Fiji
Run Fiji and execute
Plugins › BIOP › Set and Check Wrappers.Specify the paths for the elastix and transformix executables. For instance:

You should see confirmation messages like:
[INFO] Transformix -> set :-)
Elastix -> set :-)
To verify elastix is working, you can run this test script in Fiji. Save the file with a .groovy extension, open it in Fiji, and run it.
Step 6. (Optional) Installing DeepSlice locally
While you can use the web-based DeepSlice interface, installing it locally can streamline the registration process.
To install DeepSlice locally, please follow the instructions specified in the BIOP wrappers repository. In brief, the installation consists of:
installing miniforge
creating a conda environment for deepslice
adding conda to the PATH environment variable (windows)
specifying the conda environment location in Fiji
Option 3 - Installing ABBA plugin in python
ABBA is available as a PyPI dependency. For installation instructions and startup commands, refer to the abba_python README.
QuPath + ABBA extension installation
Install QuPath.
Download the latest ABBA extension zip file (named
qupath-extension-abba-x.y.z.zip).Unzip it.
Drag and drop the .jar files into QuPath’s main window.
Note
If you’re using OMERO for your data, you’ll need the QuPath OMERO RAW extension. Follow the installation guide.
Restart QuPath. You should now see the following extensions under
Extensions>Manage extensions:
ABBA
Image Combiner Warpy
Warpy
OMERO BIOP