MoBIE

MultiModal Big Image Data Sharing and Exploration

MoBIE collection tables

MoBIE collection tables provide a convenient human editable way to define large (correlative) image data sets, including images, segmentation images, segmentation annotations and annotated spots.

Collection table specification

Each row specifies one dataset, which can be configured by one of these columns:

The only required column is uri, which must contain a valid path to that dataset. This path can be local (File system) or in the cloud (S3 or HTTP).

For a more complete specification of all columns please read the comments in the code.

In addition to the specified columns, the table may contain an arbitrary number of additional columns, where you can annotate your respective data sets.

Opening a collection table in Fiji/MoBIE

Within the Fiji menu select: Plugins > MoBIE > Open > Open Collection Table...

A user interface will pop up with the following fields:

Defining complex views

The advantage of the collection table is that it is easy to create. A disadvantage as compared to a traditional MoBIE project is that you cannot define very complex views on your data.

However, you can do the following: After opening a collection table, you can configure a complex view and then right click in the BigDataViewer window and say “Save current view…”. It will ask you for the name of this view and importantly also for the file in which you want to save it. Please call this file “mobie-views.json” and save it in the same folder as your collection table. The next time you open the collection table, MoBIE will automatically pick it up and then you can look at the views defined in this file. Note that you can add several views to that file. So next time you want to save a view, simply select that file again as the destination. Please note that any changes in your collection table will probably invalidate those views! Thus, in practice, once you created such a mobie-views.json, you may not change the collection table anymore.

Example collection tables

Local data

Remote data

For remote data it is convenient to use Google Sheets as the collection table, as this will allow you to have an entirely cloud based solution that you can readily share with anyone.

Please note that the Google Sheet link must allow public read access.

Here are some Google Sheet collection tables that are pointing to remotely hosted data. They can be opened like this:

Learning tips

Creating your own MoBIE collection tables

Manually

The motivation of using a table format to specify image collections was that it should be very easy to manually create such tables, for example in spreadsheet software like Excel. We recommend taking any of the above examples as a starting point and modify them according to your needs.

In Fiji

For local image data, you can use Plugins > MoBIE > Create > Create MoBIE Collection Table... to get started and then modify or add columns in the table.

Using python code

Here is a simple example of how to create a MoBIE collection table using pandas in python. The example is intended as an inspiration and does not cover every situation. Feel free to copy and adjust to your needs!

Quick start

Make sure to have MoBIE installed on your computer.

Within the Fiji menu select: Plugins > MoBIE > Open > Open Collection Table....

In the user interface that pops up choose:

Have fun browsing the data!