ITK  4.9.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | List of all members
itk::LevelSetFunction< TImageType > Class Template Reference

#include <itkLevelSetFunction.h>

+ Inheritance diagram for itk::LevelSetFunction< TImageType >:
+ Collaboration diagram for itk::LevelSetFunction< TImageType >:

Detailed Description

template<typename TImageType>
class itk::LevelSetFunction< TImageType >

The LevelSetFunction class is a generic function object which can be used to create a level set method filter when combined with an appropriate finite difference image filter. (See FiniteDifferenceImageFilter.)

LevelSetFunction implements a generic level set function. This function is an expanded form of the basic equation developed in [1].

$\phi_{t} + \alpha \stackrel{\rightharpoonup}{A}(\mathbf{x})\cdot\nabla\phi + \beta P(\mathbf{x})\mid\nabla\phi\mid = \gamma Z(\mathbf{x})\kappa\mid\nabla\phi\mid$

where $ \stackrel{\rightharpoonup}{A} $ is an advection term, $ P $ is a propagation (growth) term, and $ Z $ is a spatial modifier term for the mean curvature $ \kappa $. $ \alpha $, $ \beta $, and $ \gamma $ 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.

Warning
You MUST call Initialize() in the constructor of subclasses of this object to set it up properly to do level-set Calculations. The argument that you pass Initialize is the radius of the neighborhood needed to perform the calculations. If your subclass does not do any additional neighborhood processing, then the default radius should be 1 in each direction.
REFERENCES
[1] Sethian, J.A. Level Set Methods. Cambridge University Press. 1996.

Definition at line 66 of file itkLevelSetFunction.h.

Classes

struct  GlobalDataStruct
 

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::FloatOffsetType FloatOffsetType
 
typedef Superclass::ImageType ImageType
 
typedef
Superclass::NeighborhoodScalesType 
NeighborhoodScalesType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef Superclass::PixelRealType PixelRealType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef PixelType ScalarValueType
 
typedef LevelSetFunction Self
 
typedef
FiniteDifferenceFunction
< TImageType > 
Superclass
 
typedef double TimeStepType
 
typedef FixedArray
< ScalarValueType,
itkGetStaticConstMacro(ImageDimension) > 
VectorType
 
- Public Types inherited from itk::FiniteDifferenceFunction< TImageType >
typedef SmartPointer< const SelfConstPointer
 
typedef
ZeroFluxNeumannBoundaryCondition
< ImageType
DefaultBoundaryConditionType
 
typedef Vector< float,
itkGetStaticConstMacro(ImageDimension) > 
FloatOffsetType
 
typedef TImageType ImageType
 
typedef Vector< PixelRealType,
itkGetStaticConstMacro(ImageDimension) > 
NeighborhoodScalesType
 
typedef
ConstNeighborhoodIterator
< TImageType,
DefaultBoundaryConditionType
NeighborhoodType
 
typedef double PixelRealType
 
typedef ImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
ConstNeighborhoodIterator
< TImageType >::RadiusType 
RadiusType
 
typedef FiniteDifferenceFunction Self
 
typedef LightObject Superclass
 
typedef double TimeStepType
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual VectorType AdvectionField (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
 
virtual ScalarValueType Compute3DMinimalCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0)
 
virtual ScalarValueType ComputeCurvatureTerm (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0)
 
virtual TimeStepType ComputeGlobalTimeStep (void *GlobalData) const override
 
virtual ScalarValueType ComputeMeanCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0)
 
virtual ScalarValueType ComputeMinimalCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0)
 
virtual PixelType ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &=FloatOffsetType(0.0)) override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual ScalarValueType CurvatureSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
 
virtual void * GetGlobalDataPointer () const override
 
virtual const char * GetNameOfClass () const
 
bool GetUseMinimalCurvature () const
 
virtual void Initialize (const RadiusType &r)
 
virtual ScalarValueType LaplacianSmoothingSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
 
virtual ScalarValueType PropagationSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
 
virtual void ReleaseGlobalDataPointer (void *GlobalData) const override
 
void SetUseMinimalCurvature (bool b)
 
void UseMinimalCurvatureOff ()
 
void UseMinimalCurvatureOn ()
 
virtual void SetAdvectionWeight (const ScalarValueType a)
 
ScalarValueType GetAdvectionWeight () const
 
virtual void SetPropagationWeight (const ScalarValueType p)
 
