java.lang.Object
ij.plugin.HyperStackConverter
- All Implemented Interfaces:
PlugIn
Implements the "Stack to HyperStack", "RGB to HyperStack"
and "HyperStack to Stack" commands.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called when the plugin is loaded.voidChanges the dimension order of a 4D or 5D stack from the specified order (CTZ, ZCT, ZTC, TCZ or TZC) to the XYCZT order used by ImageJ.static ImagePlustoHyperStack(ImagePlus imp, int c, int z, int t) Converts the specified stack into a hyperstack with 'c' channels, 'z' slices and 't' frames using the default ordering ("xyczt") and display mode ("Composite").static ImagePlustoHyperStack(ImagePlus imp, int c, int z, int t, String mode) Converts the specified stack into a hyperstack with 'c' channels, 'z' slices and 't' frames using the default ordering ("xyczt") and the specified display mode ("composite", "color" or "grayscale").static ImagePlustoHyperStack(ImagePlus imp, int c, int z, int t, String order, String mode) Converts the specified stack into a hyperstack with 'c' channels, 'z' slices and 't' frames.static voidConverts the specified hyperstack into a stack.
-
Field Details
-
CZT
public static final int CZT- See Also:
-
CTZ
public static final int CTZ- See Also:
-
ZCT
public static final int ZCT- See Also:
-
ZTC
public static final int ZTC- See Also:
-
TCZ
public static final int TCZ- See Also:
-
TZC
public static final int TZC- See Also:
-
-
Constructor Details
-
HyperStackConverter
public HyperStackConverter()
-
-
Method Details
-
run
Description copied from interface:PlugInThis method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt. -
toHyperStack
Converts the specified stack into a hyperstack with 'c' channels, 'z' slices and 't' frames using the default ordering ("xyczt") and display mode ("Composite"). -
toHyperStack
Converts the specified stack into a hyperstack with 'c' channels, 'z' slices and 't' frames using the default ordering ("xyczt") and the specified display mode ("composite", "color" or "grayscale"). -
toHyperStack
Converts the specified stack into a hyperstack with 'c' channels, 'z' slices and 't' frames. The default "xyczt" order is used if 'order' is null. The default "composite" display mode is used if 'mode' is null.- Parameters:
imp- the stack to be convertedc- channelsz- slicest- framesorder- hyperstack order ("default", "xyctz", "xyzct", "xyztc", "xytcz" or "xytzc")mode- display mode ("composite", "color" or "grayscale")- Returns:
- the resulting hyperstack
-
toStack
Converts the specified hyperstack into a stack. -
shuffle
Changes the dimension order of a 4D or 5D stack from the specified order (CTZ, ZCT, ZTC, TCZ or TZC) to the XYCZT order used by ImageJ.
-