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

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

#include <itkSegmentationLevelSetFunction.h>

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

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

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class TImageType, class TFeatureImageType = TImageType>
class itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >

This object defines the API for a class of function objects which perform level set based segmentations. The SegmentationLevelSetImageFilter objects use these SegmentationLevelSetFunction objects to perform the numerical calculations which move a level set front to lock onto image features.
In order to create a working function object, you must subclass the CalculateSpeedImage method to produce a "feature image" that is used by the parent LevelSetFunction class as the PropagationSpeed for its calculations.
See also:
SegmentationLevelSetImageFilter

LevelSetFunction

Definition at line 45 of file itkSegmentationLevelSetFunction.h.

Public Types

typedef SmartPointer< const
Self
ConstPointer
typedef InterpolatorType::ContinuousIndexType ContinuousIndexType
typedef ZeroFluxNeumannBoundaryCondition<
ImageType
DefaultBoundaryConditionType
typedef TFeatureImageType FeatureImageType
typedef FeatureImageType::PixelType FeatureScalarType
typedef Superclass::FloatOffsetType FloatOffsetType
typedef Superclass::GlobalDataStruct GlobalDataStruct
typedef Superclass::ImageType ImageType
typedef ImageType::IndexType IndexType
typedef LinearInterpolateImageFunction<
ImageType
InterpolatorType
typedef Superclass::NeighborhoodType NeighborhoodType
typedef double PixelRealType
typedef Superclass::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef Superclass::RadiusType RadiusType
typedef Superclass::ScalarValueType ScalarValueType
typedef SegmentationLevelSetFunction Self
typedef LevelSetFunction<
TImageType
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 ScalarValueType ComputeCurvatureTerm (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd=0)
virtual TimeStepType ComputeGlobalTimeStep (void *GlobalData) const
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))
virtual Pointer CreateAnother () const
virtual ScalarValueType CurvatureSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
virtual void Delete ()
Get Set the image used as
the advection field in the
level set equation *virtual
VectorImageType
GetAdvectionImage () const
ScalarValueType GetAdvectionWeight () const
ScalarValueType GetCurvatureWeight () const
ScalarValueType GetEpsilonMagnitude () const
Set Get the image which will
be used to calculate the speed
function *virtual const FeatureImageType
GetFeatureImage () const
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
*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
*virtual void * 
GetGlobalDataPointer () const
ScalarValueType GetLaplacianSmoothingWeight () const
virtual const char * GetNameOfClass () const
ScalarValueType GetPropagationWeight () const
const RadiusTypeGetRadius () const
virtual int GetReferenceCount () const
Get Set the image used as
the speed function in the
level set equation *virtual
ImageType
GetSpeedImage ()
bool GetUseMinimalCurvature () const
virtual void Initialize (const RadiusType &r)
virtual void InitializeIteration ()
 itkStaticConstMacro (ImageDimension, unsigned int, ImageType::ImageDimension)
 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 SetAdvectionImage (VectorImageType *s)
Alpha Scales all advection
term values *virtual void 
SetAdvectionWeight (const ScalarValueType a)
Gamma Scales all curvature
weight values *virtual void 
SetCurvatureWeight (const ScalarValueType c)
Epsilon *void SetEpsilonMagnitude (const ScalarValueType e)
virtual void SetFeatureImage (const FeatureImageType *f)
Weight of the laplacian smoothing
term *void 
SetLaplacianSmoothingWeight (const ScalarValueType c)
Beta Scales all propagation
term values *virtual void 
SetPropagationWeight (const ScalarValueType p)
void SetRadius (const RadiusType &r)
virtual void SetReferenceCount (int)
Set the ScaleCoefficients
for the difference *operators
The defaults a These can be
set to take the image *spacing
into account *void 
SetScaleCoefficients (PixelRealType vals[ImageDimension])
void SetSpeedImage (ImageType *s)
*void SetUseMinimalCurvature (bool b)
virtual void UnRegister () const
void UseMinimalCurvatureOff ()
void UseMinimalCurvatureOn ()

