#include <itkLevelSetFunction.h>
Inheritance diagram for itk::LevelSetFunction< TImageType >:
LevelSetFunction implements a generic level set function. This function is an expanded form of the basic equation developed in [1].
where is an advection term, is a propagation (growth) term, and is a spatial modifier term for the mean curvature . , , and are all scalar constants.
Terms in the equation above are supplied through virtual methods, which must be subclassed to complete an implementation. Terms can be eliminated from the equation by setting the corresponding constants to zero. A wide variety of level set methods can be implemented by subclassing this basic equation.
In ITK, the usual sign convention is that the INSIDE of a surface contains NEGATIVE values and the OUTSIDE of the surface contains POSITIVE values.
Definition at line 64 of file itkLevelSetFunction.h.
|
|
A floating point offset from an image grid location. Used for interpolation among grid values in a neighborhood. Reimplemented from itk::FiniteDifferenceFunction< TImageType >. Reimplemented in itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >, itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, itk::LevelSetFunctionWithRefitTerm< OutputImageType, SparseImageType >, and itk::SegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 90 of file itkLevelSetFunction.h. |
|
|
|
Reimplemented from itk::FiniteDifferenceFunction< TImageType >. Reimplemented in itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 86 of file itkLevelSetFunction.h. |
|
|
|
|
|
|
Convenient typedefs. Reimplemented from itk::FiniteDifferenceFunction< TImageType >. Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >, itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, and itk::LevelSetFunctionWithRefitTerm< OutputImageType, SparseImageType >. Definition at line 84 of file itkLevelSetFunction.h. |
|
The vector type that will be used in the calculations. Reimplemented in itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::SegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 94 of file itkLevelSetFunction.h. |
|
Definition at line 293 of file itkLevelSetFunction.h. |
|
Definition at line 301 of file itkLevelSetFunction.h. |
|
Advection field. Default implementation returns a vector of zeros. Reimplemented in itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::SegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 122 of file itkLevelSetFunction.h. |
|
|
|
|
|
Computes the time step for an update given a global data structure. The data used in the computation may take different forms depending on the nature of the equations. This global data cannot be kept in the instance of the equation object itself since the equation object must remain stateless for thread safety. The global data is therefore managed for each thread by the finite difference solver filters. Implements itk::FiniteDifferenceFunction< TImageType >. Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >, itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, and itk::LevelSetFunctionWithRefitTerm< OutputImageType, SparseImageType >. |
|
|
|
|
|
Compute the equation value. Implements itk::FiniteDifferenceFunction< TImageType >. Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >. |
|
Curvature speed. Can be used to spatially modify the effects of curvature . The default implementation returns one. Reimplemented in itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >. Definition at line 135 of file itkLevelSetFunction.h. |
|
Alpha. Scales all advection term values. Definition at line 150 of file itkLevelSetFunction.h. |
|
Gamma. Scales all curvature weight values Definition at line 164 of file itkLevelSetFunction.h. |
|
Epsilon. Definition at line 178 of file itkLevelSetFunction.h. |
|
Returns a pointer to a global data structure that is passed to this object from the solver at each calculation. The idea is that the solver holds the state of any global values needed to calculate the time step, while the equation object performs the actual calculations. The global data should also be initialized in this method. Global data can be used for caching any values used or reused by the FunctionObject. Each thread should receive its own global data struct. Implements itk::FiniteDifferenceFunction< TImageType >. Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 202 of file itkLevelSetFunction.h. |
|
Weight of the laplacian smoothing term Definition at line 171 of file itkLevelSetFunction.h. |
|
Set/Get the maximum constraint for the curvature term factor in the time step calculation. Changing this value from the default is not recommended or necessary, but can be used to speed up the surface evolution at the risk of creating an unstable solution. Definition at line 272 of file itkLevelSetFunction.h. |
|
Set/Get the maximum constraint for the scalar/vector term factor of the time step calculation. Changing this value from the default is not recommended or necessary, but can be used to speed up the surface evolution at the risk of creating an unstable solution. Definition at line 286 of file itkLevelSetFunction.h. |
|
|
Beta. Scales all propagation term values. Definition at line 157 of file itkLevelSetFunction.h. |
|
Definition at line 250 of file itkLevelSetFunction.h. |
|
This method creates the appropriate member variable operators for the level-set calculations. The argument to this function is a the radius necessary for performing the level-set calculations. Reimplemented in itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::SegmentationLevelSetFunction< OutputImageType, FeatureImageType >. |
|
This method's only purpose is to initialize the zero vector constant. |
|
|
Laplacian smoothing speed. Can be used to spatially modify the effects of laplacian smoothing of the level set function Definition at line 142 of file itkLevelSetFunction.h. |
|
|
|
Propagation speed. This term controls surface expansion/contraction. Default implementation returns zero. Reimplemented in itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >, itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::LevelSetFunctionWithRefitTerm< OutputImageType, SparseImageType >, and itk::SegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 128 of file itkLevelSetFunction.h. |
|
When the finite difference solver filter has finished using a global data pointer, it passes it to this method, which frees the memory. The solver cannot free the memory because it does not know the type to which the pointer points. Implements itk::FiniteDifferenceFunction< TImageType >. Reimplemented in itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >. Definition at line 221 of file itkLevelSetFunction.h. |
|
Alpha. Scales all advection term values. Reimplemented in itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >. Definition at line 148 of file itkLevelSetFunction.h. |
|
Gamma. Scales all curvature weight values Definition at line 162 of file itkLevelSetFunction.h. |
|
Epsilon. Definition at line 176 of file itkLevelSetFunction.h. |
|
Weight of the laplacian smoothing term Definition at line 169 of file itkLevelSetFunction.h. |
|
Set/Get the maximum constraint for the curvature term factor in the time step calculation. Changing this value from the default is not recommended or necessary, but can be used to speed up the surface evolution at the risk of creating an unstable solution. Definition at line 268 of file itkLevelSetFunction.h. |
|
Set/Get the maximum constraint for the scalar/vector term factor of the time step calculation. Changing this value from the default is not recommended or necessary, but can be used to speed up the surface evolution at the risk of creating an unstable solution. Definition at line 282 of file itkLevelSetFunction.h. |
|
Beta. Scales all propagation term values. Definition at line 155 of file itkLevelSetFunction.h. |
|
Definition at line 246 of file itkLevelSetFunction.h. |
|
Definition at line 258 of file itkLevelSetFunction.h. |
|
Definition at line 254 of file itkLevelSetFunction.h. |
|
Alpha. Definition at line 330 of file itkLevelSetFunction.h. |
|
The offset of the center pixel in the neighborhood. Definition at line 312 of file itkLevelSetFunction.h. |
|
Gamma. Definition at line 336 of file itkLevelSetFunction.h. |
|
Definition at line 306 of file itkLevelSetFunction.h. |
|
Epsilon magnitude controls the lower limit for gradient magnitude. Definition at line 327 of file itkLevelSetFunction.h. |
|
Laplacean smoothing term Definition at line 339 of file itkLevelSetFunction.h. |
|
Beta. Definition at line 333 of file itkLevelSetFunction.h. |
|
Definition at line 317 of file itkLevelSetFunction.h. |
|
Constants used in the time step calculation. Definition at line 305 of file itkLevelSetFunction.h. |
|
Stride length along the y-dimension. Definition at line 315 of file itkLevelSetFunction.h. |
|
Zero vector constant. Definition at line 324 of file itkLevelSetFunction.h. |
|
Slices for the ND neighborhood. Definition at line 309 of file itkLevelSetFunction.h. |