ScalarValueType GetPropagationWeight () const
 
virtual void SetCurvatureWeight (const ScalarValueType c)
 
ScalarValueType GetCurvatureWeight () const
 
void SetLaplacianSmoothingWeight (const ScalarValueType c)
 
ScalarValueType GetLaplacianSmoothingWeight () const
 
void SetEpsilonMagnitude (const ScalarValueType e)
 
ScalarValueType GetEpsilonMagnitude () const
 
- Public Member Functions inherited from itk::FiniteDifferenceFunction< TImageType >
const NeighborhoodScalesType ComputeNeighborhoodScales () const
 
const RadiusTypeGetRadius () const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
virtual void InitializeIteration ()
 
void SetRadius (const RadiusType &r)
 
void SetScaleCoefficients (PixelRealType vals[ImageDimension])
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static double GetMaximumCurvatureTimeStep ()
 
static double GetMaximumPropagationTimeStep ()
 
static Pointer New ()
 
static void SetMaximumCurvatureTimeStep (double n)
 
static void SetMaximumPropagationTimeStep (double n)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceFunction< TImageType >
static const unsigned int ImageDimension = ImageType::ImageDimension
 

Protected Member Functions

 LevelSetFunction ()
 
void PrintSelf (std::ostream &s, Indent indent) const override
 
virtual ~LevelSetFunction ()
 
- Protected Member Functions inherited from itk::FiniteDifferenceFunction< TImageType >
 FiniteDifferenceFunction ()
 
 ~FiniteDifferenceFunction ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Static Protected Member Functions

static VectorType InitializeZeroVectorConstant ()
 

Protected Attributes

ScalarValueType m_AdvectionWeight
 
OffsetValueType m_Center
 
ScalarValueType m_CurvatureWeight
 
ScalarValueType m_EpsilonMagnitude
 
ScalarValueType m_LaplacianSmoothingWeight
 
ScalarValueType m_PropagationWeight
 
bool m_UseMinimalCurvature
 
OffsetValueType m_xStride [itkGetStaticConstMacro(ImageDimension)]
 
std::slice x_slice [itkGetStaticConstMacro(ImageDimension)]
 
- Protected Attributes inherited from itk::FiniteDifferenceFunction< TImageType >
RadiusType m_Radius
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Static Protected Attributes

static double m_DT
 
static double m_WaveDT
 
static VectorType m_ZeroVectorConstant
 

Private Member Functions

 LevelSetFunction (const Self &) ITK_DELETE_FUNCTION
 
void operator= (const Self &) ITK_DELETE_FUNCTION
 

Member Typedef Documentation

template<typename TImageType >
typedef SmartPointer< const Self > itk::LevelSetFunction< TImageType >::ConstPointer

Definition at line 74 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef Superclass::FloatOffsetType itk::LevelSetFunction< TImageType >::FloatOffsetType

Definition at line 94 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef Superclass::ImageType itk::LevelSetFunction< TImageType >::ImageType

Definition at line 87 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef Superclass::NeighborhoodScalesType itk::LevelSetFunction< TImageType >::NeighborhoodScalesType

Definition at line 93 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef Superclass::NeighborhoodType itk::LevelSetFunction< TImageType >::NeighborhoodType

Definition at line 92 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef Superclass::PixelRealType itk::LevelSetFunction< TImageType >::PixelRealType

Definition at line 90 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef Superclass::PixelType itk::LevelSetFunction< TImageType >::PixelType

Definition at line 88 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef SmartPointer< Self > itk::LevelSetFunction< TImageType >::Pointer

Definition at line 73 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef Superclass::RadiusType itk::LevelSetFunction< TImageType >::RadiusType

Definition at line 91 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef PixelType itk::LevelSetFunction< TImageType >::ScalarValueType

Definition at line 89 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef LevelSetFunction itk::LevelSetFunction< TImageType >::Self

Standard class typedefs.

Definition at line 71 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef FiniteDifferenceFunction< TImageType > itk::LevelSetFunction< TImageType >::Superclass

Definition at line 72 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef double itk::LevelSetFunction< TImageType >::TimeStepType

Convenient typedefs.

Definition at line 86 of file itkLevelSetFunction.h.

template<typename TImageType >
typedef FixedArray< ScalarValueType, itkGetStaticConstMacro(ImageDimension) > itk::LevelSetFunction< TImageType >::VectorType

