ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer > Class Template Reference

#include <itkLevelSetEquationChanAndVeseExternalTerm.h>

+ Inheritance diagram for itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >:
+ Collaboration diagram for itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >:

Detailed Description

template<class TInput, class TLevelSetContainer>
class itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >

Class to represent the external energy Chan And Vese term.

\[ \delta_{\epsilon}\left( \phi_{k}\left( p \right) \right) \cdot \prod_{i = 1, i \neq k}^{N} \left( 1 - H_{\epsilon} \left( \phi_i\left( p \right) \right) \right) \cdot \left\| I(p) - \mu_{out} \right\|^2 \]

Template Parameters
TInputInput Image Type
TLevelSetContainerLevel set function container type

Definition at line 50 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

Public Types

typedef Superclass::CacheImageType CacheImageType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
DomainMapImageFilterType::DomainMapType::const_iterator 
DomainIteratorType
 
typedef
Superclass::DomainMapImageFilterType 
DomainMapImageFilterType
 
typedef
Superclass::HeavisideConstPointer 
HeavisideConstPointer
 
typedef Superclass::HeavisideType HeavisideType
 
typedef
LevelSetContainerType::IdListConstIterator 
IdListConstIterator
 
typedef
LevelSetContainerType::IdListIterator 
IdListIterator
 
typedef
LevelSetContainerType::IdListType 
IdListType
 
typedef
Superclass::InputImagePointer 
InputImagePointer
 
typedef Superclass::InputImageType InputImageType
 
typedef
Superclass::InputPixelRealType 
InputPixelRealType
 
typedef Superclass::InputPixelType InputPixelType
 
typedef
Superclass::LevelSetContainerPointer 
LevelSetContainerPointer
 
typedef
Superclass::LevelSetContainerType 
LevelSetContainerType
 
typedef
Superclass::LevelSetGradientType 
LevelSetGradientType
 
typedef
Superclass::LevelSetHessianType 
LevelSetHessianType
 
typedef
Superclass::LevelSetIdentifierType 
LevelSetIdentifierType
 
typedef
Superclass::LevelSetInputIndexType 
LevelSetInputIndexType
 
typedef
Superclass::LevelSetOutputPixelType 
LevelSetOutputPixelType
 
typedef
Superclass::LevelSetOutputRealType 
LevelSetOutputRealType
 
typedef Superclass::LevelSetPointer LevelSetPointer
 
typedef Superclass::LevelSetType LevelSetType
 
typedef SmartPointer< SelfPointer
 
typedef
LevelSetEquationChanAndVeseExternalTerm 
Self
 
typedef
LevelSetEquationChanAndVeseInternalTerm
< TInput, TLevelSetContainer > 
Superclass
 
- Public Types inherited from itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >
typedef Superclass::CacheImageType CacheImageType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DomainMapImageFilterType 
DomainMapImageFilterType
 
typedef
Superclass::HeavisideConstPointer 
HeavisideConstPointer
 
typedef Superclass::HeavisideType HeavisideType
 
typedef
Superclass::InputImagePointer 
InputImagePointer
 
typedef Superclass::InputImageType InputImageType
 
typedef
Superclass::InputPixelRealType 
InputPixelRealType
 
typedef Superclass::InputPixelType InputPixelType
 
typedef
Superclass::LevelSetContainerPointer 
LevelSetContainerPointer
 
typedef
Superclass::LevelSetContainerType 
LevelSetContainerType
 
typedef
Superclass::LevelSetDataType 
LevelSetDataType
 
typedef
Superclass::LevelSetGradientType 
LevelSetGradientType
 
typedef
Superclass::LevelSetHessianType 
LevelSetHessianType
 
typedef
Superclass::LevelSetIdentifierType 
LevelSetIdentifierType
 
typedef
Superclass::LevelSetInputIndexType 
LevelSetInputIndexType
 
typedef
Superclass::LevelSetOutputPixelType 
LevelSetOutputPixelType
 
typedef
Superclass::LevelSetOutputRealType 
LevelSetOutputRealType
 
typedef Superclass::LevelSetPointer LevelSetPointer
 
typedef Superclass::LevelSetType LevelSetType
 
typedef SmartPointer< SelfPointer
 
typedef
LevelSetEquationChanAndVeseInternalTerm 
Self
 
typedef
LevelSetEquationTermBase
< TInput, TLevelSetContainer > 
Superclass
 
