Package loci.plugins
Class Slicer
java.lang.Object
loci.plugins.Slicer
- All Implemented Interfaces:
ij.plugin.filter.PlugInFilter
A plugin for splitting an image stack into separate
channels, focal planes and/or time points.
- Author:
- Melissa Linkert melissa at glencoesoftware.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringPlugin options.booleanFlag indicating whether last operation was canceled.private ij.ImagePlusCurrent image stack.Fields inherited from interface ij.plugin.filter.PlugInFilter
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, NO_UNDO_RESET, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleangetBooleanValue(String key) Gets the value of the given macro key as a boolean.private ij.ImageStackmakeStack(ij.ImageStack stack) Returns a new ImageStack using the given ImageStack as a template.static ij.ImagePlusReorder the given ImagePlus's stack.ij.ImagePlus[]voidrun(ij.process.ImageProcessor ip) int
-
Field Details
-
canceled
public boolean canceledFlag indicating whether last operation was canceled. -
arg
Plugin options. -
imp
private ij.ImagePlus impCurrent image stack.
-
-
Constructor Details
-
Slicer
public Slicer()
-
-
Method Details
-
reslice
public ij.ImagePlus[] reslice(ij.ImagePlus imp, boolean sliceC, boolean sliceZ, boolean sliceT, String stackOrder) -
reorder
Reorder the given ImagePlus's stack. -
setup
- Specified by:
setupin interfaceij.plugin.filter.PlugInFilter
-
run
public void run(ij.process.ImageProcessor ip) - Specified by:
runin interfaceij.plugin.filter.PlugInFilter
-
getBooleanValue
Gets the value of the given macro key as a boolean. -
makeStack
private ij.ImageStack makeStack(ij.ImageStack stack) Returns a new ImageStack using the given ImageStack as a template.
-