Package ij.plugin
Class ZProjector
java.lang.Object
ij.plugin.ZProjector
- All Implemented Interfaces:
PlugIn
This plugin performs a z-projection of the input stack. Type of
output image is same as type of input image.
- Author:
- Patrick Kelly <phkelly@ucsd.edu>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionZProjector
(ImagePlus imp) Construction of ZProjector with image to be projected. -
Method Summary
Modifier and TypeMethodDescriptionprotected GenericDialog
buildControlDialog
(int start, int stop) Builds dialog to query users for projection parameters.void
doHyperStackProjection
(boolean allTimeFrames) void
Performs actual projection using specified method.void
doProjection
(boolean handleOverlay) Performs actual projection using specified method.void
void
doRGBProjection
(boolean handleOverlay) Retrieve results of most recent projection operation.void
This method is called when the plugin is loaded.void
Explicitly set image to be projected.void
setMethod
(int projMethod) void
setStartSlice
(int slice) void
setStopSlice
(int slice)
-
Field Details
-
AVG_METHOD
public static final int AVG_METHOD- See Also:
-
MAX_METHOD
public static final int MAX_METHOD- See Also:
-
MIN_METHOD
public static final int MIN_METHOD- See Also:
-
SUM_METHOD
public static final int SUM_METHOD- See Also:
-
SD_METHOD
public static final int SD_METHOD- See Also:
-
MEDIAN_METHOD
public static final int MEDIAN_METHOD- See Also:
-
METHODS
-
lutMessage
- See Also:
-
-
Constructor Details
-
ZProjector
public ZProjector() -
ZProjector
Construction of ZProjector with image to be projected.
-
-
Method Details
-
setImage
Explicitly set image to be projected. This is useful if ZProjection_ object is to be used not as a plugin but as a stand alone processing object. -
setStartSlice
public void setStartSlice(int slice) -
setStopSlice
public void setStopSlice(int slice) -
setMethod
public void setMethod(int projMethod) -
getProjection
Retrieve results of most recent projection operation. -
run
Description copied from interface:PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt. -
doRGBProjection
public void doRGBProjection() -
doRGBProjection
public void doRGBProjection(boolean handleOverlay) -
buildControlDialog
Builds dialog to query users for projection parameters.- Parameters:
start
- starting slice to displaystop
- last slice
-
doProjection
public void doProjection()Performs actual projection using specified method. -
doProjection
public void doProjection(boolean handleOverlay) Performs actual projection using specified method. If handleOverlay, adds stack overlay elements from startSlice to stopSlice to projection -
doHyperStackProjection
public void doHyperStackProjection(boolean allTimeFrames)
-