public class Slicer
extends java.lang.Object
implements ij.plugin.filter.PlugInFilter
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
arg
Plugin options.
|
boolean |
canceled
Flag indicating whether last operation was canceled.
|
private ij.ImagePlus |
imp
Current image stack.
|
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, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
Constructor and Description |
---|
Slicer() |
Modifier and Type | Method and Description |
---|---|
private boolean |
getBooleanValue(java.lang.String key)
Gets the value of the given macro key as a boolean.
|
private ij.ImageStack |
makeStack(ij.ImageStack stack)
Returns a new ImageStack using the given ImageStack as a template.
|
static ij.ImagePlus |
reorder(ij.ImagePlus imp,
java.lang.String origOrder,
java.lang.String newOrder)
Reorder the given ImagePlus's stack.
|
ij.ImagePlus[] |
reslice(ij.ImagePlus imp,
boolean sliceC,
boolean sliceZ,
boolean sliceT,
java.lang.String stackOrder) |
void |
run(ij.process.ImageProcessor ip) |
int |
setup(java.lang.String arg,
ij.ImagePlus imp) |
public boolean canceled
private java.lang.String arg
private ij.ImagePlus imp
public ij.ImagePlus[] reslice(ij.ImagePlus imp, boolean sliceC, boolean sliceZ, boolean sliceT, java.lang.String stackOrder)
public static ij.ImagePlus reorder(ij.ImagePlus imp, java.lang.String origOrder, java.lang.String newOrder)
public int setup(java.lang.String arg, ij.ImagePlus imp)
setup
in interface ij.plugin.filter.PlugInFilter
public void run(ij.process.ImageProcessor ip)
run
in interface ij.plugin.filter.PlugInFilter
private boolean getBooleanValue(java.lang.String key)
private ij.ImageStack makeStack(ij.ImageStack stack)
Copyright © 2020 Open Microscopy Environment