ITK  5.2.0
Insight Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
itk::LevelSetEquationContainer< TTermContainer > Class Template Reference

#include <itkLevelSetEquationContainer.h>

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

Classes

class  ConstIterator
 
class  Iterator
 

Public Types

using ConstPointer = SmartPointer< const Self >
 
using InputImagePointer = typename TermContainerType::InputImagePointer
 
using InputImageType = typename TermContainerType::InputImageType
 
using LevelSetContainerPointer = typename TermContainerType::LevelSetContainerPointer
 
using LevelSetContainerType = typename TermContainerType::LevelSetContainerType
 
using LevelSetIdentifierType = typename TermContainerType::LevelSetIdentifierType
 
using LevelSetInputIndexType = typename TermContainerType::LevelSetInputIndexType
 
using LevelSetOutputRealType = typename TermContainerType::LevelSetOutputRealType
 
using Pointer = SmartPointer< Self >
 
using Self = LevelSetEquationContainer
 
using Superclass = Object
 
using TermContainerPointer = typename TermContainerType::Pointer
 
using TermContainerType = TTermContainer
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

void AddEquation (const LevelSetIdentifierType &iId, TermContainerType *iEquation)
 
LevelSetOutputRealType ComputeCFLContribution () const
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
TermContainerTypeGetEquation (const LevelSetIdentifierType &iId) const
 
virtual const char * GetNameOfClass () const
 
void InitializeParameters ()
 
void UpdateInternalEquationTerms ()
 
