edu.jhu.cs.cisst.algorithms.segmentation.gac
Class GaussianCurvatureForce2D
java.lang.Object
edu.jhu.cs.cisst.algorithms.segmentation.gac.ActiveContourForce2D
edu.jhu.cs.cisst.algorithms.segmentation.gac.GaussianCurvatureForce2D
public class GaussianCurvatureForce2D
- extends ActiveContourForce2D
The Class GaussianCurvatureForce2D moves the level set using Gaussian
curvature, defined as the determinant of the second fundamental form divided
by the determinant of the first fundamental form. For numerical stability,
the magnitude of the Gaussian 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.
GaussianCurvatureForce2D
public GaussianCurvatureForce2D()
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)