The vector type that will be used in the calculations.

Definition at line 98 of file itkLevelSetFunction.h.

Constructor & Destructor Documentation

template<typename TImageType >
itk::LevelSetFunction< TImageType >::LevelSetFunction ( )
inlineprotected

Definition at line 298 of file itkLevelSetFunction.h.

template<typename TImageType >
virtual itk::LevelSetFunction< TImageType >::~LevelSetFunction ( )
inlineprotectedvirtual

Definition at line 309 of file itkLevelSetFunction.h.

template<typename TImageType >
itk::LevelSetFunction< TImageType >::LevelSetFunction ( const Self )
private

Member Function Documentation

template<typename TImageType >
virtual VectorType itk::LevelSetFunction< TImageType >::AdvectionField ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct = 0 
) const
inlinevirtual

Advection field. Default implementation returns a vector of zeros.

Reimplemented in itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >.

Definition at line 125 of file itkLevelSetFunction.h.

References itk::LevelSetFunction< TImageType >::m_ZeroVectorConstant.

template<typename TImageType >
virtual ScalarValueType itk::LevelSetFunction< TImageType >::Compute3DMinimalCurvature ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd = 0 
)
virtual
template<typename TImageType >
virtual ScalarValueType itk::LevelSetFunction< TImageType >::ComputeCurvatureTerm ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd = 0 
)
virtual
template<typename TImageType >
virtual TimeStepType itk::LevelSetFunction< TImageType >::ComputeGlobalTimeStep ( void *  GlobalData) const
overridevirtual

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::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >, and itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >.

template<typename TImageType >
virtual ScalarValueType itk::LevelSetFunction< TImageType >::ComputeMeanCurvature ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd = 0 
)
virtual
template<typename TImageType >
virtual ScalarValueType itk::LevelSetFunction< TImageType >::ComputeMinimalCurvature ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd = 0 
)
virtual
template<typename TImageType >
virtual PixelType itk::LevelSetFunction< TImageType >::ComputeUpdate ( const NeighborhoodType neighborhood,
void *  globalData,
const FloatOffsetType = FloatOffsetType(0.0) 
)
overridevirtual
template<typename TImageType >
virtual::itk::LightObject::Pointer itk::LevelSetFunction< TImageType >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightObject.

Reimplemented in itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >.

template<typename TImageType >
virtual ScalarValueType itk::LevelSetFunction< TImageType >::CurvatureSpeed ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct = 0 
) const
inlinevirtual

Curvature speed. Can be used to spatially modify the effects of curvature . The default implementation returns one.

Reimplemented in itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >, and itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >.

Definition at line 138 of file itkLevelSetFunction.h.

References itk::NumericTraits< T >::OneValue().

template<typename TImageType >
ScalarValueType itk::LevelSetFunction< TImageType >::GetAdvectionWeight ( ) const
inline
template<typename TImageType >
ScalarValueType itk::LevelSetFunction< TImageType >::GetCurvatureWeight ( ) const
inline
template<typename TImageType >
ScalarValueType itk::LevelSetFunction< TImageType >::GetEpsilonMagnitude ( ) const
inline

Epsilon.

Definition at line 181 of file itkLevelSetFunction.h.

References itk::LevelSetFunction< TImageType >::m_EpsilonMagnitude.

template<typename TImageType >
virtual void* itk::LevelSetFunction< TImageType >::GetGlobalDataPointer ( ) const
inlineoverridevirtual

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 >.

Definition at line 205 of file itkLevelSetFunction.h.

References itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxAdvectionChange, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxCurvatureChange, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxPropagationChange, and itk::NumericTraits< T >::ZeroValue().

template<typename TImageType >
ScalarValueType itk::LevelSetFunction< TImageType >::GetLaplacianSmoothingWeight ( ) const
inline

Weight of the laplacian smoothing term

Definition at line 174 of file itkLevelSetFunction.h.

References itk::LevelSetFunction< TImageType >::m_LaplacianSmoothingWeight.

