Orfeo Toolbox  4.2
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType > Class Template Reference

This function is used in ThresholdSegmentationLevelSetImageFilter to segment structures in images based on intensity values. More...

#include <itkThresholdSegmentationLevelSetFunction.h>

+ Inheritance diagram for itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >:
+ Collaboration diagram for itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >:

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
InterpolatorType::ContinuousIndexType 
ContinuousIndexType
 
typedef
ZeroFluxNeumannBoundaryCondition
< ImageType
DefaultBoundaryConditionType
 
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
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
ThresholdSegmentationLevelSetFunction 
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 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)
 
const NeighborhoodScalesType ComputeNeighborhoodScales () const
 
virtual PixelType ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &=FloatOffsetType(0.0))
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual ScalarValueType CurvatureSpeed (const NeighborhoodType &, const FloatOffsetType &, GlobalDataStruct *=0) const
 
virtual void Delete ()
 
virtual VectorImageTypeGetAdvectionImage () const
 
ScalarValueType GetAdvectionWeight () const
 
ScalarValueType GetCurvatureWeight () const
 
ScalarValueType GetEdgeWeight () const
 
ScalarValueType GetEpsilonMagnitude () const
 
virtual const FeatureImageTypeGetFeatureImage () const
 
virtual void * GetGlobalDataPointer () const
 
ScalarValueType GetLaplacianSmoothingWeight () const
 
FeatureScalarType GetLowerThreshold () const
 
virtual const char * GetNameOfClass () const
 
ScalarValueType GetPropagationWeight () const
 
const RadiusTypeGetRadius () const
 
virtual int GetReferenceCount () const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
ScalarValueType GetSmoothingConductance () const
 
int GetSmoothingIterations () const
 
ScalarValueType GetSmoothingTimeStep () const
 
virtual ImageTypeGetSpeedImage ()
 
FeatureScalarType GetUpperThreshold () const
 
bool GetUseMinimalCurvature () const
 
virtual void Initialize (const RadiusType &r)
 
virtual void InitializeIteration ()
 
 itkCloneMacro (Self)
 
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)
 
virtual void SetAdvectionWeight (const ScalarValueType a)
 
virtual void SetCurvatureWeight (const ScalarValueType c)
 
void SetEdgeWeight (const ScalarValueType p)
 
void SetEpsilonMagnitude (const ScalarValueType e)
 
virtual void SetFeatureImage (const FeatureImageType *f)
 
void SetLaplacianSmoothingWeight (const ScalarValueType c)
 
void SetLowerThreshold (FeatureScalarType f)
 
virtual void SetPropagationWeight (const ScalarValueType p)
 
void SetRadius (const RadiusType &r)
 
virtual void SetReferenceCount (int)
 
void SetScaleCoefficients (PixelRealType vals[ImageDimension])
 
void SetSmoothingConductance (const ScalarValueType p)
 
void SetSmoothingIterations (const int p)
 
void SetSmoothingTimeStep (const ScalarValueType i)
 
void SetSpeedImage (ImageType *s)
 
void SetUpperThreshold (FeatureScalarType f)
 
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 ()
 
static void SetMaximumCurvatureTimeStep (double n)
 
static void SetMaximumPropagationTimeStep (double n)
 

Static Public Attributes

static const unsigned int ImageDimension = Superclass::ImageDimension
 

Protected Types

typedef int InternalReferenceCountType
 

Protected Member Functions

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

Static Protected Member Functions

static VectorType InitializeZeroVectorConstant ()
 

Protected Attributes

VectorImageType::Pointer m_AdvectionImage
 
ScalarValueType m_AdvectionWeight
 
OffsetValueType m_Center
 
ScalarValueType m_CurvatureWeight
 
ScalarValueType m_EdgeWeight
 
ScalarValueType m_EpsilonMagnitude
 
FeatureImageType::ConstPointer m_FeatureImage
 
InterpolatorType::Pointer m_Interpolator
 
ScalarValueType m_LaplacianSmoothingWeight
 
FeatureScalarType m_LowerThreshold
 
ScalarValueType m_PropagationWeight
 