Static Public Member Functions

static void BreakOnError ()
static double GetMaximumCurvatureTimeStep ()
static double GetMaximumPropagationTimeStep ()
static Pointer New ()
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 but can be used to speed
up the surface evolution at
the risk of creating an unstable
solution *static void 
SetMaximumCurvatureTimeStep (double n)
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 but can be used to speed
up the surface evolution at
the risk of creating an unstable
solution *static void 
SetMaximumPropagationTimeStep (double n)

Public Attributes

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

Protected Member Functions

virtual VectorType AdvectionField (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const
void PrintSelf (std::ostream &s, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ScalarValueType PropagationSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *gd) const
 SegmentationLevelSetFunction ()
virtual ~SegmentationLevelSetFunction ()

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
ScalarValueType m_PropagationWeight
RadiusType m_Radius
int m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
PixelRealType m_ScaleCoefficients [ImageDimension]
ImageType::Pointer m_SpeedImage
bool m_UseMinimalCurvature
Functor::VectorCast< typename
VectorInterpolatorType::OutputType,
VectorType
m_VectorCast
VectorInterpolatorType::Pointer m_VectorInterpolator
::vcl_size_t m_xStride [itkGetStaticConstMacro(ImageDimension)]
Methods invoked by virtual
Print() to print information
about the object *including
superclasses.Typically not
called by the user(use Print()*instead) but used in the
hierarchical print process
to combine the *output of
several classes.*/virtual
void PrintSelf(std voi 
PrintHeader )(std::ostream &os, Indent indent) const
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 = TImageType>
typedef SmartPointer<const Self> itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::ConstPointer
 

Reimplemented from itk::LevelSetFunction< TImageType >.

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

Definition at line 53 of file itkSegmentationLevelSetFunction.h.

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

Continuous index type recognized by the interpolator

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

Definition at line 84 of file itkSegmentationLevelSetFunction.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 93 of file itkFiniteDifferenceFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef TFeatureImageType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureImageType
 

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

Definition at line 61 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef FeatureImageType::PixelType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureScalarType
 

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

Definition at line 65 of file itkSegmentationLevelSetFunction.h.

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

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

Definition at line 62 of file itkSegmentationLevelSetFunction.h.

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

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

Definition at line 68 of file itkSegmentationLevelSetFunction.h.

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

Extract some parameters from the superclass.

Reimplemented from itk::LevelSetFunction< TImageType >.

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

Definition at line 56 of file itkSegmentationLevelSetFunction.h.

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

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

Definition at line 66 of file itkSegmentationLevelSetFunction.h.

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

Define a scalar interpolator

Definition at line 78 of file itkSegmentationLevelSetFunction.h.

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

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

Definition at line 64 of file itkSegmentationLevelSetFunction.h.

template<class TImageType>
typedef double itk::FiniteDifferenceFunction< TImageType >::PixelRealType [inherited]
 

Definition at line 82 of file itkFiniteDifferenceFunction.h.

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

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.

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

Reimplemented from itk::LevelSetFunction< TImageType >.

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

Definition at line 52 of file itkSegmentationLevelSetFunction.h.

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

Neighborhood radius type

Reimplemented from itk::LevelSetFunction< TImageType >.

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

Definition at line 60 of file itkSegmentationLevelSetFunction.h.

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

Reimplemented from itk::LevelSetFunction< TImageType >.

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

Definition at line 63 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
typedef SegmentationLevelSetFunction itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Self
 

Standard class typedefs.

Reimplemented from itk::LevelSetFunction< TImageType >.

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

Definition at line 50 of file itkSegmentationLevelSetFunction.h.

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

Reimplemented from itk::LevelSetFunction< TImageType >.

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

Definition at line 51 of file itkSegmentationLevelSetFunction.h.

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

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.

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

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

Definition at line 74 of file itkSegmentationLevelSetFunction.h.

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

Define a vector interpolator

Definition at line 81 of file itkSegmentationLevelSetFunction.h.

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

The vector type that will be used in the calculations.

Reimplemented from itk::LevelSetFunction< TImageType >.

Definition at line 67 of file itkSegmentationLevelSetFunction.h.


Constructor & Destructor Documentation

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

Definition at line 166 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SegmentationLevelSetFunction  )  [inline, protected]
 

