ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer > Class Template Reference

#include <itkUpdateMalcolmSparseLevelSet.h>

+ Inheritance diagram for itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >:
+ Collaboration diagram for itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >:

Detailed Description

template<unsigned int VDimension, class TEquationContainer>
class itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >

Base class for updating the Malcolm representation of level-set function.

Template Parameters
VDimensionDimension of the input space
TEquationContainerContainer of the system of levelset equations

Definition at line 43 of file itkUpdateMalcolmSparseLevelSet.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef
EquationContainerType::Pointer 
EquationContainerPointer
 
typedef TEquationContainer EquationContainerType
 
typedef LevelSetType::InputType LevelSetInputType
 
typedef
LevelSetType::LabelMapPointer 
LevelSetLabelMapPointer
 
typedef LevelSetType::LabelMapType LevelSetLabelMapType
 
typedef
LevelSetType::LabelObjectLengthType 
LevelSetLabelObjectLengthType
 
typedef
LevelSetType::LabelObjectLineType 
LevelSetLabelObjectLineType
 
typedef
LevelSetType::LabelObjectPointer 
LevelSetLabelObjectPointer
 
typedef
LevelSetType::LabelObjectType 
LevelSetLabelObjectType
 
typedef
LevelSetType::LayerConstIterator 
LevelSetLayerConstIterator
 
typedef LevelSetType::LayerIterator LevelSetLayerIterator
 
typedef
LevelSetType::LayerMapConstIterator 
LevelSetLayerMapConstIterator
 
typedef
LevelSetType::LayerMapIterator 
LevelSetLayerMapIterator
 
typedef LevelSetType::LayerMapType LevelSetLayerMapType
 
typedef LevelSetType::LayerType LevelSetLayerType
 
typedef
LevelSetType::OutputRealType 
LevelSetOutputRealType
 
typedef LevelSetType::OutputType LevelSetOutputType
 
typedef LevelSetType::Pointer LevelSetPointer
 
typedef
MalcolmSparseLevelSetImage
< ImageDimension
LevelSetType
 
typedef SmartPointer< SelfPointer
 
typedef UpdateMalcolmSparseLevelSet Self
 
typedef Object Superclass
 
typedef
EquationContainerType::TermContainerPointer 
TermContainerPointer
 
- 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

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual LevelSetTypeGetModifiableOutputLevelSet ()
 
virtual const char * GetNameOfClass () const
 
virtual const LevelSetTypeGetOutputLevelSet () const
 
virtual LevelSetOutputRealType GetRMSChangeAccumulator ()
 
void Update ()
 
virtual void SetInputLevelSet (LevelSetType *_arg)
 
virtual LevelSetTypeGetModifiableInputLevelSet ()
 
virtual const LevelSetTypeGetInputLevelSet () const
 
virtual void SetEquationContainer (EquationContainerType *_arg)
 
virtual EquationContainerTypeGetModifiableEquationContainer ()
 
virtual const
EquationContainerType
GetEquationContainer () const
 
virtual void SetCurrentLevelSetId (IdentifierType _arg)
 
virtual IdentifierType GetCurrentLevelSetId ()
 
- 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 ()
 

Static Public Attributes

static const unsigned int ImageDimension = VDimension
 

Protected Types

typedef LabelImageType::Pointer LabelImagePointer
 
typedef Image< int8_t,
ImageDimension
LabelImageType
 
typedef
ShapedNeighborhoodIterator
< LabelImageType
NeighborhoodIteratorType
 

Protected Member Functions

void CompactLayersToSinglePixelThickness ()
 
void EvolveWithPhasedPropagation (LevelSetLayerType &ioList, LevelSetLayerType &ioUpdate, const bool &iContraction)
 
void EvolveWithUnPhasedPropagation ()
 
void FillUpdateContainer ()
 
 UpdateMalcolmSparseLevelSet ()
 
virtual ~UpdateMalcolmSparseLevelSet ()
 
- 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

IdentifierType m_CurrentLevelSetId
 
EquationContainerPointer m_EquationContainer
 
LabelImagePointer m_InternalImage
 
bool m_IsUsingUnPhasedPropagation
 
LevelSetPointer m_OutputLevelSet
 
LevelSetOutputRealType m_RMSChangeAccumulator
 
LevelSetLayerType m_Update
 

Private Types

typedef std::pair
< LevelSetInputType,
LevelSetOutputType
NodePairType
 

Private Member Functions

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

Private Attributes

LevelSetPointer m_InputLevelSet
 

Member Typedef Documentation

template<unsigned int VDimension, class TEquationContainer >
typedef SmartPointer< const Self > itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::ConstPointer

Definition at line 48 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef EquationContainerType::Pointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::EquationContainerPointer

Definition at line 82 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef TEquationContainer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::EquationContainerType

Definition at line 81 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LabelImageType::Pointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LabelImagePointer
protected

Definition at line 122 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef Image< int8_t, ImageDimension > itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LabelImageType
protected

Definition at line 121 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::InputType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetInputType

Definition at line 61 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LabelMapPointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelMapPointer

Definition at line 65 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LabelMapType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelMapType

Definition at line 64 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LabelObjectLengthType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelObjectLengthType

Definition at line 69 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LabelObjectLineType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelObjectLineType

Definition at line 70 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LabelObjectPointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelObjectPointer

Definition at line 68 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LabelObjectType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLabelObjectType

Definition at line 67 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LayerConstIterator itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerConstIterator

Definition at line 74 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LayerIterator itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerIterator

Definition at line 73 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LayerMapConstIterator itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerMapConstIterator

Definition at line 79 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LayerMapIterator itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerMapIterator

Definition at line 78 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LayerMapType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerMapType

Definition at line 77 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::LayerType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetLayerType

