|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugins.big.bigsnake.snake.ESnakeParameters
public class ESnakeParameters
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_BETA
Label of the XML tag containing the energy weight of the prior shape 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_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. |
static java.lang.String |
ID_PRIOR_SHAPE_TYPE
Label of the XML tag informing about the type of prior shape that is used in the energy. |
static java.lang.String |
ID_SHAPE_SPACE_TYPE
Label of the XML tag informing about the type of shape space that is used in the energy. |
Constructor Summary | |
---|---|
ESnakeParameters()
Default constructor. |
|
ESnakeParameters(ESnakeTargetType detectType,
int M,
ESnakeEnergyType energyType,
double alpha,
ESnakePriorShapeType priorShapeType,
ShapeSpaceType shapeSpaceType,
double beta,
int maxLife,
boolean immortal)
Constructor. |
Method Summary | |
---|---|
double |
getAlpha()
|
double |
getBeta()
|
ESnakeTargetType |
getDetectType()
|
ESnakeEnergyType |
getEnergyType()
|
int |
getM()
|
int |
getMaxLife()
|
ESnakePriorShapeType |
getPriorShapeType()
|
ShapeSpaceType |
getShapeSpaceType()
|
boolean |
isImmortal()
|
void |
loadFromToXML(org.w3c.dom.Node node)
|
void |
saveToXML(org.w3c.dom.Element node)
|
void |
setAlpha(double alpha)
|
void |
setBeta(double beta)
|
void |
setDetectType(ESnakeTargetType detectType)
|
void |
setEnergyType(ESnakeEnergyType energyType)
|
void |
setImmortal(boolean immortal)
|
void |
setM(int M)
|
void |
setMaxLife(int maxLife)
|
void |
setPriorShapeType(ESnakePriorShapeType priorShapeType)
|
void |
setShapeSpaceType(ShapeSpaceType shapeSpaceType)
|
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_DETECT_TYPE
public static final java.lang.String ID_M
public static final java.lang.String ID_ENERGY_TYPE
public static final java.lang.String ID_ALPHA
public static final java.lang.String ID_PRIOR_SHAPE_TYPE
public static final java.lang.String ID_SHAPE_SPACE_TYPE
public static final java.lang.String ID_BETA
public static final java.lang.String ID_MAX_LIFE
public static final java.lang.String ID_IMMORTAL
Constructor Detail |
---|
public ESnakeParameters()
public ESnakeParameters(ESnakeTargetType detectType, int M, ESnakeEnergyType energyType, double alpha, ESnakePriorShapeType priorShapeType, ShapeSpaceType shapeSpaceType, double beta, int maxLife, boolean immortal)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public void loadFromToXML(org.w3c.dom.Node node)
public void saveToXML(org.w3c.dom.Element node)
public ESnakeTargetType getDetectType()
public void setDetectType(ESnakeTargetType detectType)
public int getM()
public void setM(int M)
public ESnakeEnergyType getEnergyType()
public void setEnergyType(ESnakeEnergyType energyType)
public double getAlpha()
public void setAlpha(double alpha)
public ESnakePriorShapeType getPriorShapeType()
public void setPriorShapeType(ESnakePriorShapeType priorShapeType)
public ShapeSpaceType getShapeSpaceType()
public void setShapeSpaceType(ShapeSpaceType shapeSpaceType)
public double getBeta()
public void setBeta(double beta)
public int getMaxLife()
public void setMaxLife(int maxLife)
public boolean isImmortal()
public void setImmortal(boolean immortal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |