ITK  4.0.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::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer > Class Template Reference

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

#include <itkLevelSetEquationTermContainerBase.h>

Inheritance diagram for itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >:
Collaboration diagram for itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >:

List of all members.

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
LevelSetEquationTermContainerBase 
Self
typedef Object Superclass
typedef unsigned int TermIdType
typedef TermType::Pointer TermPointer
typedef
LevelSetEquationTermBase
< InputImageType,
LevelSetContainerType
TermType

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 LevelSetContainerTypeGetLevelSetContainer ()
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 InputImageTypeGetInput ()

Static Public Member Functions

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

 LevelSetEquationTermContainerBase ()
virtual ~LevelSetEquationTermContainerBase ()

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

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

Friends

class Iterator

Detailed Description

template<class TInputImage, class TLevelSetContainer>
class itk::LevelSetEquationTermContainerBase< 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 itkLevelSetEquationTermContainerBase.h.


Member Typedef Documentation

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

Reimplemented from itk::Object.

Definition at line 48 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 282 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 61 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 60 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 64 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 63 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 73 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 75 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 76 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 70 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 74 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 71 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 72 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 67 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 66 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
typedef MapCFLContainerType::const_iterator itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::MapCFLContainerConstIterator [protected]

Definition at line 293 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
typedef MapCFLContainerType::iterator itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::MapCFLContainerIterator [protected]

Definition at line 292 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 291 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
typedef MapTermContainerType::const_iterator itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::MapTermContainerConstIteratorType [protected]

Definition at line 135 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
typedef MapTermContainerType::iterator itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::MapTermContainerIteratorType [protected]

Definition at line 134 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 133 of file itkLevelSetEquationTermContainerBase.h.

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

Reimplemented from itk::Object.

Definition at line 47 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
typedef TermType::RequiredDataType itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::RequiredDataType [protected]

Definition at line 286 of file itkLevelSetEquationTermContainerBase.h.

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

Smart pointer typedef support.

Reimplemented from itk::Object.

Definition at line 46 of file itkLevelSetEquationTermContainerBase.h.

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

Reimplemented from itk::Object.

Definition at line 49 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 56 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 80 of file itkLevelSetEquationTermContainerBase.h.

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

Definition at line 79 of file itkLevelSetEquationTermContainerBase.h.


Constructor & Destructor Documentation

template<class TInputImage , class TLevelSetContainer >
itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::LevelSetEquationTermContainerBase ( ) [protected]
template<class TInputImage , class TLevelSetContainer >
virtual itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::~LevelSetEquationTermContainerBase ( ) [protected, virtual]
template<class TInputImage , class TLevelSetContainer >
itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::LevelSetEquationTermContainerBase ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainerBase< 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::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::Begin ( )
template<class TInputImage , class TLevelSetContainer >
ConstIterator itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::Begin ( ) const
template<class TInputImage , class TLevelSetContainer >
LevelSetOutputRealType itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::ComputeCFLContribution ( ) const

Return the CFL contribution of the current term

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

Evaluate the term at a given pixel location

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

Set/Get the input image to be segmented.

template<class TInputImage , class TLevelSetContainer >
virtual LevelSetContainerType* itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::GetLevelSetContainer ( ) [virtual]
template<class TInputImage , class TLevelSetContainer >
virtual const char* itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::GetNameOfClass ( ) const [virtual]

Run-time type information

Reimplemented from itk::Object.

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

Get the term with the given id

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

Get the term with the given name

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

Initialize the term parameters prior to the start of an iteration

template<class TInputImage , class TLevelSetContainer >
static Pointer itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::New ( ) [static]

Method for creation through object factory

Reimplemented from itk::Object.

template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::operator= ( const Self ) [private]

Mutex lock to protect modification to the reference count

Reimplemented from itk::Object.

template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::PushTerm ( TermType iTerm)

Add a term to the end of the container

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

Set/Get the input image to be segmented.

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

Update the term parameters at end of iteration

template<class TInputImage , class TLevelSetContainer >
void itk::LevelSetEquationTermContainerBase< 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 itkLevelSetEquationTermContainerBase.h.


Member Data Documentation

template<class TInputImage , class TLevelSetContainer >
MapTermContainerType itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::m_Container [protected]

Definition at line 289 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
LevelSetIdentifierType itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::m_CurrentLevelSetId [protected]

Definition at line 277 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
InputImagePointer itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::m_Input [protected]

Definition at line 280 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
LevelSetContainerPointer itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::m_LevelSetContainer [protected]

Definition at line 278 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
HashMapStringTermContainerType itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::m_NameContainer [protected]

Definition at line 284 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
RequiredDataType itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::m_RequiredData [protected]

Definition at line 287 of file itkLevelSetEquationTermContainerBase.h.

template<class TInputImage , class TLevelSetContainer >
MapCFLContainerType itk::LevelSetEquationTermContainerBase< TInputImage, TLevelSetContainer >::m_TermContribution [protected]

Definition at line 295 of file itkLevelSetEquationTermContainerBase.h.


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