Definition at line 167 of file itkSegmentationLevelSetFunction.h.


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]
 

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]
 

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]
 

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]
 

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 121 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
virtual void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::CalculateSpeedImage  )  [inline, 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 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 >, and itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >.

Definition at line 115 of file itkSegmentationLevelSetFunction.h.

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

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

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

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.

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.

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>
Get Set the image used as the advection field in the level set equation* virtual VectorImageType* itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetAdvectionImage  )  const [inline, virtual]
 

Definition at line 100 of file itkSegmentationLevelSetFunction.h.

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

Definition at line 150 of file itkLevelSetFunction.h.

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

Definition at line 164 of file itkLevelSetFunction.h.

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

Definition at line 178 of file itkLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
Set Get the image which will be used to calculate the speed function* virtual const FeatureImageType* itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetFeatureImage  )  const [inline, virtual]
 

Definition at line 87 of file itkSegmentationLevelSetFunction.h.

template<class TImageType>
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 * 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* virtual void* itk::LevelSetFunction< TImageType >::GetGlobalDataPointer  )  const [inline, virtual, inherited]
 

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.

Implements itk::FiniteDifferenceFunction< TImageType >.

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

Definition at line 202 of file itkLevelSetFunction.h.

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

Definition at line 171 of file itkLevelSetFunction.h.

template<class TImageType>
static double itk::LevelSetFunction< TImageType >::GetMaximumCurvatureTimeStep  )  [inline, static, inherited]
 

Definition at line 272 of file itkLevelSetFunction.h.

template<class TImageType>
static double itk::LevelSetFunction< TImageType >::GetMaximumPropagationTimeStep  )  [inline, static, inherited]
 

Definition at line 286 of file itkLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
virtual const char* itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods)

Reimplemented from itk::LevelSetFunction< TImageType >.

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

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

Definition at line 157 of file itkLevelSetFunction.h.

template<class TImageType>
const RadiusType& itk::FiniteDifferenceFunction< TImageType >::GetRadius void   )  const [inline, inherited]
 

Returns the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.

Definition at line 142 of file itkFiniteDifferenceFunction.h.

virtual int itk::LightObject::GetReferenceCount  )  const [inline, virtual, inherited]
 

Gets the reference count on this object.

Definition at line 98 of file itkLightObject.h.

template<class TImageType, class TFeatureImageType = TImageType>
Get Set the image used as the speed function in the level set equation* virtual ImageType* itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetSpeedImage  )  [inline, virtual]
 

Definition at line 94 of file itkSegmentationLevelSetFunction.h.

template<class TImageType>
bool itk::LevelSetFunction< TImageType >::GetUseMinimalCurvature  )  const [inline, inherited]
 

Definition at line 250 of file itkLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
virtual void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize const RadiusType r  )  [virtual]
 

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 from itk::LevelSetFunction< TImageType >.

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 >, and itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >.

template<class TImageType>
virtual void itk::FiniteDifferenceFunction< TImageType >::InitializeIteration  )  [inline, virtual, inherited]
 

This method allows the function to set its state before each iteration of the finite difference solver (image filter) that uses it. This is a thread-safe time to manipulate the object's state.

An example of how this can be used: the Anisotropic diffusion class of FiniteDifferenceFunctions use this method to pre-calculate an average gradient magnitude across the entire image region. This value is set in the function object and used by the ComputeUpdate methods that are called at each pixel as a constant.

