|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.cs.cisst.algorithms.segmentation.gac.ActiveContourForce2D
public abstract class ActiveContourForce2D
The Class ActiveContourForce2D is an abstract class to represent level set forces.
| Field Summary | |
|---|---|
protected int |
cols
The columns. |
protected GridPoint2D[][] |
gridPoints
The grid points. |
protected int |
rows
The columns. |
protected double |
weight
The weight. |
| Constructor Summary | |
|---|---|
ActiveContourForce2D()
Instantiates a new active contour force. |
|
ActiveContourForce2D(GridPoint2D[][] gridPoints)
Instantiates a new active contour force. |
|
ActiveContourForce2D(GridPoint2D[][] gridPoints,
double weight)
Instantiates a new active contour force. |
|
| Method Summary | |
|---|---|
abstract double |
evaluate(int x,
int y)
Evaluate the force at a particular grid point position. |
GridPoint2D |
getGridPoint(int i,
int j)
Gets the grid point. |
double |
getWeight()
Gets the weight. |
void |
setGridPoints(GridPoint2D[][] gridPoints)
Sets the grid points. |
void |
setWeight(double weight)
Sets the weight. |
void |
update()
Update the force periodically while solving the PDE. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected GridPoint2D[][] gridPoints
protected int rows
protected int cols
protected double weight
| Constructor Detail |
|---|
public ActiveContourForce2D(GridPoint2D[][] gridPoints,
double weight)
gridPoints - the grid pointsweight - the weightpublic ActiveContourForce2D(GridPoint2D[][] gridPoints)
gridPoints - the grid pointspublic ActiveContourForce2D()
| Method Detail |
|---|
public void setGridPoints(GridPoint2D[][] gridPoints)
gridPoints - the new grid points
public GridPoint2D getGridPoint(int i,
int j)
i - the ij - the j
public double getWeight()
public void setWeight(double weight)
weight - the new weight
public abstract double evaluate(int x,
int y)
x - the xy - the y
public void update()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||