|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugins.big.bigsnake3d.snake.SphereSnakeParameters
public class SphereSnakeParameters
Class that wraps the parameters of the E-Snake.
Field Summary | |
---|---|
static java.lang.String |
ID_ALPHA
Label of the XML tag containing the energy trade-off between the contour energy and the region energy. |
static java.lang.String |
ID_DETECT_TYPE
Label of the XML tag informing about the brightness of the target to segment (brighter or darker than the background). |
static java.lang.String |
ID_ENERGY_TYPE
Label of the XML tag informing about the type of energy the snake uses (contour, region or mixture). |
static java.lang.String |
ID_GAMMA
Label of the XML tag containing the surface stiffness. |
static java.lang.String |
ID_IMMORTAL
Label of the XML tag informing if the number of iterations of the snake is limited or not. |
static java.lang.String |
ID_M
Label of the XML tag containing the number of control points of the snake. |
static java.lang.String |
ID_MAX_LIFE
Label of the XML tag containing the maximum number of iterations. |
Constructor Summary | |
---|---|
SphereSnakeParameters(int maxLife,
int M,
double alpha,
double gamma,
boolean immortal,
SphereSnakeTargetType detectType,
SphereSnakeEnergyType energyType)
Default constructor. |
Method Summary | |
---|---|
double |
getAlpha()
|
SphereSnakeTargetType |
getDetectType()
|
SphereSnakeEnergyType |
getEnergyType()
|
double |
getGamma()
|
int |
getM()
|
int |
getMaxLife()
|
boolean |
isImmortal()
|
void |
saveToXML(org.w3c.dom.Element node)
|
void |
setAlpha(double alpha)
|
void |
setDetectType(SphereSnakeTargetType detectType)
|
void |
setEnergyType(SphereSnakeEnergyType energyType)
|
void |
setGamma(double gamma)
|
void |
setImmortal(boolean immortal)
|
void |
setM(int M)
|
void |
setMaxLife(int maxLife)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ID_MAX_LIFE
public static final java.lang.String ID_IMMORTAL
public static final java.lang.String ID_M
public static final java.lang.String ID_ALPHA
public static final java.lang.String ID_GAMMA
public static final java.lang.String ID_ENERGY_TYPE
public static final java.lang.String ID_DETECT_TYPE
Constructor Detail |
---|
public SphereSnakeParameters(int maxLife, int M, double alpha, double gamma, boolean immortal, SphereSnakeTargetType detectType, SphereSnakeEnergyType energyType)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public void saveToXML(org.w3c.dom.Element node)
public double getAlpha()
public void setAlpha(double alpha)
public double getGamma()
public void setGamma(double gamma)
public boolean isImmortal()
public void setImmortal(boolean immortal)
public int getM()
public void setM(int M)
public SphereSnakeTargetType getDetectType()
public void setDetectType(SphereSnakeTargetType detectType)
public SphereSnakeEnergyType getEnergyType()
public void setEnergyType(SphereSnakeEnergyType energyType)
public int getMaxLife()
public void setMaxLife(int maxLife)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |