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

#include <itkShiSparseLevelSetImage.h>

+ Inheritance diagram for itk::ShiSparseLevelSetImage< VDimension >:
+ Collaboration diagram for itk::ShiSparseLevelSetImage< VDimension >:

Detailed Description

template<unsigned int VDimension>
class itk::ShiSparseLevelSetImage< VDimension >

Derived class for the shi representation of level-set function.

This representation is a "sparse" level-set function, where values could only be { -3, -1, +1, +3 } and organized into 2 layers { -1, +1 }.

Template Parameters
VDimensionDimension of the input space

Definition at line 37 of file itkShiSparseLevelSetImage.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::GradientType GradientType
 
typedef Superclass::HessianType HessianType
 
typedef Superclass::InputType InputType
 
typedef Superclass::LabelMapPointer LabelMapPointer
 
typedef Superclass::LabelMapType LabelMapType
 
typedef
Superclass::LabelObjectLengthType 
LabelObjectLengthType
 
typedef
Superclass::LabelObjectLineType 
LabelObjectLineType
 
typedef
Superclass::LabelObjectPointer 
LabelObjectPointer
 
typedef Superclass::LabelObjectType LabelObjectType
 
typedef
Superclass::LayerConstIterator 
LayerConstIterator
 
typedef Superclass::LayerIdType LayerIdType
 
typedef Superclass::LayerIterator LayerIterator
 
typedef
Superclass::LayerMapConstIterator 
LayerMapConstIterator
 
typedef
Superclass::LayerMapIterator 
LayerMapIterator
 
typedef Superclass::LayerMapType LayerMapType
 
typedef Superclass::LayerType LayerType
 
typedef
Superclass::LevelSetDataType 
LevelSetDataType
 
typedef Superclass::OutputRealType OutputRealType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RegionType RegionType
 
typedef ShiSparseLevelSetImage Self
 
typedef LevelSetSparseImage
< int8_t, VDimension > 
Superclass
 
- Public Types inherited from itk::LevelSetSparseImage< int8_t, VDimension >
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
< int8_t, VDimension > 
Superclass
 
- Public Types inherited from itk::DiscreteLevelSetImage< int8_t, 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,
int8_t > 
Superclass
 
- Public Types inherited from itk::LevelSetImage< Index< VDimension >, VDimension, int8_t >
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,
int8_t, ImageBaseType
Superclass
 
- Public Types inherited from itk::LevelSetBase< Index< VDimension >, VDimension, int8_t, 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 int8_t 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

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputType Evaluate (const InputType &iP) 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
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::LevelSetSparseImage< int8_t, VDimension >
LabelObject< TLabel,
VDimension >::Pointer 
GetAsLabelObject ()
 
const LayerTypeGetLayer (LayerIdType iVal) const
 
LayerTypeGetLayer (LayerIdType iVal)
 
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< int8_t, VDimension >
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
 

Static Public Member Functions

static LayerIdType MinusOneLayer ()
 
static LayerIdType MinusThreeLayer ()
 
static Pointer New ()
 
static LayerIdType PlusOneLayer ()
 
static LayerIdType PlusThreeLayer ()
 

Static Public Attributes

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

Protected Member Functions

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

Private Member Functions

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

Additional Inherited Members

- Protected Types inherited from itk::LevelSetImage< Index< VDimension >, VDimension, int8_t >
typedef GradientType ScalingType
 
- Protected Attributes inherited from itk::LevelSetSparseImage< int8_t, VDimension >
LayerIdListType m_InternalLabelList
 
LabelMapPointer m_LabelMap
 
LayerMapType m_Layers
 

Member Typedef Documentation

template<unsigned int VDimension>
typedef SmartPointer< const Self > itk::ShiSparseLevelSetImage< VDimension >::ConstPointer

Definition at line 43 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::GradientType itk::ShiSparseLevelSetImage< VDimension >::GradientType

Definition at line 58 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::HessianType itk::ShiSparseLevelSetImage< VDimension >::HessianType

Definition at line 59 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::InputType itk::ShiSparseLevelSetImage< VDimension >::InputType

Definition at line 55 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LabelMapPointer itk::ShiSparseLevelSetImage< VDimension >::LabelMapPointer

Definition at line 69 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LabelMapType itk::ShiSparseLevelSetImage< VDimension >::LabelMapType

Definition at line 68 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LabelObjectLengthType itk::ShiSparseLevelSetImage< VDimension >::LabelObjectLengthType

Definition at line 65 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LabelObjectLineType itk::ShiSparseLevelSetImage< VDimension >::LabelObjectLineType

Definition at line 66 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LabelObjectPointer itk::ShiSparseLevelSetImage< VDimension >::LabelObjectPointer

Definition at line 64 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LabelObjectType itk::ShiSparseLevelSetImage< VDimension >::LabelObjectType

Definition at line 63 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LayerConstIterator itk::ShiSparseLevelSetImage< VDimension >::LayerConstIterator

Definition at line 74 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LayerIdType itk::ShiSparseLevelSetImage< VDimension >::LayerIdType

Definition at line 62 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LayerIterator itk::ShiSparseLevelSetImage< VDimension >::LayerIterator

Definition at line 73 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LayerMapConstIterator itk::ShiSparseLevelSetImage< VDimension >::LayerMapConstIterator

Definition at line 78 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LayerMapIterator itk::ShiSparseLevelSetImage< VDimension >::LayerMapIterator