RadiusType m_Radius
 
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 
ScalarValueType m_SmoothingConductance
 
int m_SmoothingIterations
 
ScalarValueType m_SmoothingTimeStep
 
ImageType::Pointer m_SpeedImage
 
FeatureScalarType m_UpperThreshold
 
bool m_UseMinimalCurvature
 
Functor::VectorCast< typename
VectorInterpolatorType::OutputType,
VectorType
m_VectorCast
 
VectorInterpolatorType::Pointer m_VectorInterpolator
 
OffsetValueType m_xStride [itkGetStaticConstMacro(ImageDimension)]
 
std::slice x_slice [itkGetStaticConstMacro(ImageDimension)]
 

Static Protected Attributes

static double m_DT = 1.0 / ( 2.0 * ImageDimension )
 
static double m_WaveDT = 1.0 / ( 2.0 * ImageDimension )
 
static VectorType m_ZeroVectorConstant
 

Detailed Description

template<typename TImageType, typename TFeatureImageType = TImageType>
class itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >

This function is used in ThresholdSegmentationLevelSetImageFilter to segment structures in images based on intensity values.

SegmentationLevelSetFunction is a subclass of the generic LevelSetFunction.
It is 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.

You may optionally add a Laplacian calculation on the image to the threshold-based speed term by setting the EdgeWeight parameter to a non-zero value. The Laplacian term will cause the evolving surface to be more strongly attracted to image edges. Several parameters control a preprocessing FeatureImage smoothing stage applied only to the Laplacian calculation.

