ITK  4.4.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 | List of all members
itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer > Class Template Reference

#include <itkLevelSetEquationTermContainer.h>

+ Inheritance diagram for itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >:
+ Collaboration diagram for itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >:

Detailed Description

template<class TInputImage, class TLevelSetContainer>
class itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >

Class for container holding the terms of a given level set update equation.

Template Parameters
TInputImageInput image or speed image or feature image for segmentation
TLevelSetContainerContainer holding the all the level set functions

Definition at line 43 of file itkLevelSetEquationTermContainer.h.

Classes

class  ConstIterator
 
class  Iterator
 

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef
LevelSetContainerType::Pointer 
LevelSetContainerPointer
 
typedef TLevelSetContainer LevelSetContainerType
 
typedef
LevelSetContainerType::LevelSetDataType 
LevelSetDataType
 
typedef
LevelSetContainerType::GradientType 
LevelSetGradientType
 
typedef
LevelSetContainerType::HessianType 
LevelSetHessianType
 
typedef
LevelSetContainerType::LevelSetIdentifierType 
LevelSetIdentifierType
 
typedef
LevelSetContainerType::InputIndexType 
LevelSetInputIndexType
 
typedef
LevelSetContainerType::OutputType 
LevelSetOutputPixelType
 
typedef
LevelSetContainerType::OutputRealType 
LevelSetOutputRealType
 
typedef
LevelSetContainerType::LevelSetPointer 
LevelSetPointer
 
typedef
LevelSetContainerType::LevelSetType 
LevelSetType
 
typedef SmartPointer< SelfPointer
 
typedef
LevelSetEquationTermContainer 
Self
 
typedef Object Superclass
 
typedef unsigned int TermIdType
 
typedef TermType::Pointer TermPointer
 
typedef
LevelSetEquationTermBase
< InputImageType,
LevelSetContainerType
TermType
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void AddTerm (const TermIdType &iId, TermType *iTerm)
 
Iterator Begin ()
 
ConstIterator Begin () const
 
LevelSetOutputRealType ComputeCFLContribution () const
 
void ComputeRequiredData (const LevelSetInputIndexType &iP, LevelSetDataType &ioData)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
Iterator End ()
 
ConstIterator End () const
 
LevelSetOutputRealType Evaluate (const LevelSetInputIndexType &iP)
 
LevelSetOutputRealType Evaluate (const LevelSetInputIndexType &iP, const LevelSetDataType &iData)
 
virtual LevelSetIdentifierType GetCurrentLevelSetId ()
 
virtual const
LevelSetContainerType
GetLevelSetContainer () const
 
virtual LevelSetContainerTypeGetModifiableLevelSetContainer ()
 
virtual const char * GetNameOfClass () const
 
TermTypeGetTerm (const TermIdType &iId)
 
TermTypeGetTerm (const std::string &iName)
 
void Initialize (const LevelSetInputIndexType &iP)
 
void InitializeParameters ()
 
void PushTerm (TermType *iTerm)
 
virtual void SetCurrentLevelSetId (LevelSetIdentifierType _arg)
 
virtual void SetLevelSetContainer (LevelSetContainerType *_arg)
 
void Update ()
 
void UpdatePixel (const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue)
 
virtual void SetInput (InputImageType *_arg)
 
virtual InputImageTypeGetModifiableInput ()
 
virtual const InputImageTypeGetInput () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) 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
 
virtual void Register () const
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
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 flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Types

typedef itksys::hash_map
< std::string, TermPointer
HashMapStringTermContainerType
 
typedef
MapCFLContainerType::const_iterator 
MapCFLContainerConstIterator
 
typedef
MapCFLContainerType::iterator 
MapCFLContainerIterator
 
typedef std::map< TermIdType,
LevelSetOutputRealType
MapCFLContainerType
 
typedef
MapTermContainerType::const_iterator 
MapTermContainerConstIteratorType
 
typedef
MapTermContainerType::iterator 
MapTermContainerIteratorType
 
typedef std::map< TermIdType,
TermPointer
MapTermContainerType
 
