ITK  4.1.0
Insight Segmentation and Registration Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Friends
itk::LevelSetEquationContainerBase< TTermContainer > Class Template Reference

#include <itkLevelSetEquationContainerBase.h>

+ Inheritance diagram for itk::LevelSetEquationContainerBase< TTermContainer >:
+ Collaboration diagram for itk::LevelSetEquationContainerBase< TTermContainer >:

List of all members.

Classes

class  ConstIterator
class  Iterator

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
TermContainerType::InputImagePointer 
InputImagePointer
typedef
TermContainerType::InputImageType 
InputImageType
typedef
TermContainerType::LevelSetContainerPointer 
LevelSetContainerPointer
typedef
TermContainerType::LevelSetContainerType 
LevelSetContainerType
typedef
TermContainerType::LevelSetIdentifierType 
LevelSetIdentifierType
typedef
TermContainerType::LevelSetInputIndexType 
LevelSetInputIndexType
typedef
TermContainerType::LevelSetOutputRealType 
LevelSetOutputRealType
typedef SmartPointer< SelfPointer
typedef
LevelSetEquationContainerBase 
Self
typedef Object Superclass
typedef TermContainerType::Pointer TermContainerPointer
typedef TTermContainer TermContainerType

Public Member Functions

void AddEquation (const LevelSetIdentifierType &iId, TermContainerType *iEquation)
Iterator Begin ()
ConstIterator Begin () const
LevelSetOutputRealType ComputeCFLContribution () const
virtual ::itk::LightObject::Pointer CreateAnother (void) const
Iterator End ()
ConstIterator End () const
TermContainerTypeGetEquation (const LevelSetIdentifierType &iId) const
virtual LevelSetContainerTypeGetLevelSetContainer ()
virtual const char * GetNameOfClass () const
void InitializeParameters ()
virtual void SetLevelSetContainer (LevelSetContainerType *_arg)
void UpdateInternalEquationTerms ()
void UpdatePixel (const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue)
virtual void SetInput (InputImageType *_arg)
virtual const InputImageTypeGetInput ()

Static Public Member Functions

static Pointer New ()

Protected Types

typedef
MapContainerType::const_iterator 
MapContainerConstIterator
typedef MapContainerType::iterator MapContainerIterator
typedef std::map
< LevelSetIdentifierType,
TermContainerPointer
MapContainerType

Protected Member Functions

 LevelSetEquationContainerBase ()
virtual ~LevelSetEquationContainerBase ()

Protected Attributes

MapContainerType m_Container
InputImagePointer m_Input
LevelSetContainerPointer m_LevelSetContainer

Private Member Functions

 LevelSetEquationContainerBase (const Self &)
void operator= (const Self &)

Friends

class Iterator

Detailed Description

template<class TTermContainer>
class itk::LevelSetEquationContainerBase< TTermContainer >

Class for holding a set of level set equations (PDEs).

Template Parameters:
TTermContainerContainer holding the terms in a level set equation

Evolving level-set functions $\left\{ \phi_j \right\}\limits_{j=1}{M}$ can be expressed as follows:

\begin{eqnarray*} \frac{\partial \phi_1(p)}{\partial \tau} &=& \sum\limits_{i=1}^{N_1} \alpha_{i1} \cdot \omega_{i1}(p) \\ \frac{\partial \phi_2(p)}{\partial \tau} &=& \sum\limits_{i=1}^{N_2} \alpha_{i2} \cdot \omega_{i2}(p) \\ & \vdots & \\ \frac{\partial \phi_M(p)}{\partial \tau} &=& \sum\limits_{i=1}^{N_M} \alpha_{iM} \cdot \omega_{iM}(p) \end{eqnarray*}

where $\omega_{iM}$ is a term which could depend on any of the level-set functions $\left\{ \phi_j \right\}\limits_{j=1}{M}$ , the input image, and $\alpha_{iM}$ is a weight to balance the contribution of each term in the PDE.

Each equation of this system of equation (PDE) is referred as an equation in the level-set framework. Each equation $ equation_{j} $ contributes to the evolution of the level-set function $ \phi_j $.

See also:
LevelSetEquationTermBase

Definition at line 58 of file itkLevelSetEquationContainerBase.h.


Member Typedef Documentation

template<class TTermContainer >
typedef SmartPointer< const Self > itk::LevelSetEquationContainerBase< TTermContainer >::ConstPointer

Reimplemented from itk::Object.

Definition at line 63 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef TermContainerType::InputImagePointer itk::LevelSetEquationContainerBase< TTermContainer >::InputImagePointer

Definition at line 77 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef TermContainerType::InputImageType itk::LevelSetEquationContainerBase< TTermContainer >::InputImageType

Definition at line 76 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef TermContainerType::LevelSetContainerPointer itk::LevelSetEquationContainerBase< TTermContainer >::LevelSetContainerPointer

Definition at line 84 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef TermContainerType::LevelSetContainerType itk::LevelSetEquationContainerBase< TTermContainer >::LevelSetContainerType

Definition at line 83 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef TermContainerType::LevelSetIdentifierType itk::LevelSetEquationContainerBase< TTermContainer >::LevelSetIdentifierType

Definition at line 82 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef TermContainerType::LevelSetInputIndexType itk::LevelSetEquationContainerBase< TTermContainer >::LevelSetInputIndexType

Definition at line 80 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef TermContainerType::LevelSetOutputRealType itk::LevelSetEquationContainerBase< TTermContainer >::LevelSetOutputRealType

Definition at line 79 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef MapContainerType::const_iterator itk::LevelSetEquationContainerBase< TTermContainer >::MapContainerConstIterator [protected]