Image $ f $ is thresholded pixel by pixel using upper threshold $ U $ and lower threshold $ L $ according to the following formula.
$ f(x) = \left\{ \begin{array}{ll} g(x) - L & \mbox{if $(g)x < (U-L)/2 + L$} \\ U - g(x) & \mbox{otherwise} \end{array} \right. $
See Also
SegmentationLevelSetImageFunction
ThresholdSegmentationLevelSetImageFilter

Definition at line 56 of file itkThresholdSegmentationLevelSetFunction.h.

Member Typedef Documentation

template<typename TImageType , typename TFeatureImageType = TImageType>
typedef SmartPointer< const Self > itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ConstPointer

Definition at line 65 of file itkThresholdSegmentationLevelSetFunction.h.

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

Continuous index type recognized by the interpolator

Definition at line 86 of file itkSegmentationLevelSetFunction.h.

template<typename 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<typename TImageType , typename TFeatureImageType = TImageType>
typedef TFeatureImageType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureImageType

Definition at line 66 of file itkThresholdSegmentationLevelSetFunction.h.

template<typename TImageType , typename TFeatureImageType = TImageType>
typedef Superclass::FeatureScalarType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::FeatureScalarType

Definition at line 77 of file itkThresholdSegmentationLevelSetFunction.h.

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

Definition at line 65 of file itkSegmentationLevelSetFunction.h.

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

Definition at line 71 of file itkSegmentationLevelSetFunction.h.

template<typename TImageType , typename TFeatureImageType = TImageType>
typedef Superclass::ImageType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ImageType

Extract some parameters from the superclass.

Definition at line 72 of file itkThresholdSegmentationLevelSetFunction.h.

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

Definition at line 69 of file itkSegmentationLevelSetFunction.h.

typedef int itk::LightObject::InternalReferenceCountType
protectedinherited

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

Definition at line 152 of file itkLightObject.h.

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

Define a scalar interpolator

Definition at line 80 of file itkSegmentationLevelSetFunction.h.

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

Definition at line 93 of file itkLevelSetFunction.h.

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

Definition at line 67 of file itkSegmentationLevelSetFunction.h.

template<typename TImageType, typename TFeatureImageType = TImageType>
typedef Superclass::PixelRealType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::PixelRealType
inherited

Definition at line 63 of file itkSegmentationLevelSetFunction.h.

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

Definition at line 88 of file itkLevelSetFunction.h.

template<typename TImageType , typename TFeatureImageType = TImageType>
typedef SmartPointer< Self > itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Pointer

Definition at line 64 of file itkThresholdSegmentationLevelSetFunction.h.

template<typename TImageType , typename TFeatureImageType = TImageType>
typedef Superclass::RadiusType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::RadiusType

Definition at line 78 of file itkThresholdSegmentationLevelSetFunction.h.

template<typename TImageType , typename TFeatureImageType = TImageType>
typedef Superclass::ScalarValueType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ScalarValueType

Definition at line 76 of file itkThresholdSegmentationLevelSetFunction.h.

template<typename TImageType , typename TFeatureImageType = TImageType>
typedef ThresholdSegmentationLevelSetFunction itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Self

Standard class typedefs.

Definition at line 61 of file itkThresholdSegmentationLevelSetFunction.h.

template<typename TImageType , typename TFeatureImageType = TImageType>
typedef SegmentationLevelSetFunction< TImageType, TFeatureImageType > itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Superclass

Definition at line 63 of file itkThresholdSegmentationLevelSetFunction.h.

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

Convenient typedefs.

Definition at line 86 of file itkLevelSetFunction.h.

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

Define an image type for the advection field.

Definition at line 77 of file itkSegmentationLevelSetFunction.h.

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

Define a vector interpolator

Definition at line 83 of file itkSegmentationLevelSetFunction.h.

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

Definition at line 70 of file itkSegmentationLevelSetFunction.h.

Constructor & Destructor Documentation

template<typename TImageType , typename TFeatureImageType = TImageType>
itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ThresholdSegmentationLevelSetFunction ( )
inlineprotected
template<typename TImageType , typename TFeatureImageType = TImageType>
virtual itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::~ThresholdSegmentationLevelSetFunction ( )
inlineprotectedvirtual

Definition at line 170 of file itkThresholdSegmentationLevelSetFunction.h.

template<typename TImageType , typename TFeatureImageType = TImageType>
itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ThresholdSegmentationLevelSetFunction ( const Self )
protected

Member Function Documentation

template<typename TImageType , typename TFeatureImageType >
SegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::AdvectionField ( const NeighborhoodType neighborhood,
const FloatOffsetType offset,
GlobalDataStruct gd 
) const
protectedvirtualinherited

Advection field. Returns a vector from the computed advectionfield.

Reimplemented from itk::LevelSetFunction< TImageType >.

Definition at line 104 of file itkSegmentationLevelSetFunction.hxx.

References itk::ConstNeighborhoodIterator< TImage, TBoundaryCondition >::GetIndex().

template<typename TImageType , typename TFeatureImageType >
void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::AllocateAdvectionImage ( )
virtualinherited

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

Definition at line 69 of file itkSegmentationLevelSetFunction.hxx.

template<typename TImageType , typename TFeatureImageType >
void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::AllocateSpeedImage ( )
virtualinherited

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

Definition at line 58 of file itkSegmentationLevelSetFunction.hxx.

void itk::LightObject::BreakOnError ( )
staticinherited

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

Definition at line 150 of file itkLightObject.cxx.

template<typename TImageType, typename TFeatureImageType = TImageType>
virtual void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::CalculateAdvectionImage ( )
inlinevirtualinherited

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::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >, itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >, itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >, and itk::CannySegmentationLevelSetFunction< TImageType, TFeatureImageType >.

Definition at line 119 of file itkSegmentationLevelSetFunction.h.

template<typename TImageType , typename TFeatureImageType >
void itk::ThresholdSegmentationLevelSetFunction< 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 >.

Definition at line 31 of file itkThresholdSegmentationLevelSetFunction.hxx.

References itk::ImageConstIterator< TImage >::Get(), itk::ImageRegionConstIterator< TImage >::GoToBegin(), itk::ImageConstIterator< TImage >::IsAtEnd(), itk::GradientAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::New(), itk::LaplacianImageFilter< TInputImage, TOutputImage >::New(), and itk::ImageRegionIterator< TImage >::Set().

template<typename TImageType >
LevelSetFunction< TImageType >::ScalarValueType itk::LevelSetFunction< TImageType >::Compute3DMinimalCurvature ( const NeighborhoodType neighborhood,
const FloatOffsetType offset,
GlobalDataStruct gd = 0 
)
virtualinherited
template<typename TImageType >
LevelSetFunction< TImageType >::ScalarValueType itk::LevelSetFunction< TImageType >::ComputeCurvatureTerm ( const NeighborhoodType neighborhood,
const FloatOffsetType offset,
GlobalDataStruct gd = 0 
)
virtualinherited

Definition at line 28 of file itkLevelSetFunction.hxx.

template<typename TImageType >
LevelSetFunction< TImageType >::TimeStepType itk::LevelSetFunction< TImageType >::ComputeGlobalTimeStep ( void *  GlobalData) const
virtualinherited

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

Definition at line 225 of file itkLevelSetFunction.hxx.

References itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxAdvectionChange, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxCurvatureChange, and itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxPropagationChange.

template<typename TImageType >
LevelSetFunction< TImageType >::ScalarValueType itk::LevelSetFunction< TImageType >::ComputeMeanCurvature ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd = 0 
)
virtualinherited
template<typename TImageType >
LevelSetFunction< TImageType >::ScalarValueType itk::LevelSetFunction< TImageType >::ComputeMinimalCurvature ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct gd = 0 
)
virtualinherited
template<typename TImageType >
const FiniteDifferenceFunction< TImageType >::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