typedef TermType::RequiredDataType RequiredDataType
 

Protected Member Functions

 LevelSetEquationTermContainer ()
 
virtual ~LevelSetEquationTermContainer ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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

MapTermContainerType m_Container
 
LevelSetIdentifierType m_CurrentLevelSetId
 
InputImagePointer m_Input
 
LevelSetContainerPointer m_LevelSetContainer
 
HashMapStringTermContainerType m_NameContainer
 
RequiredDataType m_RequiredData
 
MapCFLContainerType m_TermContribution
 

Private Member Functions

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

Friends

class Iterator
 

Member Typedef Documentation

template<class TInputImage , class TLevelSetContainer >
typedef SmartPointer< const Self > itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::ConstPointer

Definition at line 48 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef itksys::hash_map< std::string, TermPointer > itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::HashMapStringTermContainerType
protected

Definition at line 282 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef InputImageType::Pointer itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::InputImagePointer

Definition at line 61 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef TInputImage itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::InputImageType

Definition at line 60 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetContainerType::Pointer itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetContainerPointer

Definition at line 64 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef TLevelSetContainer itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetContainerType

Definition at line 63 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetContainerType::LevelSetDataType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetDataType

Definition at line 73 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetContainerType::GradientType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetGradientType

Definition at line 75 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetContainerType::HessianType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetHessianType

Definition at line 76 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetContainerType::LevelSetIdentifierType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetIdentifierType

Definition at line 70 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetContainerType::InputIndexType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetInputIndexType

Definition at line 74 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetContainerType::OutputType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetOutputPixelType

Definition at line 71 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetContainerType::OutputRealType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetOutputRealType

Definition at line 72 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetContainerType::LevelSetPointer itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetPointer

Definition at line 67 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetContainerType::LevelSetType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetType

Definition at line 66 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef MapCFLContainerType::const_iterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::MapCFLContainerConstIterator
protected

Definition at line 293 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef MapCFLContainerType::iterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::MapCFLContainerIterator
protected

Definition at line 292 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef std::map< TermIdType, LevelSetOutputRealType > itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::MapCFLContainerType
protected

Definition at line 291 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef MapTermContainerType::const_iterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::MapTermContainerConstIteratorType
protected

Definition at line 135 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef MapTermContainerType::iterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::MapTermContainerIteratorType
protected

Definition at line 134 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef std::map< TermIdType, TermPointer > itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::MapTermContainerType
protected

Definition at line 133 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef SmartPointer< Self > itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Pointer

Definition at line 47 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef TermType::RequiredDataType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::RequiredDataType
protected

Definition at line 286 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetEquationTermContainer itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Self

Definition at line 46 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef Object itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Superclass

Definition at line 49 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef unsigned int itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::TermIdType

Definition at line 56 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef TermType::Pointer itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::TermPointer

Definition at line 80 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
typedef LevelSetEquationTermBase< InputImageType, LevelSetContainerType > itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::TermType

Definition at line 79 of file itkLevelSetEquationTermContainer.h.

Constructor & Destructor Documentation

template<class TInputImage , class TLevelSetContainer >
itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetEquationTermContainer ( )
protected
template<class TInputImage , class TLevelSetContainer >
virtual itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::~LevelSetEquationTermContainer ( )
protectedvirtual
template<class TInputImage , class TLevelSetContainer >
itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::LevelSetEquationTermContainer ( const Self )
private

Member Function Documentation

template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::AddTerm ( const TermIdType iId,
TermType iTerm 
)

Replace the pointer to the term with the given id

template<class TInputImage , class TLevelSetContainer >
Iterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Begin ( )
template<class TInputImage , class TLevelSetContainer >
ConstIterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Begin ( ) const
template<class TInputImage , class TLevelSetContainer >
LevelSetOutputRealType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::ComputeCFLContribution ( ) const

Return the CFL contribution of the current term