Reimplemented in itk::DemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::FastSymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::MeanSquareRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::NCCRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::SymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >, itk::CurvatureNDAnisotropicDiffusionFunction< TImage >, itk::GradientNDAnisotropicDiffusionFunction< TImage >, itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >, and itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >.

Definition at line 115 of file itkFiniteDifferenceFunction.h.

template<class TImageType>
static VectorType itk::LevelSetFunction< TImageType >::InitializeZeroVectorConstant  )  [static, protected, inherited]
 

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

template<class TImageType>
itk::FiniteDifferenceFunction< TImageType >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
ImageType::ImageDimension 
[inherited]
 

Save image dimension.

template<class TImageType, class TFeatureImageType = TImageType>
itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
Superclass::ImageDimension 
 

Extract some parameters from the superclass.

Reimplemented from itk::LevelSetFunction< TImageType >.

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, and itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >.

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

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.

template<class TImageType>
static Pointer itk::LevelSetFunction< TImageType >::New  )  [static, inherited]
 

Method for creation through the object factory.

Reimplemented from itk::LightObject.

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::ShapePriorSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >, itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, and itk::LevelSetFunctionWithRefitTerm< OutputImageType, SparseImageType >.

void itk::LightObject::Print std::ostream &  os,
Indent  indent = 0
const [inherited]
 

Cause the object to print itself out.

template<class TImageType>
void itk::LevelSetFunction< TImageType >::PrintSelf std::ostream &  s,
Indent  indent
const [protected, inherited]
 

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::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >, itk::LevelSetFunctionWithRefitTerm< TImageType, TSparseImageType >, itk::ShapePriorSegmentationLevelSetFunction< OutputImageType, FeatureImageType >, and itk::LevelSetFunctionWithRefitTerm< OutputImageType, SparseImageType >.

virtual void itk::LightObject::PrintTrailer std::ostream &  os,
Indent  indent
const [protected, virtual, inherited]
 

template<class TImageType, class TFeatureImageType = TImageType>
virtual ScalarValueType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::PropagationSpeed const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd
const [protected, virtual]
 

Returns the propagation speed from the precalculated speed image.

Reimplemented from itk::LevelSetFunction< TImageType >.

virtual void itk::LightObject::Register  )  const [virtual, inherited]
 

Increase the reference count (mark as used by another object).

Reimplemented in itk::Object.

template<class TImageType>
virtual void itk::LevelSetFunction< TImageType >::ReleaseGlobalDataPointer void *  GlobalData  )  const [inline, virtual, inherited]
 

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.

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

Determines whether Positive or Negative speed terms will cause surface expansion. This method flips the sign of all of the speed, advection, etc terms. By convention, filters should be written so that POSITIVE speed terms cause surface expansion. Calling this method will toggle between the standard POSITIVE EXPANSION convention and the nonstandard NEGATIVE EXPANSION convention.

IMPORTANT: When adding terms to the level-set equation through subclassing you may need to override this function so that your new terms will be properly adjusted.

template<class TImageType, class TFeatureImageType = TImageType>
void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetAdvectionImage VectorImageType s  ) 
 

template<class TImageType>
Alpha Scales all advection term values* virtual void itk::LevelSetFunction< TImageType >::SetAdvectionWeight const ScalarValueType  a  )  [inline, virtual, inherited]
 

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

Definition at line 148 of file itkLevelSetFunction.h.

template<class TImageType>
Gamma Scales all curvature weight values* virtual void itk::LevelSetFunction< TImageType >::SetCurvatureWeight const ScalarValueType  c  )  [inline, virtual, inherited]
 

Definition at line 162 of file itkLevelSetFunction.h.

template<class TImageType>
Epsilon* void itk::LevelSetFunction< TImageType >::SetEpsilonMagnitude const ScalarValueType  e  )  [inline, inherited]
 

Definition at line 176 of file itkLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
virtual void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetFeatureImage const FeatureImageType f  )  [inline, virtual]
 