Definition at line 84 of file itkFiniteDifferenceFunction.hxx.

References itk::FixedArray< TValue, VLength >::Fill().

template<typename TImageType >
LevelSetFunction< TImageType >::PixelType itk::LevelSetFunction< TImageType >::ComputeUpdate ( const NeighborhoodType neighborhood,
void *  globalData,
const FloatOffsetType offset = FloatOffsetType(0.0) 
)
virtualinherited
template<typename TImageType , typename TFeatureImageType = TImageType>
virtual::itk::LightObject::Pointer itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::CreateAnother ( void  ) 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::LevelSetFunction< TImageType >.

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

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.

void itk::LightObject::Delete ( )
virtualinherited

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.

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

Definition at line 91 of file itkLightObject.cxx.

template<typename TImageType, typename TFeatureImageType = TImageType>
virtual VectorImageType* itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetAdvectionImage ( ) const
inlinevirtualinherited
template<typename TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::GetAdvectionWeight ( ) const
inlineinherited
template<typename TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::GetCurvatureWeight ( ) const
inlineinherited
template<typename TImageType , typename TFeatureImageType = TImageType>
ScalarValueType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetEdgeWeight ( ) const
inline
template<typename TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::GetEpsilonMagnitude ( ) const
inlineinherited
template<typename TImageType, typename TFeatureImageType = TImageType>
virtual const FeatureImageType* itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetFeatureImage ( ) const
inlinevirtualinherited

Set/Get the image which will be used to calculate the speed function.

Definition at line 89 of file itkSegmentationLevelSetFunction.h.

References itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_FeatureImage.

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

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

References itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxAdvectionChange, itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxCurvatureChange, and itk::LevelSetFunction< TImageType >::GlobalDataStruct::m_MaxPropagationChange.

template<typename TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::GetLaplacianSmoothingWeight ( ) const
inlineinherited
template<typename TImageType , typename TFeatureImageType = TImageType>
FeatureScalarType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetLowerThreshold ( ) const
inline
template<typename TImageType>
static double itk::LevelSetFunction< TImageType >::GetMaximumCurvatureTimeStep ( )
inlinestaticinherited
template<typename TImageType>
static double itk::LevelSetFunction< TImageType >::GetMaximumPropagationTimeStep ( )
inlinestaticinherited
template<typename TImageType , typename TFeatureImageType = TImageType>
virtual const char* itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

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

template<typename TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::GetPropagationWeight ( ) const
inlineinherited
template<typename TImageType >
const FiniteDifferenceFunction< TImageType >::RadiusType & itk::FiniteDifferenceFunction< TImageType >::GetRadius ( ) const
inherited

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

Definition at line 46 of file itkFiniteDifferenceFunction.hxx.

Referenced by otb::NCCRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::GetNCCRadius().

virtual int itk::LightObject::GetReferenceCount ( ) const
inlinevirtualinherited

Gets the reference count on this object.

Definition at line 112 of file itkLightObject.h.

