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

#include <itkLevelSetSparseImage.h>

+ Inheritance diagram for itk::LevelSetSparseImage< TOutput, VDimension >:
+ Collaboration diagram for itk::LevelSetSparseImage< TOutput, VDimension >:

Detailed Description

template<typename TOutput, unsigned int VDimension>
class itk::LevelSetSparseImage< TOutput, VDimension >

Base class for the sparse representation of a level-set function on one Image.

Template Parameters
TImageInput image type of the level set function
Todo:
Think about using image iterators instead of GetPixel()

Definition at line 40 of file itkLevelSetSparseImage.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::GradientType GradientType
 
typedef Superclass::HessianType HessianType
 
typedef Superclass::InputType InputType
 
typedef LabelMapType::Pointer LabelMapPointer
 
typedef LabelMap< LabelObjectTypeLabelMapType
 
typedef LabelObjectType::LengthType LabelObjectLengthType
 
typedef LabelObjectType::LineType LabelObjectLineType
 
typedef LabelObjectType::Pointer LabelObjectPointer
 
typedef LabelObject
< LayerIdType, VDimension > 
LabelObjectType
 
typedef LayerType::const_iterator LayerConstIterator
 
typedef std::list< LayerIdTypeLayerIdListType
 
typedef int8_t LayerIdType
 
typedef LayerType::iterator LayerIterator
 
typedef
LayerMapType::const_iterator 
LayerMapConstIterator
 
typedef LayerMapType::iterator LayerMapIterator
 
typedef std::map< LayerIdType,
LayerType
LayerMapType
 
typedef std::map< InputType,
OutputType,
Functor::IndexLexicographicCompare
< VDimension > > 
LayerType
 
typedef
Superclass::LevelSetDataType 
LevelSetDataType
 
typedef Superclass::OutputRealType OutputRealType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef LabelMapType::RegionType RegionType
 
typedef LevelSetSparseImage Self
 
typedef DiscreteLevelSetImage
< TOutput, VDimension > 
Superclass
 
- Public Types inherited from itk::DiscreteLevelSetImage< TOutput, VDimension >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::GradientType GradientType
 
typedef Superclass::HessianType HessianType
 
typedef Index< VDimension > IndexType
 
typedef Superclass::InputType InputType
 
typedef
Superclass::LevelSetDataType 
LevelSetDataType
 
typedef Superclass::OutputRealType OutputRealType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef DiscreteLevelSetImage Self
 
typedef LevelSetImage
< IndexType, VDimension,
TOutput > 
Superclass
 
- Public Types inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TOutput >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::GradientType GradientType
 
typedef Superclass::HessianType HessianType
 
typedef ImageBase< VDimension > ImageBaseType
 
typedef Superclass::InputType InputType
 
typedef
Superclass::LevelSetDataType 
LevelSetDataType
 
typedef Superclass::OutputRealType OutputRealType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef LevelSetImage Self
 
typedef LevelSetBase< Index
< VDimension >, VDimension,
TOutput, ImageBaseType
Superclass
 
- Public Types inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > >
typedef SmartPointer< const SelfConstPointer
 
typedef ImageBase< VDimension > DomainType
 
typedef CovariantVector
< OutputRealType, VDimension > 
GradientType
 
typedef Matrix< OutputRealType,
VDimension, VDimension > 
HessianType
 
typedef Index< VDimension > InputType
 
typedef NumericTraits
< OutputType >::RealType 
OutputRealType
 
typedef TOutput OutputType
 
typedef SmartPointer< SelfPointer
 
typedef IdentifierType RegionType
 
typedef LevelSetBase Self
 
typedef DataObject Superclass
 
- Public Types inherited from itk::DataObject
typedef SmartPointer< const SelfConstPointer
 
typedef std::string DataObjectIdentifierType
 
typedef std::vector< Pointer >
::size_type 
DataObjectPointerArraySizeType
 
typedef SmartPointer< SelfPointer
 
typedef DataObject Self
 
typedef Object Superclass
 
- 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

template<class TLabel >
LabelObject< TLabel,
VDimension >::Pointer 
GetAsLabelObject ()
 
const LayerTypeGetLayer (LayerIdType iVal) const
 
LayerTypeGetLayer (LayerIdType iVal)
 
virtual const char * GetNameOfClass () const
 
virtual void Graft (const DataObject *data)
 
void SetLayer (LayerIdType iVal, const LayerType &iLayer)
 
virtual LayerIdType Status (const InputType &iP) const
 
virtual void SetLabelMap (LabelMapType *iLabelMap)
 
virtual LabelMapTypeGetModifiableLabelMap ()
 
virtual const LabelMapTypeGetLabelMap () const
 
- Public Member Functions inherited from itk::DiscreteLevelSetImage< TOutput, VDimension >
virtual OutputType Evaluate (const InputType &iP) const =0
 
virtual void Evaluate (const InputType &iP, LevelSetDataType &ioData) const
 
virtual GradientType EvaluateBackwardGradient (const InputType &iP) const
 
