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