template<typename TImageType >
void itk::FiniteDifferenceFunction< TImageType >::GetScaleCoefficients ( PixelRealType  vals[ImageDimension]) const
inherited

Returns the current scale coefficients.

Definition at line 65 of file itkFiniteDifferenceFunction.hxx.

template<typename TImageType , typename TFeatureImageType = TImageType>
ScalarValueType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetSmoothingConductance ( ) const
inline
template<typename TImageType , typename TFeatureImageType = TImageType>
int itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetSmoothingIterations ( ) const
inline
template<typename TImageType , typename TFeatureImageType = TImageType>
ScalarValueType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetSmoothingTimeStep ( ) const
inline
template<typename TImageType, typename TFeatureImageType = TImageType>
virtual ImageType* itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetSpeedImage ( )
inlinevirtualinherited
template<typename TImageType , typename TFeatureImageType = TImageType>
FeatureScalarType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::GetUpperThreshold ( ) const
inline
template<typename TImageType>
bool itk::LevelSetFunction< TImageType >::GetUseMinimalCurvature ( ) const
inlineinherited
template<typename TImageType , typename TFeatureImageType = TImageType>
virtual void itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize ( const RadiusType r)
inlinevirtual

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::SegmentationLevelSetFunction< TImageType, TFeatureImageType >.

Definition at line 96 of file itkThresholdSegmentationLevelSetFunction.h.

References itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::Initialize(), itk::LevelSetFunction< TImageType >::SetAdvectionWeight(), itk::LevelSetFunction< TImageType >::SetCurvatureWeight(), and itk::LevelSetFunction< TImageType >::SetPropagationWeight().

template<typename TImageType>
virtual void itk::FiniteDifferenceFunction< TImageType >::InitializeIteration ( )
inlinevirtualinherited

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 AnisotropicDiffusionFunction class of FiniteDifferenceFunction 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::GPUDemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >, itk::DemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >, itk::FastSymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >, itk::LevelSetMotionRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >, itk::SymmetricForcesDemonsRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >, otb::NCCRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >, itk::MeanSquareRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField >, itk::CurvatureNDAnisotropicDiffusionFunction< TImage >, itk::GradientNDAnisotropicDiffusionFunction< TImage >, itk::GPUGradientNDAnisotropicDiffusionFunction< TImage >, itk::GPUFiniteDifferenceFunction< TImageType >, itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >, itk::GPUFiniteDifferenceFunction< TImage >, itk::GPUFiniteDifferenceFunction< TDisplacementField >, and itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >.

Definition at line 118 of file itkFiniteDifferenceFunction.h.

template<typename TImageType >
LevelSetFunction< TImageType >::VectorType itk::LevelSetFunction< TImageType >::InitializeZeroVectorConstant ( )
staticprotectedinherited

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

Definition at line 184 of file itkLevelSetFunction.hxx.

LightObject::Pointer itk::LightObject::InternalClone ( void  ) const
protectedvirtualinherited

Actual implementation of the clone method. This method should be reimplemeted in subclasses to clone the extra required parameters.

Reimplemented in itk::Transform< TScalar, NInputDimensions, NOutputDimensions >, itk::Transform< TScalar, 3, 2 >, itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >, itk::Transform< double, NInputDimensions, NOutputDimensions >, itk::Transform< TScalar, NDimensions, NDimensions >, itk::CompositeTransform< TScalar, NDimensions >, itk::JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4< TPointSet, TInternalComputationValueType >, itk::ConstantVelocityFieldTransform< TScalar, NDimensions >, itk::VelocityFieldTransform< TScalar, NDimensions >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >, itk::Statistics::UniformRandomSpatialNeighborSubsampler< TSample, TRegion >, itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >, itk::Statistics::SubsamplerBase< TSample >, itk::Statistics::RegionConstrainedSubsampler< TSample, TRegion >, itk::Statistics::GaussianMembershipFunction< TMeasurementVector >, itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TScalar, NDimensions >, itk::Statistics::SpatialNeighborSubsampler< TSample, TRegion >, itk::ExpectationBasedPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet, TInternalComputationValueType >, itk::Statistics::DistanceToCentroidMembershipFunction< TVector >, itk::Statistics::GaussianRandomSpatialNeighborSubsampler< TSample, TRegion >, and itk::AffineGeometryFrame< TScalar, NDimensions >.