template<typename TImageType >
static double itk::LevelSetFunction< TImageType >::GetMaximumCurvatureTimeStep ( )
inlinestatic
template<typename TImageType >
static double itk::LevelSetFunction< TImageType >::GetMaximumPropagationTimeStep ( )
inlinestatic
template<typename TImageType >
virtual const char* itk::LevelSetFunction< TImageType >::GetNameOfClass ( ) const
virtual
template<typename TImageType >
ScalarValueType itk::LevelSetFunction< TImageType >::GetPropagationWeight ( ) const
inline
template<typename TImageType >
bool itk::LevelSetFunction< TImageType >::GetUseMinimalCurvature ( ) const
inline
template<typename TImageType >
virtual void itk::LevelSetFunction< TImageType >::Initialize ( const RadiusType r)
virtual
template<typename TImageType >
static VectorType itk::LevelSetFunction< TImageType >::InitializeZeroVectorConstant ( )
staticprotected

This method's only purpose is to initialize the zero vector constant.

template<typename TImageType >
virtual ScalarValueType itk::LevelSetFunction< TImageType >::LaplacianSmoothingSpeed ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct = 0 
) const
inlinevirtual

Laplacian smoothing speed. Can be used to spatially modify the effects of laplacian smoothing of the level set function

Definition at line 145 of file itkLevelSetFunction.h.

References itk::NumericTraits< T >::OneValue().

template<typename TImageType >
static Pointer itk::LevelSetFunction< TImageType >::New ( )
static

Method for creation through the object factory.

template<typename TImageType >
void itk::LevelSetFunction< TImageType >::operator= ( const Self )
private
template<typename TImageType >
void itk::LevelSetFunction< TImageType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual
template<typename TImageType >
virtual ScalarValueType itk::LevelSetFunction< TImageType >::PropagationSpeed ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct = 0 
) const
inlinevirtual

Propagation speed. This term controls surface expansion/contraction. Default implementation returns zero.

Reimplemented in itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >.

Definition at line 131 of file itkLevelSetFunction.h.

References itk::NumericTraits< T >::ZeroValue().

template<typename TImageType >
virtual void itk::LevelSetFunction< TImageType >::ReleaseGlobalDataPointer ( void *  GlobalData) const
inlineoverridevirtual

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 >.

Definition at line 224 of file itkLevelSetFunction.h.

template<typename TImageType >
virtual void itk::LevelSetFunction< TImageType >::SetAdvectionWeight ( const ScalarValueType  a)
inlinevirtual

Alpha. Scales all advection term values.

Definition at line 151 of file itkLevelSetFunction.h.

References itk::LevelSetFunction< TImageType >::m_AdvectionWeight.