- Public Types inherited from itk::LevelSetEquationTermBase< TInput, TLevelSetContainer >
typedef
LevelSetContainerType::CacheImageType 
CacheImageType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
LevelSetContainerType::DomainMapImageFilterType 
DomainMapImageFilterType
 
typedef HeavisideType::ConstPointer HeavisideConstPointer
 
typedef
HeavisideStepFunctionBase
< LevelSetOutputRealType,
LevelSetOutputRealType
HeavisideType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TInput InputImageType
 
typedef NumericTraits
< InputPixelType >::RealType 
InputPixelRealType
 
typedef InputImageType::PixelType InputPixelType
 
typedef
LevelSetContainerType::Pointer 
LevelSetContainerPointer
 
typedef TLevelSetContainer LevelSetContainerType
 
typedef
LevelSetContainerType::LevelSetDataType 
LevelSetDataType
 
typedef
LevelSetContainerType::GradientType 
LevelSetGradientType
 
typedef
LevelSetContainerType::HessianType 
LevelSetHessianType
 
typedef
LevelSetContainerType::LevelSetIdentifierType 
LevelSetIdentifierType
 
typedef
LevelSetContainerType::InputIndexType 
LevelSetInputIndexType
 
typedef
LevelSetContainerType::OutputType 
LevelSetOutputPixelType
 
typedef
LevelSetContainerType::OutputRealType 
LevelSetOutputRealType
 
typedef
LevelSetContainerType::LevelSetPointer 
LevelSetPointer
 
typedef
LevelSetContainerType::LevelSetType 
LevelSetType
 
typedef SmartPointer< SelfPointer
 
typedef itksys::hash_set
< std::string > 
RequiredDataType
 
typedef LevelSetEquationTermBase 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 void ComputeProduct (const LevelSetInputIndexType &iP, LevelSetOutputRealType &prod)
 
virtual void ComputeProductTerm (const LevelSetInputIndexType &iP, LevelSetOutputRealType &prod)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual void UpdatePixel (const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue)
 
- Public Member Functions inherited from itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual InputPixelRealType GetMean ()
 
virtual void Initialize (const LevelSetInputIndexType &iP)
 
virtual void InitializeParameters ()
 
virtual void SetMean (InputPixelRealType _arg)
 
virtual void Update ()
 
- Public Member Functions inherited from itk::LevelSetEquationTermBase< TInput, TLevelSetContainer >
virtual LevelSetOutputRealType Evaluate (const LevelSetInputIndexType &iP)
 
virtual LevelSetOutputRealType Evaluate (const LevelSetInputIndexType &iP, const LevelSetDataType &iData)
 
virtual LevelSetOutputRealType GetCFLContribution () const
 
virtual LevelSetOutputRealType GetCoefficient ()
 
virtual LevelSetIdentifierType GetCurrentLevelSetId ()
 
virtual LevelSetTypeGetCurrentLevelSetPointer ()
 
virtual LevelSetContainerTypeGetLevelSetContainer ()
 
const RequiredDataTypeGetRequiredData () const
 
virtual void Initialize (const LevelSetInputIndexType &iP)=0
 
virtual void SetCoefficient (LevelSetOutputRealType _arg)
 
virtual void SetCurrentLevelSetId (LevelSetIdentifierType _arg)
 
virtual void SetLevelSetContainer (LevelSetContainerType *ptr)
 
virtual void UpdatePixel (const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue)=0
 
virtual void SetInput (InputImageType *_arg)
 
virtual InputImageTypeGetInput ()
 
virtual void SetTermName (const char *_arg)
 
virtual const char * GetTermName () const
 
- 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::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >
static Pointer New ()
 

Protected Member Functions

 LevelSetEquationChanAndVeseExternalTerm ()
 
virtual ~LevelSetEquationChanAndVeseExternalTerm ()
 
- Protected Member Functions inherited from itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >
void Accumulate (const InputPixelType &iPix, const LevelSetOutputRealType &iH)
 
 LevelSetEquationChanAndVeseInternalTerm ()
 
virtual LevelSetOutputRealType Value (const LevelSetInputIndexType &iP)
 
virtual LevelSetOutputRealType Value (const LevelSetInputIndexType &iP, const LevelSetDataType &iData)
 
virtual ~LevelSetEquationChanAndVeseInternalTerm ()
 
- Protected Member Functions inherited from itk::LevelSetEquationTermBase< TInput, TLevelSetContainer >
 LevelSetEquationTermBase ()
 
void SetUp ()
 
virtual LevelSetOutputRealType Value (const LevelSetInputIndexType &iP)=0
 