virtual void EvaluateBackwardGradient (const InputType &iP, LevelSetDataType &ioData) const
 
virtual GradientType EvaluateForwardGradient (const InputType &iP) const
 
virtual void EvaluateForwardGradient (const InputType &iP, LevelSetDataType &ioData) const
 
virtual GradientType EvaluateGradient (const InputType &iP) const
 
virtual void EvaluateGradient (const InputType &iP, LevelSetDataType &ioData) const
 
virtual HessianType EvaluateHessian (const InputType &iP) const
 
virtual void EvaluateHessian (const InputType &iP, LevelSetDataType &ioData) const
 
virtual OutputRealType EvaluateLaplacian (const InputType &iP) const
 
virtual void EvaluateLaplacian (const InputType &iP, LevelSetDataType &ioData) const
 
virtual OutputRealType EvaluateMeanCurvature (const InputType &iP) const
 
virtual void EvaluateMeanCurvature (const InputType &iP, LevelSetDataType &ioData) const
 

Static Public Attributes

static const unsigned int Dimension = Superclass::Dimension
 
- Static Public Attributes inherited from itk::DiscreteLevelSetImage< TOutput, VDimension >
static const unsigned int Dimension = Superclass::Dimension
 
- Static Public Attributes inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TOutput >
static const unsigned int Dimension
 
- Static Public Attributes inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > >
static const unsigned int Dimension
 

Protected Member Functions

virtual void CopyInformation (const DataObject *data)
 
virtual void Initialize ()
 
virtual void InitializeInternalLabelList ()=0
 
virtual void InitializeLayers ()=0
 
virtual bool IsInsideDomain (const InputType &iP) const
 
 LevelSetSparseImage ()
 
virtual ~LevelSetSparseImage ()
 
- Protected Member Functions inherited from itk::DiscreteLevelSetImage< TOutput, VDimension >
 DiscreteLevelSetImage ()
 
virtual ~DiscreteLevelSetImage ()
 
- Protected Member Functions inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TOutput >
virtual bool IsInsideDomain (const InputType &iP) const =0
 
 LevelSetImage ()
 
virtual ~LevelSetImage ()
 
- Protected Member Functions inherited from itk::LevelSetBase< Index< VDimension >, VDimension, TOutput, ImageBase< VDimension > >
 LevelSetBase ()
 
virtual ~LevelSetBase ()
 

Protected Attributes

LayerIdListType m_InternalLabelList
 
LabelMapPointer m_LabelMap
 
LayerMapType m_Layers
 

Private Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from itk::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
- Protected Types inherited from itk::LevelSetImage< Index< VDimension >, VDimension, TOutput >
typedef GradientType ScalingType
 

Member Typedef Documentation

template<typename TOutput, unsigned int VDimension>
typedef SmartPointer< const Self > itk::LevelSetSparseImage< TOutput, VDimension >::ConstPointer

Definition at line 46 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef Superclass::GradientType itk::LevelSetSparseImage< TOutput, VDimension >::GradientType

Definition at line 57 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef Superclass::HessianType itk::LevelSetSparseImage< TOutput, VDimension >::HessianType

Definition at line 58 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef Superclass::InputType itk::LevelSetSparseImage< TOutput, VDimension >::InputType

Definition at line 54 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LabelMapType::Pointer itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapPointer

Definition at line 70 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LabelMap< LabelObjectType > itk::LevelSetSparseImage< TOutput, VDimension >::LabelMapType

Definition at line 69 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LabelObjectType::LengthType itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectLengthType

Definition at line 66 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LabelObjectType::LineType itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectLineType

Definition at line 67 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LabelObjectType::Pointer itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectPointer

Definition at line 65 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LabelObject< LayerIdType, VDimension > itk::LevelSetSparseImage< TOutput, VDimension >::LabelObjectType

Definition at line 64 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LayerType::const_iterator itk::LevelSetSparseImage< TOutput, VDimension >::LayerConstIterator

Definition at line 77 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef std::list< LayerIdType > itk::LevelSetSparseImage< TOutput, VDimension >::LayerIdListType

Definition at line 62 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef int8_t itk::LevelSetSparseImage< TOutput, VDimension >::LayerIdType

Definition at line 61 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LayerType::iterator itk::LevelSetSparseImage< TOutput, VDimension >::LayerIterator

Definition at line 76 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LayerMapType::const_iterator itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapConstIterator

Definition at line 81 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LayerMapType::iterator itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapIterator

Definition at line 80 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef std::map< LayerIdType, LayerType > itk::LevelSetSparseImage< TOutput, VDimension >::LayerMapType

Definition at line 79 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef std::map< InputType, OutputType, Functor::IndexLexicographicCompare< VDimension > > itk::LevelSetSparseImage< TOutput, VDimension >::LayerType

Definition at line 75 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef Superclass::LevelSetDataType itk::LevelSetSparseImage< TOutput, VDimension >::LevelSetDataType

