Run single command
Run a single command on an image from the workspace.
Description
Run a single command on an image from the workspace. This module only runs commands of the format "run([COMMAND], [ARGUMENTS])". For example, the command "run("Subtract Background...", "rolling=50 stack");" would be specified with the "Command" parameter set to "Subtract Background..." and the "Parameters" parameter set to "rolling=50 stack". For more advanced macro processing please use the "Run macro" module.
Parameters
Parameter | Description |
---|---|
Input image | Image from workspace to apply command to. This image is duplicated prior to application of the command, so won't be updated by default. To store any changes back onto this image, select the "Apply to input image" parameter. |
Apply to input image | When selected, the image returned by the command will be stored back into the MIA workspace at the same name as the input image. This will update the input image. |
Output image | When "Apply to input image" is not selected this will store the command output image into the MIA workspace with the name specified by this parameter. |
Command | The command command to run. This must be the exact name as given by the ImageJ command recorder. Note: Only commands of the format "run([MACRO TITLE], [ARGUMENTS])" can be run by this module. For more advanced command processing please use the "Run macro" module. |
Parameters | The options to pass to the command. |
Enable multithreading | When running a command which operates on a single slice at a time, multithreading will create a new thread for each slice. This can provide a speed improvement when working on a computer with a multi-core CPU. Note: Multithreading is only available for commands containing the "stack" argument. |