ITK  4.2.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
itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer > Class Template Reference

#include <itkUpdateShiSparseLevelSet.h>

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

List of all members.

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 ShiSparseLevelSetImage
< ImageDimension
LevelSetType
typedef SmartPointer< SelfPointer
typedef UpdateShiSparseLevelSet Self
typedef Object Superclass
typedef
EquationContainerType::TermContainerPointer 
TermContainerPointer
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual LevelSetTypeGetOutputLevelSet ()
virtual LevelSetOutputRealType GetRMSChangeAccumulator ()
void Update ()
virtual void SetInputLevelSet (LevelSetType *_arg)
virtual LevelSetTypeGetInputLevelSet ()
virtual void SetEquationContainer (EquationContainerType *_arg)
virtual EquationContainerTypeGetEquationContainer ()
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 unsigned long 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 void SetGlobalWarningDisplay (bool flag)
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()

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

bool Con (const LevelSetInputType &iIdx, const LevelSetOutputType &iCurrentStatus, const LevelSetOutputRealType &iCurrentUpdate) const
void UpdateLayerMinusOne ()
void UpdateLayerPlusOne ()
 UpdateShiSparseLevelSet ()
virtual ~UpdateShiSparseLevelSet ()
- 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
LevelSetPointer m_OutputLevelSet
LevelSetOutputRealType m_RMSChangeAccumulator

Private Types

typedef std::pair
< LevelSetInputType,
LevelSetOutputType
NodePairType

Private Member Functions

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

Private Attributes

LevelSetPointer m_InputLevelSet

Detailed Description

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

Base class for updating the Shi 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 itkUpdateShiSparseLevelSet.h.


Member Typedef Documentation

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

Reimplemented from itk::Object.

Definition at line 48 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 82 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 81 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 120 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 119 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 61 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 65 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 64 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 69 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 70 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 68 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 67 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 74 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 73 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 79 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 78 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 77 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 72 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 75 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 62 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 60 of file itkUpdateShiSparseLevelSet.h.

template<unsigned int VDimension, class TEquationContainer >
typedef ShiSparseLevelSetImage< ImageDimension > itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetType

Definition at line 59 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 124 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 147 of file itkUpdateShiSparseLevelSet.h.

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

Reimplemented from itk::Object.

Definition at line 47 of file itkUpdateShiSparseLevelSet.h.

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

Smart pointer typedef support.

Reimplemented from itk::Object.

Definition at line 46 of file itkUpdateShiSparseLevelSet.h.

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

Reimplemented from itk::Object.

Definition at line 49 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 83 of file itkUpdateShiSparseLevelSet.h.


Constructor & Destructor Documentation

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

Member Function Documentation

template<unsigned int VDimension, class TEquationContainer >
bool itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::Con ( const LevelSetInputType iIdx,
const LevelSetOutputType iCurrentStatus,
const LevelSetOutputRealType iCurrentUpdate 
) const
protected

Return true if there is a pixel from the opposite layer (+1 or -1) moving in the same direction

template<unsigned int VDimension, class TEquationContainer >
virtual::itk::LightObject::Pointer itk::UpdateShiSparseLevelSet< 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 >
virtual IdentifierType itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::GetCurrentLevelSetId ( )
virtual

Set/Get the current level set id

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

Set/Get the Equation container for computing the update

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

Set/Get the sparse levet set image

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

Run-time type information

Reimplemented from itk::Object.

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

Set/Get the RMS change for the update

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

Method for creation through object factory

Reimplemented from itk::Object.

template<unsigned int VDimension, class TEquationContainer >
void itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::operator= ( const Self )
private

Mutex lock to protect modification to the reference count

Reimplemented from itk::Object.

template<unsigned int VDimension, class TEquationContainer >
virtual void itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::SetCurrentLevelSetId ( IdentifierType  _arg)
virtual

Set/Get the current level set id

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

Set/Get the Equation container for computing the update

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

Set/Get the sparse levet set image

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

Update function for initializing and computing the output level set

template<unsigned int VDimension, class TEquationContainer >
void itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::UpdateLayerMinusOne ( )
protected

Update -1 level set layers by checking the direction of the movement towards +1

template<unsigned int VDimension, class TEquationContainer >
void itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::UpdateLayerPlusOne ( )
protected

Update +1 level set layers by checking the direction of the movement towards -1


Member Data Documentation

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

Definition at line 57 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 115 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 117 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 145 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 122 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 113 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 116 of file itkUpdateShiSparseLevelSet.h.


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