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