Definition at line 77 of file itkLightObject.cxx.

References itk::LightObject::CreateAnother().

itk::LightObject::itkCloneMacro ( Self  )
inherited
template<typename TImageType>
virtual ScalarValueType itk::LevelSetFunction< TImageType >::LaplacianSmoothingSpeed ( const NeighborhoodType ,
const FloatOffsetType ,
GlobalDataStruct = 0 
) const
inlinevirtualinherited

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.

template<typename TImageType , typename TFeatureImageType = TImageType>
static Pointer itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::New ( )
static

Method for creation through the object factory.

template<typename TImageType , typename TFeatureImageType = TImageType>
void itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::operator= ( const Self )
protected
void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const
inherited

Cause the object to print itself out.

Avoid DLL boundary problems. This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).

Definition at line 137 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<(), and itk::VideoStream< TFrameType >::PrintSelf().

void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print header for all objects.

Definition at line 315 of file itkLightObject.cxx.

template<typename TImageType , typename TFeatureImageType = TImageType>
void itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
inlineprotectedvirtual
void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print trailer for all objects.

Definition at line 325 of file itkLightObject.cxx.

template<typename TImageType , typename TFeatureImageType >
SegmentationLevelSetFunction< TImageType, TFeatureImageType >::ScalarValueType itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::PropagationSpeed ( const NeighborhoodType neighborhood,
const FloatOffsetType offset,
GlobalDataStruct gd 
) const
protectedvirtualinherited
void itk::LightObject::Register ( ) const
virtualinherited

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

Reimplemented in itk::Object, and itk::ExceptionObject::ReferenceCountedExceptionData.

Definition at line 158 of file itkLightObject.cxx.

Referenced by itk::ExceptionObject::ReferenceCountedExceptionData::Register().

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

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

template<typename TImageType , typename TFeatureImageType >
void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::ReverseExpansionDirection ( )
virtualinherited

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.

Definition at line 43 of file itkSegmentationLevelSetFunction.hxx.

template<typename TImageType , typename TFeatureImageType >
void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetAdvectionImage ( VectorImageType s)
inherited
template<typename TImageType>
virtual void itk::LevelSetFunction< TImageType >::SetAdvectionWeight ( const ScalarValueType  a)
inlinevirtualinherited

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

Gamma. Scales all curvature weight values

Definition at line 163 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 , typename TFeatureImageType = TImageType>
void itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetEdgeWeight ( const ScalarValueType  p)
inline

Set/Get the weight applied to the edge (Laplacian) attractor in the speed term function. Zero will turn this term off.

Definition at line 107 of file itkThresholdSegmentationLevelSetFunction.h.

References itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_EdgeWeight.

Referenced by itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ThresholdSegmentationLevelSetFunction().

template<typename TImageType>
void itk::LevelSetFunction< TImageType >::SetEpsilonMagnitude ( const ScalarValueType  e)
inlineinherited
template<typename TImageType, typename TFeatureImageType = TImageType>
virtual void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetFeatureImage ( const FeatureImageType f)
inlinevirtualinherited
template<typename TImageType>
void itk::LevelSetFunction< TImageType >::SetLaplacianSmoothingWeight ( const ScalarValueType  c)
inlineinherited

Weight of the laplacian smoothing term

Definition at line 169 of file itkLevelSetFunction.h.

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

template<typename TImageType , typename TFeatureImageType = TImageType>
void itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetLowerThreshold ( FeatureScalarType  f)
inline
template<typename TImageType>
static void itk::LevelSetFunction< TImageType >::SetMaximumCurvatureTimeStep ( double  n)
inlinestaticinherited

Set/Get the maximum constraint for the curvature term factor in the time step calculation. Changing this value from the default is not recommended or necessary, but can be used to speed up the surface evolution at the risk of creating an unstable solution.

Definition at line 268 of file itkLevelSetFunction.h.

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

Set/Get the maximum constraint for the scalar/vector term factor of the time step calculation. Changing this value from the default is not recommended or necessary, but can be used to speed up the surface evolution at the risk of creating an unstable solution.

