25 Aug 2020

Apply a Recipe on a Batch of Files

Apply a recipe to a batch of files and save the results in an output directory.

3-8-2022 10-39-58 AM

This Xtra contains a module that allows you to apply a Recipe to a list of files. For each input file, the recipe results are saved in the specific output directory in the native Amira (.am) format. Result spreadsheets are also exported as .csv files.

Any recipe using a single input can be used. However, the recipe input type must be compatible with the provided inputs; errors appear in the console. The inputs must be one file per dataset (that is, no 3D volume represented as a stack of 2D TIFF).

Multichannel datasets also can be processed, but must be available as a single .am file.
Recipes processing multichannel datasets can be generated by using the 'ChannelSelector' module, also included in the archive.
Recipes processing grayscale images can be applied to a specific channel of a multichannel input using the Process Channel port.

Use the Recipe Player and Export mode with the recipes provided in this archive to see how to build recipes that include multichannel data.

Multiple-Dicom files also can be processed. In this case, the input must be a root directory where each subdirectory contains all the Dicom files related to a single dataset.