Aligning Big Brains & Atlases

Logo

Documentation of the Aligning Big Brains & Atlases Fiji plugin.

View the Project on GitHub BIOP/ijp-imagetoatlas

Which data source can be used by ABBA ?


Back to documentation main page



ABBA can read data from many sources, but these two sources are the most commonly used:

This section deals with the file formats requirements.

:warning: While ABBA can open files directly, it is highly recommended to package all files from a single animal into a QuPath project, as explained in the create QuPath dataset section.

In short ABBA can use any Bio-Formats supported file format, ideally multi-resolution, and calibrated. It can also stream images for an OMERO database.

1. Any Bio-Formats supported file format,

All Bio-Formats readable file formats are supported. You can check in the Bio-Formats documentation if your files are supported.

NB: Files which can be opened only via OpenSlide in QuPath are not supported.

Besides Bio-Formats compatibility, there are two ‘classical requirements’ for an optimal use of ABBA:

2. ideally multi-resolution (Bio-Formats supported),

Brain slices are usually very big 2d images and ABBA has been designed to work with such images. To do so, it relies on tiled pyramidal file formats: a file contains not only its data at the highest resolution, but also pre-computed downsampled versions of itself. To know if Bio-Formats supports a potential multi-resolution file format, check whether the Pyramid column is checked.

If files are pyramidal, ABBA can load only a sub-part (tiles) of an image at a specific resolution level (pyramid level) needed, thus speeding-up very significantly the display and processing of these images. Having pyramidal images also helps improving the registration quality: registrations are using large scale features (size above a few cells), which are incorrectly sampled if no downsampled image pre-exists.

For non-pyramidal files, the full data needs to be loaded, displayed and registered. This can be fine for small images (<2000x2000 pixels), but will be annoying when images are bigger.

If your images are not pyramidal, we advise to convert your files to pyrimadal OME-TIFF formats. This can be done for instance by using one of the following options:

Alternatively, if you have access to an OMERO database, you can upload your images to OMERO, and the pyramidal levels will by computed by the server.

RGB images as well as fluorescent 8-bits and 16-bits images have been successfully tested.

3. and calibrated.

All files need to be properly calibrated (microns, millimeters, etc, but not pixels!). ABBA takes advantage of the calibration to set appropriate registration parameters. To know if your images are properly calibrated, you can for instance open them in QuPath, using a Bio-Formats image server, and check that the pixel size is set and correct.

If your images are uncalibrated, ABBA will assume that each pixel has a size of 1mm, which will lead to gigantic images. To correct for this issue, you can re-save your images with the proper metadata and make sure that the metadata is recognized by bio-formats. This can be done with Kheops, which offers an option to override the pixel size while an OME-TIFF version is re-exported.

If you want to avoid the conversion step and keep using uncalibrated files, you can assemble your files in a QuPath project, then set each image pixel size. ABBA will then read the QuPath metadata, and ignore the original bio-formats metadata.


:warning: For this QuPath method to work, you need to set the calibration BEFORE the project is imported in ABBA


Tested file formats

File formats which are known to work:

According to bio-formats, these formats should be optimal as well:

Note that Leica .lif files are not well supported because their multi-resolution data are not handled by Bio-Formats.

More technicalities

Hidden somewhere in the state of an ABBA instance, one or several BigDataViewer dataset are used. BigDataViewer dataset can use different backends, which are implementing the java ImageLoader interface. See this youtube video for more details.

Depending on the image loader, the data can be read from various sources:

If you add the Fiji MoBiE update site, you should be able to use OME/ZARR dataset:

Now, using ABBA, the easiest way is again to make a QuPath project with Bio-Formats supported files or with OMERO images through the use of the QuPath OMERO RAW extension.

While other sources from other image loaders should work almost ‘out of the box’, there is no very direct way to do that because it’s not in the GUI of ABBA. If you need other sources coming from different loaders, please write an issue on GitHub or open a post on the forum.

One option is to open an xml bdv dataset with BigDataViewer-Playground and drag and drop sources into ABBA’s BigDataViewer Playground window.


Back to documentation main page