Referenced by itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::CurvesLevelSetFunction(), itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >::GeodesicActiveContourLevelSetFunction(), itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >::GeodesicActiveContourShapePriorLevelSetFunction(), itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType, TInputImage::ImageDimension > >::SetAdvectionScaling(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetAdvectionScaling(), itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetAdvectionWeight(), itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >::ShapeDetectionLevelSetFunction(), itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ThresholdSegmentationLevelSetFunction(), and itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorThresholdSegmentationLevelSetFunction().

template<typename TImageType >
virtual void itk::LevelSetFunction< TImageType >::SetCurvatureWeight ( const ScalarValueType  c)
inlinevirtual

Gamma. Scales all curvature weight values

Definition at line 165 of file itkLevelSetFunction.h.

References itk::LevelSetFunction< TImageType >::m_CurvatureWeight.

Referenced by itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::CurvesLevelSetFunction(), itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >::GeodesicActiveContourLevelSetFunction(), itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >::GeodesicActiveContourShapePriorLevelSetFunction(), itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >::LaplacianSegmentationLevelSetFunction(), itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType, TInputImage::ImageDimension > >::SetCurvatureScaling(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetCurvatureScaling(), itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >::ShapeDetectionLevelSetFunction(), and itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ThresholdSegmentationLevelSetFunction().

template<typename TImageType >
void itk::LevelSetFunction< TImageType >::SetEpsilonMagnitude ( const ScalarValueType  e)
inline
template<typename TImageType >
void itk::LevelSetFunction< TImageType >::SetLaplacianSmoothingWeight ( const ScalarValueType  c)
inline

Weight of the laplacian smoothing term

Definition at line 172 of file itkLevelSetFunction.h.

References itk::LevelSetFunction< TImageType >::m_LaplacianSmoothingWeight.

template<typename TImageType >
static void itk::LevelSetFunction< TImageType >::SetMaximumCurvatureTimeStep ( double  n)
inlinestatic

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 273 of file itkLevelSetFunction.h.

References itk::LevelSetFunction< TImageType >::m_DT.

Referenced by itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetMaximumCurvatureTimeStep().

template<typename TImageType >
static void itk::LevelSetFunction< TImageType >::SetMaximumPropagationTimeStep ( double  n)
inlinestatic

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 287 of file itkLevelSetFunction.h.

References itk::LevelSetFunction< TImageType >::m_WaveDT.

Referenced by itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetMaximumPropagationTimeStep().

template<typename TImageType >
virtual void itk::LevelSetFunction< TImageType >::SetPropagationWeight ( const ScalarValueType  p)
inlinevirtual

Beta. Scales all propagation term values.

Definition at line 158 of file itkLevelSetFunction.h.

References itk::LevelSetFunction< TImageType >::m_PropagationWeight.

Referenced by itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::CurvesLevelSetFunction(), itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >::GeodesicActiveContourLevelSetFunction(), itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >::GeodesicActiveContourShapePriorLevelSetFunction(), itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::LaplacianSegmentationLevelSetFunction< TImageType, TFeatureImageType >::LaplacianSegmentationLevelSetFunction(), itk::NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType, TInputImage::ImageDimension > >::SetPropagationScaling(), itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::SetPropagationScaling(), itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >::ShapeDetectionLevelSetFunction(), itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ThresholdSegmentationLevelSetFunction(), and itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorThresholdSegmentationLevelSetFunction().

template<typename TImageType >
void itk::LevelSetFunction< TImageType >::SetUseMinimalCurvature ( bool  b)
inline
template<typename TImageType >
void itk::LevelSetFunction< TImageType >::UseMinimalCurvatureOff ( )
inline
template<typename TImageType >
void itk::LevelSetFunction< TImageType >::UseMinimalCurvatureOn ( )
inline

Member Data Documentation

template<typename TImageType >
const unsigned int itk::LevelSetFunction< TImageType >::ImageDimension = Superclass::ImageDimension
static

Extract some parameters from the superclass.

Definition at line 83 of file itkLevelSetFunction.h.

template<typename TImageType >
ScalarValueType itk::LevelSetFunction< TImageType >::m_AdvectionWeight
protected
template<typename TImageType >
OffsetValueType itk::LevelSetFunction< TImageType >::m_Center
protected

The offset of the center pixel in the neighborhood.

Definition at line 320 of file itkLevelSetFunction.h.

template<typename TImageType >
ScalarValueType itk::LevelSetFunction< TImageType >::m_CurvatureWeight
protected
template<typename TImageType >
double itk::LevelSetFunction< TImageType >::m_DT
staticprotected
template<typename TImageType >
ScalarValueType itk::LevelSetFunction< TImageType >::m_EpsilonMagnitude
protected

Epsilon magnitude controls the lower limit for gradient magnitude.

Definition at line 335 of file itkLevelSetFunction.h.

Referenced by itk::LevelSetFunction< TImageType >::GetEpsilonMagnitude(), and itk::LevelSetFunction< TImageType >::SetEpsilonMagnitude().

template<typename TImageType >
ScalarValueType itk::LevelSetFunction< TImageType >::m_LaplacianSmoothingWeight
protected
template<typename TImageType >
ScalarValueType itk::LevelSetFunction< TImageType >::m_PropagationWeight
protected
template<typename TImageType >
bool itk::LevelSetFunction< TImageType >::m_UseMinimalCurvature
protected
template<typename TImageType >
double itk::LevelSetFunction< TImageType >::m_WaveDT
staticprotected
template<typename TImageType >
OffsetValueType itk::LevelSetFunction< TImageType >::m_xStride[itkGetStaticConstMacro(ImageDimension)]
protected

Stride length along the y-dimension.

Definition at line 323 of file itkLevelSetFunction.h.

template<typename TImageType >
VectorType itk::LevelSetFunction< TImageType >::m_ZeroVectorConstant
staticprotected

Zero vector constant.

Definition at line 332 of file itkLevelSetFunction.h.

Referenced by itk::LevelSetFunction< TImageType >::AdvectionField().

template<typename TImageType >
std::slice itk::LevelSetFunction< TImageType >::x_slice[itkGetStaticConstMacro(ImageDimension)]
protected

Slices for the ND neighborhood.

Definition at line 317 of file itkLevelSetFunction.h.


The documentation for this class was generated from the following file: