edu.jhu.cs.cisst.algorithms.segmentation.gac
Class MeanCurvatureForce2D
java.lang.Object
edu.jhu.cs.cisst.algorithms.segmentation.gac.ActiveContourForce2D
edu.jhu.cs.cisst.algorithms.segmentation.gac.MeanCurvatureForce2D
public class MeanCurvatureForce2D
- extends ActiveContourForce2D
The Class MeanCurvatureForce2D moves the level set according to mean
curvature. Mean curvature is defined as the divergence of the level set
normal. For numerical stability, the magnitude of the Mean curvature is
bounded from above.
Method Summary |
double |
evaluate(int i,
int j)
Evaluate the force at a particular grid point position. |
double |
getMaxCurvatureForce()
Gets the max curvature force. |
void |
setMaxCurvatureForce(double maxCurvatureForce)
Sets the max curvature force. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxCurvatureForce
protected double maxCurvatureForce
- The max curvature force.
MeanCurvatureForce2D
public MeanCurvatureForce2D()
getMaxCurvatureForce
public double getMaxCurvatureForce()
- Gets the max curvature force.
- Returns:
- the max curvature force
setMaxCurvatureForce
public void setMaxCurvatureForce(double maxCurvatureForce)
- Sets the max curvature force.
- Parameters:
maxCurvatureForce
- the new max curvature force
evaluate
public double evaluate(int i,
int j)
- Description copied from class:
ActiveContourForce2D
- Evaluate the force at a particular grid point position.
- Specified by:
evaluate
in class ActiveContourForce2D
- Parameters:
i
- the xj
- the y
- Returns:
- the double
- See Also:
ActiveContourForce2D.evaluate(int,
int)