Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType > Class Template Reference

#include <itkVectorThresholdSegmentationLevelSetFunction.h>

Inheritance diagram for itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >:

Inheritance graph
[legend]
Collaboration diagram for itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class TImageType, class TFeatureImageType>
class itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >

This function is used in VectorThresholdSegmentationLevelSetImageFilter to segment structures in images based on the Mahalanobis distance.

CREDITS
This class was contributed to ITK by Stefan Lindenau http://www.itk.org/pipermail/insight-users/2003-December/005969.html
SegmentationLevelSetFunction is a subclass of the generic LevelSetFunction.
It useful for segmentations based on intensity values in an image. It works by constructing a speed term (feature image) with positive values inside an intensity window (between a low and high threshold) and negative values outside that intensity window. The evolving level set front will lock onto regions that are at the edges of the intensity window.
Image $ f(x) $ is thresholded pixel by pixel using threshold $T$ according to the following formula.

\[ f(x) = T - MahalanobisDistance(x) \]

See also:
SegmentationLevelSetImageFunction

ThresholdSegmentationLevelSetImageFilter

MahalanobisDistanceMembershipFunction

Definition at line 55 of file itkVectorThresholdSegmentationLevelSetFunction.h.

Public Types

typedef SmartPointer< const
Self
ConstPointer
typedef InterpolatorType::ContinuousIndexType ContinuousIndexType
typedef MahalanobisFunctionType::CovarianceMatrixType CovarianceMatrixType
typedef ZeroFluxNeumannBoundaryCondition<
ImageType
DefaultBoundaryConditionType
typedef FeatureImageType::PixelType FeatureImagePixelType
typedef TFeatureImageType FeatureImageType
typedef Superclass::FeatureScalarType FeatureScalarType
typedef Superclass::FloatOffsetType FloatOffsetType
typedef Superclass::GlobalDataStruct GlobalDataStruct
typedef Superclass::ImageType ImageType
typedef ImageType::IndexType IndexType
typedef LinearInterpolateImageFunction<
ImageType
InterpolatorType
typedef MahalanobisFunctionType::Pointer MahalanobisFunctionPointer
typedef Statistics::MahalanobisDistanceMembershipFunction<
FeatureScalarType
MahalanobisFunctionType
typedef MahalanobisFunctionType::MeanVectorType MeanVectorType
typedef Superclass::NeighborhoodScalesType NeighborhoodScalesType
typedef Superclass::NeighborhoodType NeighborhoodType
typedef Superclass::PixelRealType PixelRealType
typedef Superclass::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef Superclass::RadiusType RadiusType
typedef Superclass::ScalarValueType ScalarValueType
typedef VectorThresholdSegmentationLevelSetFunction Self
typedef SegmentationLevelSetFunction<
TImageType, TFeatureImageType > 
Superclass
typedef double TimeStepType
typedef Image< VectorType,
itkGetStaticConstMacro(ImageDimension)> 
VectorImageType
typedef VectorLinearInterpolateImageFunction<
VectorImageType
VectorInterpolatorType
typedef Superclass::VectorType VectorType

Public Member Functions