Definition at line 77 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LayerMapType itk::ShiSparseLevelSetImage< VDimension >::LayerMapType

Definition at line 76 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LayerType itk::ShiSparseLevelSetImage< VDimension >::LayerType

Definition at line 72 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::LevelSetDataType itk::ShiSparseLevelSetImage< VDimension >::LevelSetDataType

Definition at line 60 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::OutputRealType itk::ShiSparseLevelSetImage< VDimension >::OutputRealType

Definition at line 57 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::OutputType itk::ShiSparseLevelSetImage< VDimension >::OutputType

Definition at line 56 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef SmartPointer< Self > itk::ShiSparseLevelSetImage< VDimension >::Pointer

Definition at line 42 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef Superclass::RegionType itk::ShiSparseLevelSetImage< VDimension >::RegionType

Definition at line 70 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef ShiSparseLevelSetImage itk::ShiSparseLevelSetImage< VDimension >::Self

Definition at line 41 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
typedef LevelSetSparseImage< int8_t, VDimension > itk::ShiSparseLevelSetImage< VDimension >::Superclass

Definition at line 45 of file itkShiSparseLevelSetImage.h.

Constructor & Destructor Documentation

template<unsigned int VDimension>
itk::ShiSparseLevelSetImage< VDimension >::ShiSparseLevelSetImage ( )
protected
template<unsigned int VDimension>
virtual itk::ShiSparseLevelSetImage< VDimension >::~ShiSparseLevelSetImage ( )
protectedvirtual
template<unsigned int VDimension>
itk::ShiSparseLevelSetImage< VDimension >::ShiSparseLevelSetImage ( const Self )
private

Member Function Documentation

template<unsigned int VDimension>
virtual::itk::LightObject::Pointer itk::ShiSparseLevelSetImage< VDimension >::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>
virtual OutputType itk::ShiSparseLevelSetImage< VDimension >::Evaluate ( const InputType iP) const
virtual

Returns the gradient of the level set function at a given location iP

Implements itk::DiscreteLevelSetImage< int8_t, VDimension >.

template<unsigned int VDimension>
virtual HessianType itk::ShiSparseLevelSetImage< VDimension >::EvaluateHessian ( const InputType iP) const
virtual

Returns the Hessian of the level set function at a given location iP

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

template<unsigned int VDimension>
virtual void itk::ShiSparseLevelSetImage< VDimension >::EvaluateHessian ( const InputType iP,
LevelSetDataType ioData 
) const
virtual

Returns the Hessian of the level set function at a given location iP as part of the LevelSetDataType

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

template<unsigned int VDimension>
virtual OutputRealType itk::ShiSparseLevelSetImage< VDimension >::EvaluateLaplacian ( const InputType iP) const
virtual

Returns the Laplacian of the level set function at a given location iP

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

template<unsigned int VDimension>
virtual void itk::ShiSparseLevelSetImage< VDimension >::EvaluateLaplacian ( const InputType iP,
LevelSetDataType ioData 
) const
virtual

Returns the Laplacian of the level set function at a given location iP as part of the LevelSetDataType

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

template<unsigned int VDimension>
virtual OutputRealType itk::ShiSparseLevelSetImage< VDimension >::EvaluateMeanCurvature ( const InputType iP) const
virtual

Returns the Laplacian of the level set function at a given location iP

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

template<unsigned int VDimension>
virtual void itk::ShiSparseLevelSetImage< VDimension >::EvaluateMeanCurvature ( const InputType iP,
LevelSetDataType ioData 
) const
virtual

Returns the Hessian of the level set function at a given location iP as part of the LevelSetDataType

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

template<unsigned int VDimension>
virtual const char* itk::ShiSparseLevelSetImage< VDimension >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::LevelSetSparseImage< int8_t, VDimension >.

template<unsigned int VDimension>
virtual void itk::ShiSparseLevelSetImage< VDimension >::InitializeInternalLabelList ( )
protectedvirtual
template<unsigned int VDimension>
virtual void itk::ShiSparseLevelSetImage< VDimension >::InitializeLayers ( )
protectedvirtual

Initialize the sparse field layers

Implements itk::LevelSetSparseImage< int8_t, VDimension >.

template<unsigned int VDimension>
static LayerIdType itk::ShiSparseLevelSetImage< VDimension >::MinusOneLayer ( )
inlinestatic

Definition at line 98 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
static LayerIdType itk::ShiSparseLevelSetImage< VDimension >::MinusThreeLayer ( )
inlinestatic

Definition at line 97 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
static Pointer itk::ShiSparseLevelSetImage< VDimension >::New ( )
static

Method for creation through the object factory.

template<unsigned int VDimension>
void itk::ShiSparseLevelSetImage< VDimension >::operator= ( const Self )
private
template<unsigned int VDimension>
static LayerIdType itk::ShiSparseLevelSetImage< VDimension >::PlusOneLayer ( )
inlinestatic

Definition at line 99 of file itkShiSparseLevelSetImage.h.

template<unsigned int VDimension>
static LayerIdType itk::ShiSparseLevelSetImage< VDimension >::PlusThreeLayer ( )
inlinestatic

Definition at line 100 of file itkShiSparseLevelSetImage.h.

Member Data Documentation

template<unsigned int VDimension>
const unsigned int itk::ShiSparseLevelSetImage< VDimension >::Dimension = VDimension
static

Definition at line 53 of file itkShiSparseLevelSetImage.h.


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