Definition at line 118 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef MapContainerType::iterator itk::LevelSetEquationContainerBase< TTermContainer >::MapContainerIterator [protected]

Definition at line 117 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef std::map< LevelSetIdentifierType, TermContainerPointer > itk::LevelSetEquationContainerBase< TTermContainer >::MapContainerType [protected]

Definition at line 113 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef SmartPointer< Self > itk::LevelSetEquationContainerBase< TTermContainer >::Pointer

Reimplemented from itk::Object.

Definition at line 62 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef LevelSetEquationContainerBase itk::LevelSetEquationContainerBase< TTermContainer >::Self

Smart pointer typedef support.

Reimplemented from itk::Object.

Definition at line 61 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef Object itk::LevelSetEquationContainerBase< TTermContainer >::Superclass

Reimplemented from itk::Object.

Definition at line 64 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef TermContainerType::Pointer itk::LevelSetEquationContainerBase< TTermContainer >::TermContainerPointer

Definition at line 74 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
typedef TTermContainer itk::LevelSetEquationContainerBase< TTermContainer >::TermContainerType

Definition at line 71 of file itkLevelSetEquationContainerBase.h.


Constructor & Destructor Documentation

template<class TTermContainer >
itk::LevelSetEquationContainerBase< TTermContainer >::LevelSetEquationContainerBase ( ) [protected]
template<class TTermContainer >
virtual itk::LevelSetEquationContainerBase< TTermContainer >::~LevelSetEquationContainerBase ( ) [protected, virtual]
template<class TTermContainer >
itk::LevelSetEquationContainerBase< TTermContainer >::LevelSetEquationContainerBase ( const Self ) [private]

Member Function Documentation

template<class TTermContainer >
void itk::LevelSetEquationContainerBase< TTermContainer >::AddEquation ( const LevelSetIdentifierType iId,
TermContainerType iEquation 
)

Add a equation to the system of equations in the EquationContainer map

template<class TTermContainer >
Iterator itk::LevelSetEquationContainerBase< TTermContainer >::Begin ( )
template<class TTermContainer >
ConstIterator itk::LevelSetEquationContainerBase< TTermContainer >::Begin ( ) const
template<class TTermContainer >
LevelSetOutputRealType itk::LevelSetEquationContainerBase< TTermContainer >::ComputeCFLContribution ( ) const

Returns the Courant-Friedrichs-Lewy (CFL) contribution for all the equations

template<class TTermContainer >
virtual::itk::LightObject::Pointer itk::LevelSetEquationContainerBase< TTermContainer >::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::Object.

template<class TTermContainer >
Iterator itk::LevelSetEquationContainerBase< TTermContainer >::End ( )
template<class TTermContainer >
ConstIterator itk::LevelSetEquationContainerBase< TTermContainer >::End ( ) const
template<class TTermContainer >
TermContainerType* itk::LevelSetEquationContainerBase< TTermContainer >::GetEquation ( const LevelSetIdentifierType iId) const

Return a pointer to the equation of given id

template<class TTermContainer >
virtual const InputImageType* itk::LevelSetEquationContainerBase< TTermContainer >::GetInput ( ) [virtual]

Set/Get the input speed or feature image

template<class TTermContainer >
virtual LevelSetContainerType* itk::LevelSetEquationContainerBase< TTermContainer >::GetLevelSetContainer ( ) [virtual]
template<class TTermContainer >
virtual const char* itk::LevelSetEquationContainerBase< TTermContainer >::GetNameOfClass ( ) const [virtual]

Run-time type information

Reimplemented from itk::Object.

template<class TTermContainer >
void itk::LevelSetEquationContainerBase< TTermContainer >::InitializeParameters ( )

Initialize parameters in the terms of all the equations

template<class TTermContainer >
static Pointer itk::LevelSetEquationContainerBase< TTermContainer >::New ( ) [static]

Method for creation through object factory

Reimplemented from itk::Object.

template<class TTermContainer >
void itk::LevelSetEquationContainerBase< TTermContainer >::operator= ( const Self ) [private]

Mutex lock to protect modification to the reference count

Reimplemented from itk::Object.

template<class TTermContainer >
virtual void itk::LevelSetEquationContainerBase< TTermContainer >::SetInput ( InputImageType _arg) [virtual]

Set/Get the input speed or feature image

template<class TTermContainer >
virtual void itk::LevelSetEquationContainerBase< TTermContainer >::SetLevelSetContainer ( LevelSetContainerType _arg) [virtual]
template<class TTermContainer >
void itk::LevelSetEquationContainerBase< TTermContainer >::UpdateInternalEquationTerms ( )

Update the equation container recursively by calling update on individual equations

template<class TTermContainer >
void itk::LevelSetEquationContainerBase< TTermContainer >::UpdatePixel ( const LevelSetInputIndexType iP,
const LevelSetOutputRealType oldValue,
const LevelSetOutputRealType newValue 
)

Supply the update at a given pixel index to update the terms


Friends And Related Function Documentation

template<class TTermContainer >
friend class Iterator [friend]

Definition at line 121 of file itkLevelSetEquationContainerBase.h.


Member Data Documentation

template<class TTermContainer >
MapContainerType itk::LevelSetEquationContainerBase< TTermContainer >::m_Container [protected]

Definition at line 261 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
InputImagePointer itk::LevelSetEquationContainerBase< TTermContainer >::m_Input [protected]

Definition at line 262 of file itkLevelSetEquationContainerBase.h.

template<class TTermContainer >
LevelSetContainerPointer itk::LevelSetEquationContainerBase< TTermContainer >::m_LevelSetContainer [protected]

Definition at line 260 of file itkLevelSetEquationContainerBase.h.


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