virtual void AllocateAdvectionImage ()
virtual void AllocateSpeedImage ()
virtual void CalculateAdvectionImage ()
virtual void CalculateSpeedImage ()
virtual ScalarValueType Compute3DMinimalCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0)
virtual TimeStepType ComputeGlobalTimeStep (void *GlobalData) const
virtual ScalarValueType ComputeMinimalCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0)
const NeighborhoodScalesType ComputeNeighborhoodScales () const
virtual PixelType ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &=FloatOffsetType(0.0))
virtual Pointer CreateAnother () const
virtual ScalarValueType CurvatureSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
virtual void Delete ()
const CovarianceMatrixTypeGetCovariance () const
virtual const char * GetNameOfClass () const
const RadiusTypeGetRadius () const
virtual int GetReferenceCount () const
ScalarValueType GetThreshold ()
virtual void Initialize (const RadiusType &r)
virtual void Initialize (const RadiusType &r)
virtual void InitializeIteration ()
 itkStaticConstMacro (ImageDimension, unsigned int, ImageType::ImageDimension)
 itkStaticConstMacro (NumberOfComponents, unsigned int, FeatureImagePixelType::Dimension)
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
virtual ScalarValueType LaplacianSmoothingSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
void Print (std::ostream &os, Indent indent=0) const
virtual void Register () const
virtual void ReleaseGlobalDataPointer (void *GlobalData) const
virtual void ReverseExpansionDirection ()
void SetCovariance (const CovarianceMatrixType &cov)
void SetRadius (const RadiusType &r)
virtual void SetReferenceCount (int)
void SetThreshold (ScalarValueType thr)
virtual void UnRegister () const
virtual ScalarValueType ComputeCurvatureTerm (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0)
virtual ScalarValueType ComputeMeanCurvature (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0)
virtual VectorImageTypeGetAdvectionImage () const
void SetAdvectionImage (VectorImageType *s)
ScalarValueType GetAdvectionWeight () const
virtual void SetAdvectionWeight (const ScalarValueType a)
ScalarValueType GetCurvatureWeight () const
virtual void SetCurvatureWeight (const ScalarValueType c)
ScalarValueType GetEpsilonMagnitude () const
void SetEpsilonMagnitude (const ScalarValueType e)
virtual const FeatureImageTypeGetFeatureImage () const
virtual void SetFeatureImage (const FeatureImageType *f)
virtual void * GetGlobalDataPointer () const
ScalarValueType GetLaplacianSmoothingWeight () const
void SetLaplacianSmoothingWeight (const ScalarValueType c)
const MeanVectorTypeGetMean () const
void SetMean (const MeanVectorType &mean)
ScalarValueType GetPropagationWeight () const
virtual void SetPropagationWeight (const ScalarValueType p)
virtual ImageTypeGetSpeedImage ()
void SetSpeedImage (ImageType *s)
bool GetUseMinimalCurvature () const
void SetUseMinimalCurvature (bool b)
void UseMinimalCurvatureOff ()
void UseMinimalCurvatureOn ()
void SetScaleCoefficients (PixelRealType vals[ImageDimension])

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()
static double GetMaximumCurvatureTimeStep ()
static void SetMaximumCurvatureTimeStep (double n)
static double GetMaximumPropagationTimeStep ()
static void SetMaximumPropagationTimeStep (double n)

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