virtual LevelSetOutputRealType Value (const LevelSetInputIndexType &iP, const LevelSetDataType &iData)=0
 
virtual ~LevelSetEquationTermBase ()
 
- 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 ()
 

Private Member Functions

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

Private Attributes

CacheImageTypem_CacheImage
 
DomainMapImageFilterTypem_DomainMapImageFilter
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >
InputPixelRealType m_Mean
 
LevelSetOutputRealType m_TotalH
 
InputPixelRealType m_TotalValue
 

Member Typedef Documentation

template<class TInput , class TLevelSetContainer >
typedef Superclass::CacheImageType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::CacheImageType

Definition at line 85 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef SmartPointer< const Self > itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::ConstPointer

Definition at line 56 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef DomainMapImageFilterType::DomainMapType::const_iterator itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::DomainIteratorType

Definition at line 87 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::DomainMapImageFilterType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::DomainMapImageFilterType

Definition at line 84 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::HeavisideConstPointer itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::HeavisideConstPointer

Definition at line 94 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::HeavisideType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::HeavisideType

Definition at line 93 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef LevelSetContainerType::IdListConstIterator itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::IdListConstIterator

Definition at line 91 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef LevelSetContainerType::IdListIterator itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::IdListIterator

Definition at line 90 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef LevelSetContainerType::IdListType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::IdListType

Definition at line 89 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::InputImagePointer itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::InputImagePointer

Definition at line 69 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::InputImageType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::InputImageType

Definition at line 66 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::InputPixelRealType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::InputPixelRealType

Definition at line 71 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::InputPixelType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::InputPixelType

Definition at line 70 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetContainerPointer itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetContainerPointer

Definition at line 74 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetContainerType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetContainerType

Definition at line 73 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetGradientType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetGradientType

Definition at line 80 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetHessianType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetHessianType

Definition at line 81 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetIdentifierType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetIdentifierType

Definition at line 82 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetInputIndexType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetInputIndexType

Definition at line 79 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetOutputPixelType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetOutputPixelType

Definition at line 77 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetOutputRealType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetOutputRealType

Definition at line 78 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetPointer itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetPointer

Definition at line 76 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetType itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetType

Definition at line 75 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef SmartPointer< Self > itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::Pointer

Definition at line 55 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef LevelSetEquationChanAndVeseExternalTerm itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::Self

Definition at line 54 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

template<class TInput , class TLevelSetContainer >
typedef LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer > itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::Superclass

Definition at line 58 of file itkLevelSetEquationChanAndVeseExternalTerm.h.

Constructor & Destructor Documentation

template<class TInput , class TLevelSetContainer >
itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetEquationChanAndVeseExternalTerm ( )
protected
template<class TInput , class TLevelSetContainer >
virtual itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::~LevelSetEquationChanAndVeseExternalTerm ( )
protectedvirtual
template<class TInput , class TLevelSetContainer >
itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::LevelSetEquationChanAndVeseExternalTerm ( const Self )
private

Member Function Documentation

template<class TInput , class TLevelSetContainer >
virtual void itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::ComputeProduct ( const LevelSetInputIndexType iP,
LevelSetOutputRealType prod 
)
virtual

Compute the product of Heaviside functions in the multi-levelset cases

Reimplemented from itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >.

template<class TInput , class TLevelSetContainer >
virtual void itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::ComputeProductTerm ( const LevelSetInputIndexType iP,
LevelSetOutputRealType prod 
)
virtual

Compute the product of Heaviside functions in the multi-levelset cases except the current levelset

Reimplemented from itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >.

template<class TInput , class TLevelSetContainer >
virtual::itk::LightObject::Pointer itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::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<class TInput , class TLevelSetContainer >
virtual const char* itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::GetNameOfClass ( ) const
virtual
template<class TInput , class TLevelSetContainer >
static Pointer itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::New ( )
static

Method for creation through object factory

template<class TInput , class TLevelSetContainer >
void itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::operator= ( const Self )
private
template<class TInput , class TLevelSetContainer >
virtual void itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::UpdatePixel ( const LevelSetInputIndexType iP,
const LevelSetOutputRealType oldValue,
const LevelSetOutputRealType newValue 
)
virtual

Supply updates at pixels to keep the term parameters always updated

Reimplemented from itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >.

Member Data Documentation

template<class TInput , class TLevelSetContainer >
CacheImageType* itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::m_CacheImage
private
template<class TInput , class TLevelSetContainer >
DomainMapImageFilterType* itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >::m_DomainMapImageFilter
private

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