14 Oct 2019

Recipe Sequencer

Module for sequencing a recipe on each individual isolated label from a label field.


This module allows applying a recipe on a label field in a sequence on each individual extracted label. Most separating and filling operations like e.g. convex hull, only make sense to be applied on a single binary object. This makes it tedious to apply the same workflow on various objects. The main principle of the Recipe Sequencer is to iterate over all labels either in 3D or in 2D, extracting each individual label into a temporary working volume. The recipe is applied on the working volume and the result is stored back to the result volume maintaining the label's id. Furthermore there is an option for dilating the temporary label prior to recipe application in order to prevent artifacts that may happen close to the edges when applying e.g. morphological operations. The user can optionally connect a Label Analysis result table that provides information about each object's extend (following attributes must be available in such a result table):

  • BoundingBoxOx
  • BoundingBoxOy
  • BoundingBoxOz
  • BoundingBoxDx
  • BoundingBoxDy
  • BoundingBoxDz

By providing this information it will increase the module's performance because the calculation of each of the extracted label's extend can be skipped.

The output will be a label field object with the same number and material ids of labels like the input.

Useful notes: Install the module by unzipping RecipeSequencer.zip in your Amira/Avizo installation folder. The module will be listed in the module finder, in the Xtra/Recipe folder. The uninstaller batch must be executed as administrator in order to remove all the files from the installation. A test data (PorousBubbles.am) and two example recipes (ComplVolume.hxrecipe, convexHull.hxrecipe) are also provided.