virtual VectorType AdvectionField (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const
void operator= (const Self &)
void PrintSelf (std::ostream &os, Indent indent) const
virtual ScalarValueType PropagationSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const
 VectorThresholdSegmentationLevelSetFunction (const Self &)
 VectorThresholdSegmentationLevelSetFunction ()
virtual ~VectorThresholdSegmentationLevelSetFunction ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Static Protected Member Functions

static VectorType InitializeZeroVectorConstant ()

Protected Attributes

VectorImageType::Pointer m_AdvectionImage
ScalarValueType m_AdvectionWeight
::vcl_size_t m_Center
ScalarValueType m_CurvatureWeight
ScalarValueType m_EpsilonMagnitude
FeatureImageType::ConstPointer m_FeatureImage
InterpolatorType::Pointer m_Interpolator
ScalarValueType m_LaplacianSmoothingWeight
MahalanobisFunctionPointer m_Mahalanobis
ScalarValueType m_PropagationWeight
RadiusType m_Radius
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
PixelRealType m_ScaleCoefficients [ImageDimension]
ImageType::Pointer m_SpeedImage
ScalarValueType m_Threshold
bool m_UseMinimalCurvature
Functor::VectorCast< typename
VectorInterpolatorType::OutputType,
VectorType
m_VectorCast
VectorInterpolatorType::Pointer m_VectorInterpolator
::vcl_size_t m_xStride [itkGetStaticConstMacro(ImageDimension)]
std::slice x_slice [itkGetStaticConstMacro(ImageDimension)]

Static Protected Attributes

static double m_DT
static double m_WaveDT
static VectorType m_ZeroVectorConstant


Member Typedef Documentation

template<class TImageType, class TFeatureImageType>
typedef SmartPointer<const Self> itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ConstPointer

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

Definition at line 63 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef InterpolatorType::ContinuousIndexType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::ContinuousIndexType [inherited]

Continuous index type recognized by the interpolator

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

Definition at line 85 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef MahalanobisFunctionType::CovarianceMatrixType itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::CovarianceMatrixType

Definition at line 93 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType>
typedef ZeroFluxNeumannBoundaryCondition<ImageType> itk::FiniteDifferenceFunction< TImageType >::DefaultBoundaryConditionType [inherited]

The default boundary condition for finite difference functions that is used unless overridden in the Evaluate() method.

Definition at line 92 of file itkFiniteDifferenceFunction.h.

template<class TImageType, class TFeatureImageType>
typedef FeatureImageType::PixelType itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureImagePixelType

Extract the number of components in the vector pixel type .

Definition at line 85 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef TFeatureImageType itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureImageType

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

Definition at line 64 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef Superclass::FeatureScalarType itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureScalarType

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

Definition at line 77 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef Superclass::FloatOffsetType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::FloatOffsetType [inherited]

A floating point offset from an image grid location. Used for interpolation among grid values in a neighborhood.

Reimplemented from itk::LevelSetFunction< TImageType >.

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

Definition at line 63 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef Superclass::GlobalDataStruct itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::GlobalDataStruct [inherited]

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

Definition at line 69 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef Superclass::ImageType itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ImageType

Extract some parameters from the superclass.

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

Definition at line 72 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef ImageType::IndexType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::IndexType [inherited]

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

Definition at line 67 of file itkSegmentationLevelSetFunction.h.

typedef int itk::LightObject::InternalReferenceCountType [protected, inherited]

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 139 of file itkLightObject.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef LinearInterpolateImageFunction<ImageType> itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::InterpolatorType [inherited]

Define a scalar interpolator

Definition at line 79 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef MahalanobisFunctionType::Pointer itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::MahalanobisFunctionPointer

Definition at line 91 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef Statistics::MahalanobisDistanceMembershipFunction<FeatureScalarType> itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::MahalanobisFunctionType

Definition at line 90 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef MahalanobisFunctionType::MeanVectorType itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::MeanVectorType

Definition at line 92 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType>
typedef Superclass::NeighborhoodScalesType itk::LevelSetFunction< TImageType >::NeighborhoodScalesType [inherited]

The type of data structure that holds the scales with which the neighborhood is weighted to properly account for spacing and neighborhood radius.

Reimplemented from itk::FiniteDifferenceFunction< TImageType >.

Reimplemented in itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >.

Definition at line 91 of file itkLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef Superclass::NeighborhoodType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::NeighborhoodType [inherited]

The type of data structure that is passed to this function object to evaluate at a pixel that does not lie on a data set boundary.

Reimplemented from itk::LevelSetFunction< TImageType >.

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

Definition at line 65 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef Superclass::PixelRealType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::PixelRealType [inherited]

Reimplemented from itk::LevelSetFunction< TImageType >.

Definition at line 61 of file itkSegmentationLevelSetFunction.h.

template<class TImageType>
typedef Superclass::PixelType itk::LevelSetFunction< TImageType >::PixelType [inherited]

Reimplemented from itk::FiniteDifferenceFunction< TImageType >.

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

Definition at line 86 of file itkLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef SmartPointer<Self> itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Pointer

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

Definition at line 62 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef Superclass::RadiusType itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::RadiusType

Neighborhood radius type

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

Definition at line 78 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef Superclass::ScalarValueType itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ScalarValueType

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

Definition at line 76 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef VectorThresholdSegmentationLevelSetFunction itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Self

Standard class typedefs.

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

Definition at line 60 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
typedef SegmentationLevelSetFunction<TImageType, TFeatureImageType> itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Superclass

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

Definition at line 61 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType>
typedef double itk::LevelSetFunction< TImageType >::TimeStepType [inherited]

Convenient typedefs.

Reimplemented from itk::FiniteDifferenceFunction< TImageType >.

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

Definition at line 84 of file itkLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef Image<VectorType, itkGetStaticConstMacro(ImageDimension)> itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorImageType [inherited]

Define an image type for the advection field.

Reimplemented in itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >.

Definition at line 75 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef VectorLinearInterpolateImageFunction<VectorImageType> itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorInterpolatorType [inherited]

Define a vector interpolator

Definition at line 82 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef Superclass::VectorType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorType [inherited]

The vector type that will be used in the calculations.

Reimplemented from itk::LevelSetFunction< TImageType >.

Definition at line 68 of file itkSegmentationLevelSetFunction.h.


Constructor & Destructor Documentation

template<class TImageType, class TFeatureImageType>
itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorThresholdSegmentationLevelSetFunction (  )  [inline, protected]

Definition at line 134 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
virtual itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::~VectorThresholdSegmentationLevelSetFunction (  )  [inline, protected, virtual]

Definition at line 151 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorThresholdSegmentationLevelSetFunction ( const Self  )  [protected]


Member Function Documentation

template<class TImageType, class TFeatureImageType = TImageType>
virtual VectorType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::AdvectionField ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd 
) const [protected, virtual, inherited]