void UpdatePixel (const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
using MapContainerType = std::map< LevelSetIdentifierType, TermContainerPointer >
 
using MapContainerIterator = typename MapContainerType::iterator
 
using MapContainerConstIterator = typename MapContainerType::const_iterator
 
class Iterator
 
LevelSetContainerPointer m_LevelSetContainer
 
MapContainerType m_Container
 
InputImagePointer m_Input
 
virtual void SetInput (InputImageType *_arg)
 
virtual InputImageTypeGetModifiableInput ()
 
virtual const InputImageTypeGetInput () const
 
virtual void SetLevelSetContainer (LevelSetContainerType *_arg)
 
virtual LevelSetContainerTypeGetModifiableLevelSetContainer ()
 
virtual const LevelSetContainerTypeGetLevelSetContainer () const
 
Iterator Begin ()
 
Iterator End ()
 
ConstIterator Begin () const
 
ConstIterator End () const
 
 LevelSetEquationContainer ()=default
 
 ~LevelSetEquationContainer () override=default
 

Additional Inherited Members

- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TTermContainer>
class itk::LevelSetEquationContainer< 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\}_{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\}_{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
LevelSetEquationTerm
Examples
SphinxExamples/src/Bridge/VtkGlue/VisualizeEvolvingDense2DLevelSetAsElevationMap/Code.cxx, and SphinxExamples/src/Bridge/VtkGlue/VisualizeEvolvingDense2DLevelSetZeroSet/Code.cxx.

Definition at line 58 of file itkLevelSetEquationContainer.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::ConstPointer = SmartPointer<const Self>

Definition at line 66 of file itkLevelSetEquationContainer.h.

◆ InputImagePointer

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::InputImagePointer = typename TermContainerType::InputImagePointer

Definition at line 79 of file itkLevelSetEquationContainer.h.

◆ InputImageType

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::InputImageType = typename TermContainerType::InputImageType

Definition at line 78 of file itkLevelSetEquationContainer.h.

◆ LevelSetContainerPointer

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::LevelSetContainerPointer = typename TermContainerType::LevelSetContainerPointer

Definition at line 86 of file itkLevelSetEquationContainer.h.

◆ LevelSetContainerType

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::LevelSetContainerType = typename TermContainerType::LevelSetContainerType

Definition at line 85 of file itkLevelSetEquationContainer.h.

◆ LevelSetIdentifierType

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::LevelSetIdentifierType = typename TermContainerType::LevelSetIdentifierType

Definition at line 84 of file itkLevelSetEquationContainer.h.

◆ LevelSetInputIndexType

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::LevelSetInputIndexType = typename TermContainerType::LevelSetInputIndexType

Definition at line 82 of file itkLevelSetEquationContainer.h.

◆ LevelSetOutputRealType

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::LevelSetOutputRealType = typename TermContainerType::LevelSetOutputRealType

Definition at line 81 of file itkLevelSetEquationContainer.h.

◆ MapContainerConstIterator

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::MapContainerConstIterator = typename MapContainerType::const_iterator
protected

Set/Get the input speed or feature image

Definition at line 126 of file itkLevelSetEquationContainer.h.

◆ MapContainerIterator

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::MapContainerIterator = typename MapContainerType::iterator
protected

Set/Get the input speed or feature image

Definition at line 125 of file itkLevelSetEquationContainer.h.

◆ MapContainerType

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::MapContainerType = std::map<LevelSetIdentifierType, TermContainerPointer>
protected

Set/Get the input speed or feature image

Definition at line 124 of file itkLevelSetEquationContainer.h.

◆ Pointer

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::Pointer = SmartPointer<Self>

Definition at line 65 of file itkLevelSetEquationContainer.h.

◆ Self

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::Self = LevelSetEquationContainer

Definition at line 64 of file itkLevelSetEquationContainer.h.

◆ Superclass

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::Superclass = Object

Definition at line 67 of file itkLevelSetEquationContainer.h.

◆ TermContainerPointer

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::TermContainerPointer = typename TermContainerType::Pointer

Definition at line 76 of file itkLevelSetEquationContainer.h.

◆ TermContainerType

template<typename TTermContainer >
using itk::LevelSetEquationContainer< TTermContainer >::TermContainerType = TTermContainer

Definition at line 75 of file itkLevelSetEquationContainer.h.

Constructor & Destructor Documentation

◆ LevelSetEquationContainer()

template<typename TTermContainer >
itk::LevelSetEquationContainer< TTermContainer >::LevelSetEquationContainer ( )
protecteddefault

Set/Get the input speed or feature image

◆ ~LevelSetEquationContainer()

template<typename TTermContainer >
itk::LevelSetEquationContainer< TTermContainer >::~LevelSetEquationContainer ( )
overrideprotecteddefault

Set/Get the input speed or feature image

Member Function Documentation

◆ AddEquation()

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

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

◆ Begin() [1/2]

template<typename TTermContainer >
Iterator itk::LevelSetEquationContainer< TTermContainer >::Begin ( )

Set/Get the input speed or feature image

◆ Begin() [2/2]

template<typename TTermContainer >
ConstIterator itk::LevelSetEquationContainer< TTermContainer >::Begin ( ) const

Set/Get the input speed or feature image

◆ ComputeCFLContribution()

template<typename TTermContainer >
LevelSetOutputRealType itk::LevelSetEquationContainer< TTermContainer >::ComputeCFLContribution ( ) const

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

◆ CreateAnother()

template<typename TTermContainer >
virtual::itk::LightObject::Pointer itk::LevelSetEquationContainer< TTermContainer >::CreateAnother ( ) const
virtual

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

Reimplemented from itk::Object.

◆ End() [1/2]

template<typename TTermContainer >
Iterator itk::LevelSetEquationContainer< TTermContainer >::End ( )

Set/Get the input speed or feature image

◆ End() [2/2]

template<typename TTermContainer >
ConstIterator itk::LevelSetEquationContainer< TTermContainer >::End ( ) const

Set/Get the input speed or feature image

◆ GetEquation()

template<typename TTermContainer >
TermContainerType* itk::LevelSetEquationContainer< TTermContainer >::GetEquation ( const LevelSetIdentifierType iId) const

Return a pointer to the equation of given id

◆ GetInput()

template<typename TTermContainer >
virtual const InputImageType* itk::LevelSetEquationContainer< TTermContainer >::GetInput ( ) const
virtual

Set/Get the input speed or feature image

◆ GetLevelSetContainer()

template<typename TTermContainer >
virtual const LevelSetContainerType* itk::LevelSetEquationContainer< TTermContainer >::GetLevelSetContainer ( ) const
virtual

Set/Get the input speed or feature image

◆ GetModifiableInput()

template<typename TTermContainer >
virtual InputImageType* itk::LevelSetEquationContainer< TTermContainer >::GetModifiableInput ( )
virtual

Set/Get the input speed or feature image

◆ GetModifiableLevelSetContainer()

template<typename TTermContainer >
virtual LevelSetContainerType* itk::LevelSetEquationContainer< TTermContainer >::GetModifiableLevelSetContainer ( )
virtual

Set/Get the input speed or feature image

◆ GetNameOfClass()

template<typename TTermContainer >
virtual const char* itk::LevelSetEquationContainer< TTermContainer >::GetNameOfClass ( ) const
virtual

Run-time type information

Reimplemented from itk::Object.

◆ InitializeParameters()

template<typename TTermContainer >
void itk::LevelSetEquationContainer< TTermContainer >::InitializeParameters ( )

Initialize parameters in the terms of all the equations

◆ New()

template<typename TTermContainer >
static Pointer itk::LevelSetEquationContainer< TTermContainer >::New ( )
static

Method for creation through object factory

◆ SetInput()

template<typename TTermContainer >
virtual void itk::LevelSetEquationContainer< TTermContainer >::SetInput ( InputImageType _arg)
virtual

Set/Get the input speed or feature image

◆ SetLevelSetContainer()

template<typename TTermContainer >
virtual void itk::LevelSetEquationContainer< TTermContainer >::SetLevelSetContainer ( LevelSetContainerType _arg)
virtual

Set/Get the input speed or feature image

◆ UpdateInternalEquationTerms()

template<typename TTermContainer >
void itk::LevelSetEquationContainer< TTermContainer >::UpdateInternalEquationTerms ( )

Update the equation container recursively by calling update on individual equations

◆ UpdatePixel()

template<typename TTermContainer >
void itk::LevelSetEquationContainer< 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

◆ Iterator

template<typename TTermContainer >
friend class Iterator
friend

Set/Get the input speed or feature image

Definition at line 129 of file itkLevelSetEquationContainer.h.

Member Data Documentation

◆ m_Container

template<typename TTermContainer >
MapContainerType itk::LevelSetEquationContainer< TTermContainer >::m_Container
protected

Set/Get the input speed or feature image

Definition at line 302 of file itkLevelSetEquationContainer.h.

◆ m_Input

template<typename TTermContainer >
InputImagePointer itk::LevelSetEquationContainer< TTermContainer >::m_Input
protected

Set/Get the input speed or feature image

Definition at line 303 of file itkLevelSetEquationContainer.h.

◆ m_LevelSetContainer

template<typename TTermContainer >
LevelSetContainerPointer itk::LevelSetEquationContainer< TTermContainer >::m_LevelSetContainer
protected

Set/Get the input speed or feature image

Definition at line 301 of file itkLevelSetEquationContainer.h.


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