Definition at line 89 of file itkSegmentationLevelSetFunction.h.

template<class TImageType>
Weight of the laplacian smoothing term* void itk::LevelSetFunction< TImageType >::SetLaplacianSmoothingWeight const ScalarValueType  c  )  [inline, inherited]
 

Definition at line 169 of file itkLevelSetFunction.h.

template<class TImageType>
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 but can be used to speed up the surface evolution at the risk of creating an unstable solution* static void itk::LevelSetFunction< TImageType >::SetMaximumCurvatureTimeStep double  n  )  [inline, static, inherited]
 

Definition at line 268 of file itkLevelSetFunction.h.

template<class TImageType>
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 but can be used to speed up the surface evolution at the risk of creating an unstable solution* static void itk::LevelSetFunction< TImageType >::SetMaximumPropagationTimeStep double  n  )  [inline, static, inherited]
 

Definition at line 282 of file itkLevelSetFunction.h.

template<class TImageType>
Beta Scales all propagation term values* virtual void itk::LevelSetFunction< TImageType >::SetPropagationWeight const ScalarValueType  p  )  [inline, virtual, inherited]
 

Definition at line 155 of file itkLevelSetFunction.h.

template<class TImageType>
void itk::FiniteDifferenceFunction< TImageType >::SetRadius const RadiusType r  )  [inline, inherited]
 

Sets the radius of the neighborhood this FiniteDifferenceFunction needs to perform its calculations.

Definition at line 137 of file itkFiniteDifferenceFunction.h.

virtual void itk::LightObject::SetReferenceCount int   )  [virtual, inherited]
 

Sets the reference count on this object. This is a dangerous method, use it with care.

Reimplemented in itk::Object.

template<class TImageType>
Set the ScaleCoefficients for the difference* operators The defaults a These can be set to take the image* spacing into account* void itk::FiniteDifferenceFunction< TImageType >::SetScaleCoefficients PixelRealType  vals[ImageDimension]  )  [inline, inherited]
 

Definition at line 148 of file itkFiniteDifferenceFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetSpeedImage ImageType s  ) 
 

template<class TImageType>
* void itk::LevelSetFunction< TImageType >::SetUseMinimalCurvature bool  b  )  [inline, inherited]
 

Definition at line 246 of file itkLevelSetFunction.h.

virtual void itk::LightObject::UnRegister  )  const [virtual, inherited]
 

Decrease the reference count (release by another object).

Reimplemented in itk::Object.

template<class TImageType>
void itk::LevelSetFunction< TImageType >::UseMinimalCurvatureOff  )  [inline, inherited]
 

Definition at line 258 of file itkLevelSetFunction.h.

template<class TImageType>
void itk::LevelSetFunction< TImageType >::UseMinimalCurvatureOn  )  [inline, inherited]
 

Definition at line 254 of file itkLevelSetFunction.h.


Member Data Documentation

template<class TImageType, class TFeatureImageType = TImageType>
VectorImageType::Pointer itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_AdvectionImage [protected]
 

The image holding the advection field for front propation

Definition at line 151 of file itkSegmentationLevelSetFunction.h.

template<class TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::m_AdvectionWeight [protected, inherited]
 

Alpha.

Definition at line 330 of file itkLevelSetFunction.h.

template<class TImageType>
:: vcl_size_t itk::LevelSetFunction< TImageType >::m_Center [protected, inherited]
 

The offset of the center pixel in the neighborhood.

Definition at line 312 of file itkLevelSetFunction.h.

template<class TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::m_CurvatureWeight [protected, inherited]
 

Gamma.

Definition at line 336 of file itkLevelSetFunction.h.

template<class TImageType>
double itk::LevelSetFunction< TImageType >::m_DT [static, protected, inherited]
 

Definition at line 306 of file itkLevelSetFunction.h.

template<class TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::m_EpsilonMagnitude [protected, inherited]
 