Definition at line 59 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef Superclass::OutputRealType itk::LevelSetSparseImage< TOutput, VDimension >::OutputRealType

Definition at line 56 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef Superclass::OutputType itk::LevelSetSparseImage< TOutput, VDimension >::OutputType

Definition at line 55 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef SmartPointer< Self > itk::LevelSetSparseImage< TOutput, VDimension >::Pointer

Definition at line 45 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LabelMapType::RegionType itk::LevelSetSparseImage< TOutput, VDimension >::RegionType

Definition at line 71 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef LevelSetSparseImage itk::LevelSetSparseImage< TOutput, VDimension >::Self

Definition at line 44 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
typedef DiscreteLevelSetImage< TOutput, VDimension > itk::LevelSetSparseImage< TOutput, VDimension >::Superclass

Definition at line 47 of file itkLevelSetSparseImage.h.

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename TOutput, unsigned int VDimension>
virtual void itk::LevelSetSparseImage< TOutput, VDimension >::CopyInformation ( const DataObject data)
protectedvirtual

Copy level set information from data object

Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.

template<typename TOutput, unsigned int VDimension>
template<class TLabel >
LabelObject< TLabel, VDimension >::Pointer itk::LevelSetSparseImage< TOutput, VDimension >::GetAsLabelObject ( )

Return the label object pointer with a given id

template<typename TOutput, unsigned int VDimension>
virtual const LabelMapType* itk::LevelSetSparseImage< TOutput, VDimension >::GetLabelMap ( ) const
virtual

Set/Get the label map for computing the sparse representation

template<typename TOutput, unsigned int VDimension>
const LayerType& itk::LevelSetSparseImage< TOutput, VDimension >::GetLayer ( LayerIdType  iVal) const

Return the const pointer to a layer map with given id

template<typename TOutput, unsigned int VDimension>
LayerType& itk::LevelSetSparseImage< TOutput, VDimension >::GetLayer ( LayerIdType  iVal)

Return the pointer to a layer map with given id

template<typename TOutput, unsigned int VDimension>
virtual LabelMapType* itk::LevelSetSparseImage< TOutput, VDimension >::GetModifiableLabelMap ( )
virtual

Set/Get the label map for computing the sparse representation

template<typename TOutput, unsigned int VDimension>
virtual const char* itk::LevelSetSparseImage< TOutput, VDimension >::GetNameOfClass ( ) const
virtual
template<typename TOutput, unsigned int VDimension>
virtual void itk::LevelSetSparseImage< TOutput, VDimension >::Graft ( const DataObject data)
virtual

Graft data object as level set object

Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.

template<typename TOutput, unsigned int VDimension>
virtual void itk::LevelSetSparseImage< TOutput, VDimension >::Initialize ( )
protectedvirtual

Initialize the label map point and the sparse-field layers

Reimplemented from itk::DiscreteLevelSetImage< TOutput, VDimension >.

template<typename TOutput, unsigned int VDimension>
virtual void itk::LevelSetSparseImage< TOutput, VDimension >::InitializeInternalLabelList ( )
protectedpure virtual
template<typename TOutput, unsigned int VDimension>
virtual void itk::LevelSetSparseImage< TOutput, VDimension >::InitializeLayers ( )
protectedpure virtual
template<typename TOutput, unsigned int VDimension>
virtual bool itk::LevelSetSparseImage< TOutput, VDimension >::IsInsideDomain ( const InputType iP) const
protectedvirtual
template<typename TOutput, unsigned int VDimension>
void itk::LevelSetSparseImage< TOutput, VDimension >::operator= ( const Self )
private
template<typename TOutput, unsigned int VDimension>
virtual void itk::LevelSetSparseImage< TOutput, VDimension >::SetLabelMap ( LabelMapType iLabelMap)
virtual

Set/Get the label map for computing the sparse representation

template<typename TOutput, unsigned int VDimension>
void itk::LevelSetSparseImage< TOutput, VDimension >::SetLayer ( LayerIdType  iVal,
const LayerType iLayer 
)

Set a layer map with id to the given layer pointer

template<typename TOutput, unsigned int VDimension>
virtual LayerIdType itk::LevelSetSparseImage< TOutput, VDimension >::Status ( const InputType iP) const
virtual

Returns the layer affiliation of a given location iP

Member Data Documentation

template<typename TOutput, unsigned int VDimension>
const unsigned int itk::LevelSetSparseImage< TOutput, VDimension >::Dimension = Superclass::Dimension
static

Definition at line 52 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
LayerIdListType itk::LevelSetSparseImage< TOutput, VDimension >::m_InternalLabelList
protected

Definition at line 114 of file itkLevelSetSparseImage.h.

template<typename TOutput, unsigned int VDimension>
LabelMapPointer itk::LevelSetSparseImage< TOutput, VDimension >::m_LabelMap
protected
template<typename TOutput, unsigned int VDimension>
LayerMapType itk::LevelSetSparseImage< TOutput, VDimension >::m_Layers
protected

Definition at line 112 of file itkLevelSetSparseImage.h.


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