|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--VolumeJ.VJProjection
This class is a set of projections of an object. Its properties are the projections (as images) and the projection angles of each image. It belongs to the BackProjection group of algorithms. Copyright (c) 1999-2002, Michael Abramoff. All rights reserved.
Field Summary | |
protected int |
n
The number of projection images. |
protected java.lang.Object[] |
sliceArray
The projection images. |
protected int |
sliceHeight
|
protected int |
sliceWidth
The width of each projection image. |
protected float[] |
theta
Angle (in degrees) of each projection image. |
protected int |
type
|
Constructor Summary | |
VJProjection(double deltaAngle,
java.lang.Object[] sliceArray,
int n,
int width,
int height)
Create a new projection. |
Method Summary | |
void |
backproject(Volume v)
Backprojection around a single axis y. |
protected void |
buildAngles(double deltaAngle,
int n)
Compute the angle of each projection image for a sequence of equidistant projection images. |
int |
getHeight()
Return the height of the images in sliceArray. |
java.lang.Object[] |
getImageArray()
Return the slice array this back projection is based on. |
protected int |
getType(java.lang.Object[] array)
Return the datatype of the array components. |
int |
getWidth()
Return the width of the images in sliceArray. |
int |
n()
Return the number of projection images in this projection. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected int type
protected float[] theta
protected java.lang.Object[] sliceArray
protected int n
protected int sliceWidth
protected int sliceHeight
Constructor Detail |
public VJProjection(double deltaAngle, java.lang.Object[] sliceArray, int n, int width, int height)
deltaAngle
- the distance in degrees between each projection image.sliceArray
- an array of Object-s with in each object a byte, short or int image.n
- the number of projection images in sliceArray.width
- the width of each projection image in sliceArray.Method Detail |
public java.lang.Object[] getImageArray()
public int getWidth()
public int getHeight()
protected int getType(java.lang.Object[] array)
array
- an array of objects.protected void buildAngles(double deltaAngle, int n)
deltaAngle
- the distance between each projectioon image in degrees.n
- the number of projection images.public int n()
public void backproject(Volume v)
v
- a VolumeFloat that has the right size to be filled with the backprojection.
|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |