Convert 3D stack (switch Z and T)

Ensures 3D stacks (or 4D with multiple channels) are of the expected type (timeseries or Z-stack).

Description

Ensures 3D stacks (or 4D with multiple channels) are of the expected type (timeseries or Z-stack). This module verifies the singular dimension of a 3D stack is correct for the specified output type (e.g. single slice when dealing with timeseries). Any stacks which are not in the expected order have their T and Z axes swapped.

Parameters

Parameter Description
Input image Image from workspace to test T and Z inversion of.
Apply to input image When selected, the post-operation image will overwrite the input image in the workspace. Otherwise, the image will be saved to the workspace with the name specified by the "Output image" parameter.
Output image If "Apply to input image" is not selected, the post-operation image will be saved to the workspace with this name.
Mode Controls the expected stack output type. Any input stacks which do not match this format are updated to give the expected order. Choices are: Output timeseries, Output Z-stack.