Definition at line 72 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::OutputRealType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetOutputRealType

Definition at line 75 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::OutputType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetOutputType

Definition at line 62 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef LevelSetType::Pointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetPointer

Definition at line 60 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef MalcolmSparseLevelSetImage< ImageDimension > itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::LevelSetType

Definition at line 59 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef ShapedNeighborhoodIterator< LabelImageType > itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::NeighborhoodIteratorType
protected

Definition at line 126 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef std::pair< LevelSetInputType, LevelSetOutputType > itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::NodePairType
private

Definition at line 154 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef SmartPointer< Self > itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::Pointer

Definition at line 47 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef UpdateMalcolmSparseLevelSet itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::Self

Definition at line 46 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef Object itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::Superclass

Definition at line 49 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef EquationContainerType::TermContainerPointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::TermContainerPointer

Definition at line 83 of file itkUpdateMalcolmSparseLevelSet.h.

Constructor & Destructor Documentation

template<unsigned int VDimension, class TEquationContainer >
itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::UpdateMalcolmSparseLevelSet ( )
protected
template<unsigned int VDimension, class TEquationContainer >
virtual itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::~UpdateMalcolmSparseLevelSet ( )
protectedvirtual
template<unsigned int VDimension, class TEquationContainer >
itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::UpdateMalcolmSparseLevelSet ( const Self )
private

Member Function Documentation

template<unsigned int VDimension, class TEquationContainer >
void itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::CompactLayersToSinglePixelThickness ( )
protected

Make sure the layers are of single pixel thickness only. This method is related to the minimal interface function described in the original paper.

template<unsigned int VDimension, class TEquationContainer >
virtual::itk::LightObject::Pointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::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<unsigned int VDimension, class TEquationContainer >
void itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::EvolveWithPhasedPropagation ( LevelSetLayerType ioList,
LevelSetLayerType ioUpdate,
const bool &  iContraction 
)
protected

Update separately the zero layer for points with positive/negative update values Move points to -1 or +1 layers

template<unsigned int VDimension, class TEquationContainer >
void itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::EvolveWithUnPhasedPropagation ( )
protected

Update the zero layer for all points with values stored in UpdateContainer Move points to -1 or +1 layers

template<unsigned int VDimension, class TEquationContainer >
void itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::FillUpdateContainer ( )
protected

Compute the updates for all points in the 0 layer and store in UpdateContainer

template<unsigned int VDimension, class TEquationContainer >
virtual IdentifierType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::GetCurrentLevelSetId ( )
virtual

Set/Get the current level set id

template<unsigned int VDimension, class TEquationContainer >
virtual const EquationContainerType* itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::GetEquationContainer ( ) const
virtual

Set/Get the Equation container for computing the update

template<unsigned int VDimension, class TEquationContainer >
virtual const LevelSetType* itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::GetInputLevelSet ( ) const
virtual

Set/Get the sparse levet set image

template<unsigned int VDimension, class TEquationContainer >
virtual EquationContainerType* itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::GetModifiableEquationContainer ( )
virtual

Set/Get the Equation container for computing the update

template<unsigned int VDimension, class TEquationContainer >
virtual LevelSetType* itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::GetModifiableInputLevelSet ( )
virtual

Set/Get the sparse levet set image

template<unsigned int VDimension, class TEquationContainer >
virtual LevelSetType* itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::GetModifiableOutputLevelSet ( )
virtual
template<unsigned int VDimension, class TEquationContainer >
virtual const char* itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::GetNameOfClass ( ) const
virtual

Run-time type information

Reimplemented from itk::Object.

template<unsigned int VDimension, class TEquationContainer >
virtual const LevelSetType* itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::GetOutputLevelSet ( ) const
virtual
template<unsigned int VDimension, class TEquationContainer >
virtual LevelSetOutputRealType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::GetRMSChangeAccumulator ( )
virtual

Set/Get the RMS change for the update

template<unsigned int VDimension, class TEquationContainer >
static Pointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::New ( )
static

Method for creation through object factory

template<unsigned int VDimension, class TEquationContainer >
void itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::operator= ( const Self )
private
template<unsigned int VDimension, class TEquationContainer >
virtual void itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::SetCurrentLevelSetId ( IdentifierType  _arg)
virtual

Set/Get the current level set id

template<unsigned int VDimension, class TEquationContainer >
virtual void itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::SetEquationContainer ( EquationContainerType _arg)
virtual

Set/Get the Equation container for computing the update

template<unsigned int VDimension, class TEquationContainer >
virtual void itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::SetInputLevelSet ( LevelSetType _arg)
virtual

Set/Get the sparse levet set image

template<unsigned int VDimension, class TEquationContainer >
void itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::Update ( )

Update function for initializing and computing the output level set

Member Data Documentation

template<unsigned int VDimension, class TEquationContainer >
const unsigned int itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::ImageDimension = VDimension
static

Definition at line 57 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
IdentifierType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::m_CurrentLevelSetId
protected

Definition at line 117 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
EquationContainerPointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::m_EquationContainer
protected

Definition at line 119 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
LevelSetPointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::m_InputLevelSet
private

Definition at line 152 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
LabelImagePointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::m_InternalImage
protected

Definition at line 124 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
bool itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::m_IsUsingUnPhasedPropagation
protected

Definition at line 128 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
LevelSetPointer itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::m_OutputLevelSet
protected

Definition at line 113 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
LevelSetOutputRealType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::m_RMSChangeAccumulator
protected

Definition at line 118 of file itkUpdateMalcolmSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
LevelSetLayerType itk::UpdateMalcolmSparseLevelSet< VDimension, TEquationContainer >::m_Update
protected

Definition at line 115 of file itkUpdateMalcolmSparseLevelSet.h.


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