Recipe Sequencer

This is an experimental module from the Xtra Library: https://xtras.amira-avizo.com.

This module allows applying a recipe on a labelfield in a sequence on each individual extracted label. Many, 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 principal 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.

Known Limitations

  • The Receipe Sequencer only allows to have one Label Field as input and it will create only one Label Field as output
  • This module is only available on Microsoft Windows platforms

Connections

Data: [required]

Only inputs of type Label Field are supported at this point.

Label Analysis: [optional]

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

If not all of the above attributes can be found in the Label Analysis result table, the port will be disconnected.

Parameters (Ports)

Recipe:

Use this port to select the .hxrecipe filename containing the recipe to sequence.

Interpretation:

Use this port to sequence the recipe either in 3D or 2D mode.
In 2D mode the recipe will be sequenced slice by slice and extract each label from the slice that is present in the current slice prior to recipe application.

temp. Dilation:

Use this port to add boundary voxels to the sub-volume before applying the recipe on it. This prevents artifacts that may happen close to the edges when applying e.g. morphological operations