|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugins.big.bigsnake3d.snake.SphereSnake
public class SphereSnake
Three-dimensional exponential spline snake (E-Snake).
Constructor Summary | |
---|---|
SphereSnake(ImageLUTContainer imageLUTs,
SphereSnakeParameters parameters)
Default constructor. |
Method Summary | |
---|---|
void |
dilateX(double a)
|
void |
dilateY(double b)
|
void |
dilateZ(double c)
|
double |
energy()
The purpose of this method is to compute the energy of the snake. |
double |
getArea()
Retrieves the area of the surface of the snake. |
icy.sequence.Sequence |
getBinaryMask()
Returns a Sequence object containing a binary image
representing the voxels enclosed by the snake surface. |
icy.type.rectangle.Rectangle3D |
getBounds()
Returns the bounding box aligned with the axis containing the snake surface. |
javax.vecmath.Point3d |
getCentroid()
Returns a point with the position of the center of gravity of the scales. |
javax.vecmath.Point3d[] |
getEnergyGradient()
The purpose of this method is to compute the gradient of the snake energy with respect to the snake-defining nodes. |
plugins.big.bigsnakeutils.icy.snake3D.Snake3DNode[] |
getNodes()
This method provides an accessor to the snake-defining nodes. |
int |
getNumNodes()
Returns the number of points that define the snake. |
int |
getNumScales()
Returns the number of scales provided by the method getScales() . |
vtk.vtkPolyData |
getQuadMesh()
Returns a quad mesh representing the snake surface. |
plugins.big.bigsnakeutils.icy.snake3D.Snake3DScale |
getScale(int i)
Computes the i-th scale. |
plugins.big.bigsnakeutils.icy.snake3D.Snake3DScale[] |
getScales()
The purpose of this method is to determine what to draw on screen, given the current configuration of nodes. |
SphereSnakeParameters |
getSnakeParameters()
Returns a new container with the information of the execution parameters of the snake. |
double |
getVolume()
Retrieves the volume inside the surface determined by the snake. |
void |
initialize()
Initializes the snake class. |
boolean |
isAlive()
The purpose of this method is to monitor the status of the snake. |
boolean |
isInitialized()
Returns true if the snake has been initialized. |
boolean |
isValid()
Returns false if the snake reaches an invalid configuration. |
void |
reviveSnake()
Sets the status of the snake to alive, and restores the maximum number iterations to the original one. |
void |
rotateX(double gamma)
|
void |
rotateY(double beta)
|
void |
rotateZ(double alpha)
|
void |
setNodes(plugins.big.bigsnakeutils.icy.snake3D.Snake3DNode[] node)
This method provides a mutator to the snake-defining nodes. |
plugins.big.bigsnakeutils.icy.snake3D.Snake3DNode[] |
setShape(icy.sequence.Sequence initialPositionMask)
|
void |
setSnakeParameters(SphereSnakeParameters parameters)
Sets the snake execution parameters. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SphereSnake(ImageLUTContainer imageLUTs, SphereSnakeParameters parameters)
Method Detail |
---|
public double energy()
isAlive()
returns true
. It is imperative
that this function be everywhere differentiable with respect to the
snake-defining nodes.
energy
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public void initialize()
initialize
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public void reviveSnake()
reviveSnake
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public void setNodes(plugins.big.bigsnakeutils.icy.snake3D.Snake3DNode[] node)
setNodes
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public void setSnakeParameters(SphereSnakeParameters parameters)
public javax.vecmath.Point3d[] getEnergyGradient()
getEnergyGradient
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public plugins.big.bigsnakeutils.icy.snake3D.Snake3DNode[] getNodes()
getNodes
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public int getNumNodes()
getNumNodes
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public int getNumScales()
getScales()
.
getNumScales
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public plugins.big.bigsnakeutils.icy.snake3D.Snake3DScale getScale(int i)
getScale
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public plugins.big.bigsnakeutils.icy.snake3D.Snake3DScale[] getScales()
getScales
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public double getArea()
public icy.sequence.Sequence getBinaryMask()
Sequence
object containing a binary image
representing the voxels enclosed by the snake surface.
getBinaryMask
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public icy.type.rectangle.Rectangle3D getBounds()
public javax.vecmath.Point3d getCentroid()
getCentroid
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public SphereSnakeParameters getSnakeParameters()
public double getVolume()
public vtk.vtkPolyData getQuadMesh()
public boolean isAlive()
isAlive
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public boolean isInitialized()
true
if the snake has been initialized.
isInitialized
in interface plugins.big.bigsnakeutils.icy.snake3D.Snake3D
public boolean isValid()
false
if the snake reaches an invalid configuration.
It can be related to ill-posed configuration of the points or related to
the image boundaries.
public void dilateX(double a)
public void dilateY(double b)
public void dilateZ(double c)
public void rotateX(double gamma)
public void rotateY(double beta)
public void rotateZ(double alpha)
public plugins.big.bigsnakeutils.icy.snake3D.Snake3DNode[] setShape(icy.sequence.Sequence initialPositionMask)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |