Modifier and Type | Field and Description |
---|---|
static int |
AVG_METHOD |
static String |
lutMessage |
static int |
MAX_METHOD |
static int |
MEDIAN_METHOD |
static String[] |
METHODS |
static int |
MIN_METHOD |
static int |
SD_METHOD |
static int |
SUM_METHOD |
Constructor and Description |
---|
ZProjector() |
ZProjector(ImagePlus imp)
Construction of ZProjector with image to be projected.
|
Modifier and Type | Method and Description |
---|---|
protected GenericDialog |
buildControlDialog(int start,
int stop)
Builds dialog to query users for projection parameters.
|
void |
doHyperStackProjection(boolean allTimeFrames) |
void |
doProjection()
Performs actual projection using specified method.
|
void |
doProjection(boolean handleOverlay)
Performs actual projection using specified method.
|
void |
doRGBProjection() |
void |
doRGBProjection(boolean handleOverlay) |
ImagePlus |
getProjection()
Retrieve results of most recent projection operation.
|
static ImagePlus |
run(ImagePlus imp,
String method)
Performs projection on the entire stack using the specified method and returns
the result, where 'method' is "avg", "min", "max", "sum", "sd" or "median".
|
static ImagePlus |
run(ImagePlus imp,
String method,
int startSlice,
int stopSlice)
Performs projection using the specified method and stack range, and returns
the result, where 'method' is "avg", "min", "max", "sum", "sd" or "median".
|
void |
run(String arg)
This method is called when the plugin is loaded.
|
void |
setImage(ImagePlus imp)
Explicitly set image to be projected.
|
void |
setMethod(int projMethod) |
void |
setStartSlice(int slice) |
void |
setStopSlice(int slice) |
public static final int AVG_METHOD
public static final int MAX_METHOD
public static final int MIN_METHOD
public static final int SUM_METHOD
public static final int SD_METHOD
public static final int MEDIAN_METHOD
public static final String[] METHODS
public static final String lutMessage
public ZProjector()
public ZProjector(ImagePlus imp)
public static ImagePlus run(ImagePlus imp, String method)
public static ImagePlus run(ImagePlus imp, String method, int startSlice, int stopSlice)
public void setImage(ImagePlus imp)
public void setStartSlice(int slice)
public void setStopSlice(int slice)
public void setMethod(int projMethod)
public ImagePlus getProjection()
public void run(String arg)
PlugIn
public void doRGBProjection()
public void doRGBProjection(boolean handleOverlay)
protected GenericDialog buildControlDialog(int start, int stop)
start
- starting slice to displaystop
- last slicepublic void doProjection()
public void doProjection(boolean handleOverlay)
public void doHyperStackProjection(boolean allTimeFrames)