Definition at line 282 of file itkLevelSetFunction.h.

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

Beta. Scales all propagation term values.

Definition at line 157 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::FiniteDifferenceFunction< TImageType >::SetRadius ( const RadiusType r)
inherited

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

Definition at line 39 of file itkFiniteDifferenceFunction.hxx.

Referenced by otb::NCCRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField >::SetNCCRadius().

void itk::LightObject::SetReferenceCount ( int  ref)
virtualinherited

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

Sets the reference count (use with care)

Reimplemented in itk::Object.

Definition at line 240 of file itkLightObject.cxx.

template<typename TImageType >
void itk::FiniteDifferenceFunction< TImageType >::SetScaleCoefficients ( PixelRealType  vals[ImageDimension])
inherited

Set the ScaleCoefficients for the difference operators. The defaults a 1.0. These can be set to take the image spacing into account.

Definition at line 54 of file itkFiniteDifferenceFunction.hxx.

template<typename TImageType , typename TFeatureImageType = TImageType>
void itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetSmoothingConductance ( const ScalarValueType  p)
inline

Anisotropic diffusion is applied to the FeatureImage before calculatign the Laplacian (edge) term. This method sets/gets the smoothing conductance.

Definition at line 120 of file itkThresholdSegmentationLevelSetFunction.h.

References itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_SmoothingConductance.

Referenced by itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ThresholdSegmentationLevelSetFunction().

template<typename TImageType , typename TFeatureImageType = TImageType>
void itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetSmoothingIterations ( const int  p)
inline

Anisotropic diffusion is applied to the FeatureImage before calculating the Laplacian (edge) term. This method sets/gets the number of diffusion iterations.

Definition at line 133 of file itkThresholdSegmentationLevelSetFunction.h.

References itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_SmoothingIterations.

Referenced by itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ThresholdSegmentationLevelSetFunction().

template<typename TImageType , typename TFeatureImageType = TImageType>
void itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetSmoothingTimeStep ( const ScalarValueType  i)
inline

Anisotropic diffusion is applied to the FeatureImage before calculating the Laplacian (edge) term. This method sets/gets the diffusion time step.

Definition at line 146 of file itkThresholdSegmentationLevelSetFunction.h.

References itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_SmoothingTimeStep.

Referenced by itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ThresholdSegmentationLevelSetFunction().

template<typename TImageType , typename TFeatureImageType >
void itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetSpeedImage ( ImageType s)
inherited
template<typename TImageType , typename TFeatureImageType = TImageType>
void itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::SetUpperThreshold ( FeatureScalarType  f)
inline
template<typename TImageType>
void itk::LevelSetFunction< TImageType >::SetUseMinimalCurvature ( bool  b)
inlineinherited
void itk::LightObject::UnRegister ( ) const
virtualinherited

Decrease the reference count (release by another object).

Reimplemented in itk::Object, and itk::ExceptionObject::ReferenceCountedExceptionData.

Definition at line 189 of file itkLightObject.cxx.

Referenced by itk::LightObject::New(), and itk::ExceptionObject::ReferenceCountedExceptionData::UnRegister().

template<typename TImageType>
void itk::LevelSetFunction< TImageType >::UseMinimalCurvatureOff ( )
inlineinherited
template<typename TImageType>
void itk::LevelSetFunction< TImageType >::UseMinimalCurvatureOn ( )
inlineinherited

Member Data Documentation

template<typename TImageType , typename TFeatureImageType = TImageType>
const unsigned int itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::ImageDimension = Superclass::ImageDimension
static

Extract some parameters from the superclass.

Definition at line 82 of file itkThresholdSegmentationLevelSetFunction.h.

template<typename TImageType, typename TFeatureImageType = TImageType>
VectorImageType::Pointer itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_AdvectionImage
protectedinherited
template<typename TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::m_AdvectionWeight
protectedinherited
template<typename TImageType>
OffsetValueType itk::LevelSetFunction< TImageType >::m_Center
protectedinherited

The offset of the center pixel in the neighborhood.

Definition at line 315 of file itkLevelSetFunction.h.

