This repo has a clear(ish) API and a nice SciJava InteractiveCommand
We are hosting the JavaDoc as GitHub pages at https://biop.github.io/ijp-operetta-importer/
The main class you should focus your attention on is OperettaManager
If you'd like to see some examples on how it can be used, please check the Scripts folder. This contains a few Groovy examples on how to call the Operetta Importer API
Go to Help > Update...
Click Manage Update Sites
Activate the PTBIOP update site.
Go under Plugins -> BIOP -> Operetta importer -> Operetta importer or type Operetta importer in the search bar.
- Select the folder to analyse. It should contain all individual images, WITH the
index.idx.xmlfile. - Click on
Ok
- Click on
Choose Wellsbutton to select a subset of available wells. - Click on
Choose Fieldsbutton to select a subset of available fields. - Click on
Preview Well slicebutton to get a preview of the data - Write down a subset of channels to analyze
- Write down a subset of slices to analyze
- Write down a subset of frames to analyze
- Choose a downsample factor. BE CAREFUL: DO NOT SELECT 0. If you don't want to do any downsampling, select a downsampling of 1.
- Check the box if you want to average pixels during downsampling.
- Select a fusion option
- Do not fuse fields
- Fuse with stage coordinates => put fields next ot the other without doing any blending
- Fuse using Grid/Collection stitching => correctly stitch fields with affine transforms
9a. For Grid/Collection stitching ONLY, you can choose some settings to fine tune the stitching (compute overlap, regression threshold, relative & absolute displacement threshold). The definition of the settings can be found in the plugin documentation page
- Select a flipping option
- Do not flip
- Flip horizontal
- Flip vertical
- Flip both
- Select a projection option
- No Projection
- mean
- min
- max
- median
- std
- sum
- Select the min/max values of the intensities
- Choose a directory where to save the output images
- Check the box to save the fused images as OME-TIFF and to generate the corresponding companion.ome file. This option only works if you have fused fields together.
- A message is written at the bottom of the UI to inform you on the size and time the analysis will take. Finally, you can click on
Process.
This plugin also supports importing data from Harmony Archive format, which stores images in a different structure with an SQLite database and UUID-named TIFF files.
Go under Plugins -> BIOP -> Operetta importer -> Operetta Archive Importer...
The Harmony Archive has the following folder structure:
Harmony-Archive/
├── XML/
│ └── MEASUREMENT/
│ └── <uuid>.xml <- Select this file
└── IMAGES/
└── <uuid>/
├── IMAGES.sqlite
└── *.tiff files
- Navigate to and select the XML file located at
Harmony-Archive/XML/MEASUREMENT/<uuid>.xml - The plugin will automatically derive the images folder from the XML file path
The plugin will:
- Generate an OME-XML companion file (
.companion.ome.lazy) from the archive metadata - Open the companion file with Bio-Formats
- Launch the same interactive import dialog as the standard Operetta importer
Once the companion file is generated, subsequent imports will reuse it (skipping regeneration).
After the archive is loaded, you will see the same interactive dialog as the standard Operetta importer, with all the same options for:
- Well and field selection
- Channel, slice, and timepoint selection
- Downsampling and averaging
- Field fusion and stitching
- Z-projection
- OME-TIFF export