template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::ComputeRequiredData ( const LevelSetInputIndexType iP,
LevelSetDataType ioData 
)
template<class TInputImage , class TLevelSetContainer >
virtual::itk::LightObject::Pointer itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::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 TInputImage , class TLevelSetContainer >
Iterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::End ( )
template<class TInputImage , class TLevelSetContainer >
ConstIterator itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::End ( ) const
template<class TInputImage , class TLevelSetContainer >
LevelSetOutputRealType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Evaluate ( const LevelSetInputIndexType iP)

Evaluate the term at a given pixel location

template<class TInputImage , class TLevelSetContainer >
LevelSetOutputRealType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Evaluate ( const LevelSetInputIndexType iP,
const LevelSetDataType iData 
)
template<class TInputImage , class TLevelSetContainer >
virtual LevelSetIdentifierType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::GetCurrentLevelSetId ( )
virtual
template<class TInputImage , class TLevelSetContainer >
virtual const InputImageType* itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::GetInput ( ) const
virtual

Set/Get the input image to be segmented.

template<class TInputImage , class TLevelSetContainer >
virtual const LevelSetContainerType* itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::GetLevelSetContainer ( ) const
virtual
template<class TInputImage , class TLevelSetContainer >
virtual InputImageType* itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::GetModifiableInput ( )
virtual

Set/Get the input image to be segmented.

template<class TInputImage , class TLevelSetContainer >
virtual LevelSetContainerType* itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::GetModifiableLevelSetContainer ( )
virtual
template<class TInputImage , class TLevelSetContainer >
virtual const char* itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::GetNameOfClass ( ) const
virtual

Run-time type information

Reimplemented from itk::Object.

template<class TInputImage , class TLevelSetContainer >
TermType* itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::GetTerm ( const TermIdType iId)

Get the term with the given id

template<class TInputImage , class TLevelSetContainer >
TermType* itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::GetTerm ( const std::string &  iName)

Get the term with the given name

template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Initialize ( const LevelSetInputIndexType iP)
template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::InitializeParameters ( )

Initialize the term parameters prior to the start of an iteration

template<class TInputImage , class TLevelSetContainer >
static Pointer itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::New ( )
static

Method for creation through object factory

template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::operator= ( const Self )
private
template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::PushTerm ( TermType iTerm)

Add a term to the end of the container

template<class TInputImage , class TLevelSetContainer >
virtual void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::SetCurrentLevelSetId ( LevelSetIdentifierType  _arg)
virtual
template<class TInputImage , class TLevelSetContainer >
virtual void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::SetInput ( InputImageType _arg)
virtual

Set/Get the input image to be segmented.

template<class TInputImage , class TLevelSetContainer >
virtual void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::SetLevelSetContainer ( LevelSetContainerType _arg)
virtual
template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::Update ( )

Update the term parameters at end of iteration

template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::UpdatePixel ( const LevelSetInputIndexType iP,
const LevelSetOutputRealType oldValue,
const LevelSetOutputRealType newValue 
)

Supply the update at a given pixel location to update the term parameters

Friends And Related Function Documentation

template<class TInputImage , class TLevelSetContainer >
friend class Iterator
friend

Definition at line 138 of file itkLevelSetEquationTermContainer.h.

Member Data Documentation

template<class TInputImage , class TLevelSetContainer >
MapTermContainerType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::m_Container
protected

Definition at line 289 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
LevelSetIdentifierType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::m_CurrentLevelSetId
protected

Definition at line 277 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
InputImagePointer itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::m_Input
protected

Definition at line 280 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
LevelSetContainerPointer itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::m_LevelSetContainer
protected

Definition at line 278 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
HashMapStringTermContainerType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::m_NameContainer
protected

Definition at line 284 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
RequiredDataType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::m_RequiredData
protected

Definition at line 287 of file itkLevelSetEquationTermContainer.h.

template<class TInputImage , class TLevelSetContainer >
MapCFLContainerType itk::LevelSetEquationTermContainer< TInputImage, TLevelSetContainer >::m_TermContribution
protected

Definition at line 295 of file itkLevelSetEquationTermContainer.h.


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