template<typename TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::m_CurvatureWeight
protectedinherited
template<typename TImageType>
double itk::LevelSetFunction< TImageType >::m_DT = 1.0 / ( 2.0 * ImageDimension )
staticprotectedinherited
template<typename TImageType , typename TFeatureImageType = TImageType>
ScalarValueType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_EdgeWeight
protected
template<typename TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::m_EpsilonMagnitude
protectedinherited

Epsilon magnitude controls the lower limit for gradient magnitude.

Definition at line 330 of file itkLevelSetFunction.h.

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

template<typename TImageType, typename TFeatureImageType = TImageType>
FeatureImageType::ConstPointer itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_FeatureImage
protectedinherited
template<typename TImageType, typename TFeatureImageType = TImageType>
InterpolatorType::Pointer itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_Interpolator
protectedinherited
template<typename TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::m_LaplacianSmoothingWeight
protectedinherited
template<typename TImageType , typename TFeatureImageType = TImageType>
FeatureScalarType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_LowerThreshold
protected
template<typename TImageType>
ScalarValueType itk::LevelSetFunction< TImageType >::m_PropagationWeight
protectedinherited
template<typename TImageType>
RadiusType itk::FiniteDifferenceFunction< TImageType >::m_Radius
protectedinherited

Definition at line 191 of file itkFiniteDifferenceFunction.h.

InternalReferenceCountType itk::LightObject::m_ReferenceCount
mutableprotectedinherited

Number of uses of this object by other objects.

Definition at line 156 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock
mutableprotectedinherited

Mutex lock to protect modification to the reference count

Definition at line 159 of file itkLightObject.h.

template<typename TImageType>
PixelRealType itk::FiniteDifferenceFunction< TImageType >::m_ScaleCoefficients[ImageDimension]
protectedinherited

Definition at line 192 of file itkFiniteDifferenceFunction.h.

template<typename TImageType , typename TFeatureImageType = TImageType>
ScalarValueType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_SmoothingConductance
protected
template<typename TImageType , typename TFeatureImageType = TImageType>
int itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_SmoothingIterations
protected
template<typename TImageType , typename TFeatureImageType = TImageType>
ScalarValueType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_SmoothingTimeStep
protected
template<typename TImageType, typename TFeatureImageType = TImageType>
ImageType::Pointer itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_SpeedImage
protectedinherited
template<typename TImageType , typename TFeatureImageType = TImageType>
FeatureScalarType itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_UpperThreshold
protected
template<typename TImageType>
bool itk::LevelSetFunction< TImageType >::m_UseMinimalCurvature
protectedinherited
template<typename TImageType, typename TFeatureImageType = TImageType>
Functor::VectorCast< typename VectorInterpolatorType::OutputType, VectorType > itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_VectorCast
protectedinherited

A casting functor to convert between vector types.

Definition at line 153 of file itkSegmentationLevelSetFunction.h.

template<typename TImageType, typename TFeatureImageType = TImageType>
VectorInterpolatorType::Pointer itk::SegmentationLevelSetFunction< TImageType, TFeatureImageType >::m_VectorInterpolator
protectedinherited
template<typename TImageType>
double itk::LevelSetFunction< TImageType >::m_WaveDT = 1.0 / ( 2.0 * ImageDimension )
staticprotectedinherited
template<typename TImageType>
OffsetValueType itk::LevelSetFunction< TImageType >::m_xStride[itkGetStaticConstMacro(ImageDimension)]
protectedinherited

Stride length along the y-dimension.

Definition at line 318 of file itkLevelSetFunction.h.

template<typename TImageType>
LevelSetFunction< TImageType >::VectorType itk::LevelSetFunction< TImageType >::m_ZeroVectorConstant
staticprotectedinherited
template<typename TImageType>
std::slice itk::LevelSetFunction< TImageType >::x_slice[itkGetStaticConstMacro(ImageDimension)]
protectedinherited

Slices for the ND neighborhood.

Definition at line 312 of file itkLevelSetFunction.h.


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

Generated at Sat Aug 30 2014 18:06:11 for Orfeo Toolbox with doxygen 1.8.3.1