Advection field. Returns a vector from the computed advectionfield.

Reimplemented from itk::LevelSetFunction< TImageType >.

template<class TImageType, class TFeatureImageType = TImageType>
virtual void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::AllocateAdvectionImage (  )  [virtual, inherited]

Allocates the image that will be used for the level set function's Advection field term. See LevelSetFunction for more information.

template<class TImageType, class TFeatureImageType = TImageType>
virtual void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::AllocateSpeedImage (  )  [virtual, inherited]

Allocates the image that will be used for the level set function's Propagation Speed term. See LevelSetFunction for more information.

static void itk::LightObject::BreakOnError (  )  [static, inherited]

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

template<class TImageType, class TFeatureImageType = TImageType>
virtual void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::CalculateAdvectionImage (  )  [inline, virtual, inherited]

This method must be defined in a subclass to implement a working function object. This method is called before the solver begins its work to produce the speed image used as the level set function's Advection field term. See LevelSetFunction for more information.

Reimplemented in itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, and itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >.

Definition at line 122 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
virtual void itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::CalculateSpeedImage (  )  [virtual]

This method must be defined in a subclass to implement a working function object. This method is called before the solver begins its work to produce the speed image used as the level set function's Propagation speed term. See LevelSetFunction for more information.

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

template<class TImageType>
virtual ScalarValueType itk::LevelSetFunction< TImageType >::Compute3DMinimalCurvature ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd = 0 
) [virtual, inherited]

template<class TImageType>
virtual ScalarValueType itk::LevelSetFunction< TImageType >::ComputeCurvatureTerm ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd = 0 
) [virtual, inherited]

template<class TImageType>
virtual TimeStepType itk::LevelSetFunction< TImageType >::ComputeGlobalTimeStep ( void *  GlobalData  )  const [virtual, inherited]

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

template<class TImageType>
virtual ScalarValueType itk::LevelSetFunction< TImageType >::ComputeMeanCurvature ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd = 0 
) [virtual, inherited]

template<class TImageType>
virtual ScalarValueType itk::LevelSetFunction< TImageType >::ComputeMinimalCurvature ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd = 0 
) [virtual, inherited]

template<class TImageType>
const NeighborhoodScalesType itk::FiniteDifferenceFunction< TImageType >::ComputeNeighborhoodScales (  )  const [inherited]

Compute the scales that weight the neighborhood during difference operations to properly account for spacing and neighborhood radius

template<class TImageType>
virtual PixelType itk::LevelSetFunction< TImageType >::ComputeUpdate ( const NeighborhoodType neighborhood,
void *  globalData,
const FloatOffsetType = FloatOffsetType(0.0) 
) [virtual, inherited]

Compute the equation value.

Implements itk::FiniteDifferenceFunction< TImageType >.

virtual Pointer itk::LightObject::CreateAnother (  )  const [virtual, inherited]

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 in itk::Object.

template<class TImageType>
virtual ScalarValueType itk::LevelSetFunction< TImageType >::CurvatureSpeed ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct = 0 
) const [inline, virtual, inherited]

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

Definition at line 137 of file itkLevelSetFunction.h.

virtual void itk::LightObject::Delete (  )  [virtual, inherited]

Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

template<class TImageType, class TFeatureImageType = TImageType>
virtual VectorImageType* itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetAdvectionImage (  )  const [inline, virtual, inherited]

Get/Set the image used as the advection field in the level set equation

Definition at line 101 of file itkSegmentationLevelSetFunction.h.

template<class TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::GetAdvectionWeight (  )  const [inline, inherited]

Definition at line 152 of file itkLevelSetFunction.h.

template<class TImageType, class TFeatureImageType>
const CovarianceMatrixType& itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetCovariance (  )  const [inline]

Definition at line 105 of file itkVectorThresholdSegmentationLevelSetFunction.h.

template<class TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::GetCurvatureWeight (  )  const [inline, inherited]

Definition at line 166 of file itkLevelSetFunction.h.

template<class TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::GetEpsilonMagnitude (  )  const [inline, inherited]

Definition at line 180 of file itkLevelSetFunction.h.