|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.plugin.filter.Projector
public class Projector
This plugin creates a sequence of projections of a rotating volume (stack of slices) onto a plane using nearest-point (surface), brightest-point, or mean-value projection or a weighted combination of nearest- point projection with either of the other two methods (partial opacity). The user may choose to rotate the volume about any of the three orthogonal axes (x, y, or z), make portions of the volume transparent (using thresholding), or add a greater degree of visual realism by employing depth cues. Based on Pascal code contributed by Michael Castle of the University of Michigan Mental Health Research Institute.
Field Summary | |
---|---|
(package private) java.lang.String[] |
axisList
|
(package private) boolean |
batchMode
|
(package private) static int |
BIGPOWEROF2
|
(package private) int |
bottom
|
(package private) byte[] |
brightCueArray
|
(package private) static int |
brightestPoint
|
(package private) short[] |
countBuffer
|
(package private) short[] |
cueZBuffer
|
(package private) boolean |
done
|
(package private) int |
height
|
(package private) int |
imageWidth
|
(package private) ImagePlus |
imp
|
(package private) boolean |
isRGB
|
(package private) java.lang.String |
label
|
(package private) int |
left
|
(package private) static int |
meanValue
|
(package private) java.lang.String[] |
methodList
|
(package private) static int |
nearestPoint
|
(package private) byte[] |
opaArray
|
(package private) byte[] |
projArray
|
(package private) int |
right
|
(package private) ImageStack |
stack
|
(package private) ImageStack |
stack2
|
(package private) int[] |
sumBuffer
|
(package private) int |
top
|
(package private) int |
width
|
(package private) static int |
xAxis
|
(package private) static int |
yAxis
|
(package private) static int |
zAxis
|
(package private) short[] |
zBuffer
|
Fields inherited from interface ij.plugin.filter.PlugInFilter |
---|
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING |
Constructor Summary | |
---|---|
Projector()
|
Method Summary | |
---|---|
(package private) void |
allocateArrays(int nProjections,
int projwidth,
int projheight)
|
(package private) void |
doOneProjectionX(int nSlices,
int ycenter,
int zcenter,
int projwidth,
int projheight,
int costheta,
int sintheta)
This method projects each pixel of a volume (stack of slices) onto a plane as the volume rotates about the x-axis. |
(package private) void |
doOneProjectionY(int nSlices,
int xcenter,
int zcenter,
int projwidth,
int projheight,
int costheta,
int sintheta)
Projects each pixel of a volume (stack of slices) onto a plane as the volume rotates about the y-axis. |
(package private) void |
doOneProjectionZ(int nSlices,
int xcenter,
int ycenter,
int zcenter,
int projwidth,
int projheight,
int costheta,
int sintheta)
Projects each pixel of a volume (stack of slices) onto a plane as the volume rotates about the z-axis. |
ImagePlus |
doProjections(ImagePlus imp)
|
void |
doRGBProjections(ImagePlus imp)
|
void |
getByteRow(ImageStack stack,
int x,
int y,
int z,
int width1,
int width2,
int[] line)
|
void |
getRGBRow(ImageStack stack,
int x,
int y,
int z,
int width1,
int width2,
int[] line)
|
void |
putByteRow(ImageStack stack,
int y,
int z,
int width,
int[] line)
|
void |
putRGBRow(ImageStack stack,
int y,
int z,
int width,
int[] line)
|
void |
run(ImageProcessor ip)
Filters use this method to process the image. |
int |
setup(java.lang.String arg,
ImagePlus imp)
This method is called once when the filter is loaded. |
boolean |
showDialog()
|
(package private) ImagePlus |
zScale(ImagePlus imp)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final int xAxis
static final int yAxis
static final int zAxis
static final int nearestPoint
static final int brightestPoint
static final int meanValue
static final int BIGPOWEROF2
java.lang.String[] axisList
java.lang.String[] methodList
ImagePlus imp
ImageStack stack
ImageStack stack2
int width
int height
int imageWidth
int left
int right
int top
int bottom
byte[] projArray
byte[] opaArray
byte[] brightCueArray
short[] zBuffer
short[] cueZBuffer
short[] countBuffer
int[] sumBuffer
boolean isRGB
java.lang.String label
boolean done
boolean batchMode
Constructor Detail |
---|
public Projector()
Method Detail |
---|
public int setup(java.lang.String arg, ImagePlus imp)
PlugInFilter
For Plugin-filters specifying the FINAL_PROCESSING flag, the setup method will be called again, this time with arg = "final" after all other processing is done.
setup
in interface PlugInFilter
public void run(ImageProcessor ip)
PlugInFilter
null
.
run
in interface PlugInFilter
public boolean showDialog()
public void doRGBProjections(ImagePlus imp)
public ImagePlus doProjections(ImagePlus imp)
void allocateArrays(int nProjections, int projwidth, int projheight)
void doOneProjectionX(int nSlices, int ycenter, int zcenter, int projwidth, int projheight, int costheta, int sintheta)
void doOneProjectionY(int nSlices, int xcenter, int zcenter, int projwidth, int projheight, int costheta, int sintheta)
void doOneProjectionZ(int nSlices, int xcenter, int ycenter, int zcenter, int projwidth, int projheight, int costheta, int sintheta)
ImagePlus zScale(ImagePlus imp)
public void getByteRow(ImageStack stack, int x, int y, int z, int width1, int width2, int[] line)
public void putByteRow(ImageStack stack, int y, int z, int width, int[] line)
public void getRGBRow(ImageStack stack, int x, int y, int z, int width1, int width2, int[] line)
public void putRGBRow(ImageStack stack, int y, int z, int width, int[] line)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |