public class Slicer extends Object implements ij.plugin.filter.PlugInFilter
Modifier and Type | Field and Description |
---|---|
private 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(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,
String origOrder,
String newOrder)
Reorder the given ImagePlus's stack.
|
ij.ImagePlus[] |
reslice(ij.ImagePlus imp,
boolean sliceC,
boolean sliceZ,
boolean sliceT,
String stackOrder) |
void |
run(ij.process.ImageProcessor ip) |
int |
setup(String arg,
ij.ImagePlus imp) |
public boolean canceled
private String arg
private ij.ImagePlus imp
public ij.ImagePlus[] reslice(ij.ImagePlus imp, boolean sliceC, boolean sliceZ, boolean sliceT, String stackOrder)
public static ij.ImagePlus reorder(ij.ImagePlus imp, String origOrder, String newOrder)
public int setup(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(String key)
private ij.ImageStack makeStack(ij.ImageStack stack)
Copyright © 2017 Open Microscopy Environment