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

#include <itkUpdateShiSparseLevelSet.h>

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

Detailed Description

template<unsigned int VDimension, typename 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.

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::OffsetType LevelSetOffsetType
 
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
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 () 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 ()
 
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
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () 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

bool Con (const LevelSetInputType &idx, const LevelSetOutputType &currentStatus, const LevelSetOutputRealType &currentUpdate) 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 override
 
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
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Types

typedef std::pair
< LevelSetInputType,
LevelSetOutputType
NodePairType
 

Private Member Functions

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

Private Attributes

LevelSetPointer m_InputLevelSet
 
LevelSetOffsetType m_Offset
 

Member Typedef Documentation

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

Definition at line 48 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 83 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 82 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 121 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 120 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 61 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 66 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 65 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 70 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 71 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 69 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 68 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 75 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 74 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 80 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 79 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 78 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 73 of file itkUpdateShiSparseLevelSet.h.

template<unsigned int VDimension, typename TEquationContainer >
typedef LevelSetType::OffsetType itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::LevelSetOffsetType

Definition at line 63 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 76 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 62 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 60 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 59 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 125 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 149 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 47 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 46 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 49 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 84 of file itkUpdateShiSparseLevelSet.h.

Constructor & Destructor Documentation

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

Member Function Documentation

template<unsigned int VDimension, typename TEquationContainer >
bool itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::Con ( const LevelSetInputType idx,
const LevelSetOutputType currentStatus,
const LevelSetOutputRealType currentUpdate 
) 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, typename TEquationContainer >
virtual::itk::LightObject::Pointer itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::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.

template<unsigned int VDimension, typename TEquationContainer >
virtual IdentifierType itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::GetCurrentLevelSetId ( )
virtual

Set/Get the current level set id

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

Set/Get the Equation container for computing the update

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

Set/Get the sparse levet set image

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

Set/Get the Equation container for computing the update

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

Set/Get the sparse levet set image

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

Run-time type information

Reimplemented from itk::Object.

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

Set/Get the RMS change for the update

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

Method for creation through object factory

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

Set/Get the current level set id

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

Set/Get the Equation container for computing the update

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

Set/Get the sparse levet set image

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

Update function for initializing and computing the output level set

template<unsigned int VDimension, typename 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, typename 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, typename TEquationContainer >
const unsigned int itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::ImageDimension = VDimension
static

Definition at line 57 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 116 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 118 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 146 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 123 of file itkUpdateShiSparseLevelSet.h.

template<unsigned int VDimension, typename TEquationContainer >
LevelSetOffsetType itk::UpdateShiSparseLevelSet< VDimension, TEquationContainer >::m_Offset
private

Definition at line 147 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 114 of file itkUpdateShiSparseLevelSet.h.

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

Definition at line 117 of file itkUpdateShiSparseLevelSet.h.


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