edu.jhu.cs.cisst.algorithms.segmentation.gac
Class GaussianCurvatureForce2D

java.lang.Object
  extended by edu.jhu.cs.cisst.algorithms.segmentation.gac.ActiveContourForce2D
      extended by 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.


Field Summary
protected  double maxCurvatureForce
          The max curvature force.
 
Fields inherited from class edu.jhu.cs.cisst.algorithms.segmentation.gac.ActiveContourForce2D
cols, gridPoints, rows, weight
 
Constructor Summary
GaussianCurvatureForce2D()
           
 
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 edu.jhu.cs.cisst.algorithms.segmentation.gac.ActiveContourForce2D
getGridPoint, getWeight, setGridPoints, setWeight, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxCurvatureForce

protected double maxCurvatureForce
The max curvature force.

Constructor Detail

GaussianCurvatureForce2D

public GaussianCurvatureForce2D()
Method Detail

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 x
j - the y
Returns:
the double
See Also:
ActiveContourForce2D.evaluate(int, int)