Package gov.nih.mipav.model.algorithms
Class AlgorithmNetworkSnake.ContractingSnake
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.AlgorithmNetworkSnake.ContractingSnake
-
- Enclosing class:
- AlgorithmNetworkSnake
public class AlgorithmNetworkSnake.ContractingSnake extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private float
alpha
private float
beta
private float
gamma
private boolean
isInitialised
private java.util.ArrayList<AlgorithmNetworkSnake.ContractingSnakeNode>
nodes
-
Constructor Summary
Constructors Constructor Description ContractingSnake()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getAlpha()
float
getBeta()
float
getGamma()
boolean
getIsInitialised()
java.util.ArrayList<AlgorithmNetworkSnake.ContractingSnakeNode>
getNodes()
void
initialize(java.util.ArrayList<java.awt.Point> snakePoints)
void
iterate(byte[] imageBuffer, int bufferWidth, int bufferHeight, int m)
void
setAlpha(float alpha)
void
setBeta(float beta)
void
setGamma(float gamma)
void
setNodes(java.util.ArrayList<AlgorithmNetworkSnake.ContractingSnakeNode> nodes)
-
-
-
Field Detail
-
isInitialised
private boolean isInitialised
-
nodes
private java.util.ArrayList<AlgorithmNetworkSnake.ContractingSnakeNode> nodes
-
alpha
private float alpha
-
beta
private float beta
-
gamma
private float gamma
-
-
Method Detail
-
getIsInitialised
public boolean getIsInitialised()
-
getNodes
public java.util.ArrayList<AlgorithmNetworkSnake.ContractingSnakeNode> getNodes()
-
setNodes
public void setNodes(java.util.ArrayList<AlgorithmNetworkSnake.ContractingSnakeNode> nodes)
-
getAlpha
public float getAlpha()
-
setAlpha
public void setAlpha(float alpha)
-
getBeta
public float getBeta()
-
setBeta
public void setBeta(float beta)
-
getGamma
public float getGamma()
-
setGamma
public void setGamma(float gamma)
-
initialize
public void initialize(java.util.ArrayList<java.awt.Point> snakePoints)
-
iterate
public void iterate(byte[] imageBuffer, int bufferWidth, int bufferHeight, int m)
-
-