Epsilon magnitude controls the lower limit for gradient magnitude.

Definition at line 327 of file itkLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
FeatureImageType::ConstPointer itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_FeatureImage [protected]
 

The image whose features will be used to create a speed image

Definition at line 145 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
InterpolatorType::Pointer itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Interpolator [protected]
 

Definition at line 175 of file itkSegmentationLevelSetFunction.h.

template<class TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::m_LaplacianSmoothingWeight [protected, inherited]
 

Laplacean smoothing term

Definition at line 339 of file itkLevelSetFunction.h.

template<class TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::m_PropagationWeight [protected, inherited]
 

Beta.

Definition at line 333 of file itkLevelSetFunction.h.

template<class TImageType>
RadiusType itk::FiniteDifferenceFunction< TImageType >::m_Radius [protected, inherited]
 

Definition at line 194 of file itkFiniteDifferenceFunction.h.

int itk::LightObject::m_ReferenceCount [mutable, protected, inherited]
 

Number of uses of this object by other objects.

Definition at line 119 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock [mutable, protected, inherited]
 

Mutex lock to protect modification to the reference count

Definition at line 122 of file itkLightObject.h.

template<class TImageType>
PixelRealType itk::FiniteDifferenceFunction< TImageType >::m_ScaleCoefficients[ImageDimension] [protected, inherited]
 

Definition at line 195 of file itkFiniteDifferenceFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
ImageType::Pointer itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_SpeedImage [protected]
 

The image holding the speed values for front propagation

Definition at line 148 of file itkSegmentationLevelSetFunction.h.

template<class TImageType>
bool itk::LevelSetFunction< TImageType >::m_UseMinimalCurvature [protected, inherited]
 

Definition at line 317 of file itkLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
Functor::VectorCast< typename VectorInterpolatorType::OutputType, VectorType > itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_VectorCast [protected]
 

A casting functor to convert between vector types.

Definition at line 155 of file itkSegmentationLevelSetFunction.h.

template<class TImageType, class TFeatureImageType = TImageType>
VectorInterpolatorType::Pointer itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_VectorInterpolator [protected]
 

Definition at line 176 of file itkSegmentationLevelSetFunction.h.

template<class TImageType>
double itk::LevelSetFunction< TImageType >::m_WaveDT [static, protected, inherited]
 

Constants used in the time step calculation.

Definition at line 305 of file itkLevelSetFunction.h.

template<class TImageType>
:: vcl_size_t itk::LevelSetFunction< TImageType >::m_xStride[itkGetStaticConstMacro(ImageDimension)] [protected, inherited]
 

Stride length along the y-dimension.

Definition at line 315 of file itkLevelSetFunction.h.

template<class TImageType>
VectorType itk::LevelSetFunction< TImageType >::m_ZeroVectorConstant [static, protected, inherited]
 

Zero vector constant.

Definition at line 324 of file itkLevelSetFunction.h.

template<class TImageType>
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 itk::LevelSetFunction< TImageType >::necessary [inherited]
 

Definition at line 280 of file itkLevelSetFunction.h.

template<class TImageType>
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 itk::LevelSetFunction< TImageType >::necessary [inherited]
 

Definition at line 266 of file itkLevelSetFunction.h.

Methods invoked by virtual Print () to print information about the object * including superclasses. Typically not called by the user (use Print() * instead) but used in the hierarchical print process to combine the * output of several classes. */ virtual void PrintSelf(std voi itk::LightObject::PrintHeader)(std::ostream &os, Indent indent) const [protected, inherited]
 

template<class TImageType>
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 itk::LevelSetFunction< TImageType >::step [inherited]
 

Definition at line 197 of file itkLevelSetFunction.h.

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

Slices for the ND neighborhood.

Definition at line 309 of file itkLevelSetFunction.h.


The documentation for this class was generated from the following file:
Generated at Sun Jul 9 21:22:44 2006 for ITK by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2000