ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer > Class Template Reference

Class to represent the internal energy Chan And Vese term. More...

#include <itkLevelSetEquationChanAndVeseInternalTerm.h>

Inheritance diagram for itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >:
Collaboration diagram for itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >:

List of all members.

Public Types

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 Member Functions

virtual void ComputeProduct (const LevelSetInputIndexType &iP, LevelSetOutputRealType &prod)
virtual void ComputeProductTerm (const LevelSetInputIndexType &, LevelSetOutputRealType &)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual InputPixelRealType GetMean ()
virtual const char * GetNameOfClass () const
virtual void Initialize (const LevelSetInputIndexType &iP)
virtual void InitializeParameters ()
virtual void SetMean (InputPixelRealType _arg)
virtual void Update ()
virtual void UpdatePixel (const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue)

Static Public Member Functions

static Pointer New ()

Protected Member Functions

void Accumulate (const InputPixelType &iPix, const LevelSetOutputRealType &iH)
 LevelSetEquationChanAndVeseInternalTerm ()
virtual LevelSetOutputRealType Value (const LevelSetInputIndexType &iP, const LevelSetDataType &iData)
virtual LevelSetOutputRealType Value (const LevelSetInputIndexType &iP)
virtual ~LevelSetEquationChanAndVeseInternalTerm ()

Protected Attributes

InputPixelRealType m_Mean
LevelSetOutputRealType m_TotalH
InputPixelRealType m_TotalValue

Private Member Functions

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

Detailed Description

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

Class to represent the internal energy Chan And Vese term.

\[ \delta_{\epsilon}\left( \phi_{k} \left( p \right) \right) \cdot \left\| I\left( p \right) - \mu_{in} \right\|^2 \cdot \]

Template Parameters:
TInputInput Image Type
TLevelSetContainerLevel set function container type

Definition at line 48 of file itkLevelSetEquationChanAndVeseInternalTerm.h.


Member Typedef Documentation

template<class TInput , class TLevelSetContainer >
typedef Superclass::CacheImageType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::CacheImageType
template<class TInput , class TLevelSetContainer >
typedef SmartPointer< const Self > itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::ConstPointer
template<class TInput , class TLevelSetContainer >
typedef Superclass::DomainMapImageFilterType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::DomainMapImageFilterType
template<class TInput , class TLevelSetContainer >
typedef Superclass::HeavisideConstPointer itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::HeavisideConstPointer
template<class TInput , class TLevelSetContainer >
typedef Superclass::HeavisideType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::HeavisideType
template<class TInput , class TLevelSetContainer >
typedef Superclass::InputImagePointer itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::InputImagePointer
template<class TInput , class TLevelSetContainer >
typedef Superclass::InputImageType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::InputImageType
template<class TInput , class TLevelSetContainer >
typedef Superclass::InputPixelRealType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::InputPixelRealType
template<class TInput , class TLevelSetContainer >
typedef Superclass::InputPixelType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::InputPixelType
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetContainerPointer itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetContainerPointer
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetContainerType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetContainerType
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetDataType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetDataType
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetGradientType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetGradientType
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetHessianType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetHessianType
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetIdentifierType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetIdentifierType
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetInputIndexType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetInputIndexType
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetOutputPixelType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetOutputPixelType
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetOutputRealType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetOutputRealType
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetPointer itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetPointer
template<class TInput , class TLevelSetContainer >
typedef Superclass::LevelSetType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetType
template<class TInput , class TLevelSetContainer >
typedef SmartPointer< Self > itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::Pointer
template<class TInput , class TLevelSetContainer >
typedef LevelSetEquationChanAndVeseInternalTerm itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::Self
template<class TInput , class TLevelSetContainer >
typedef LevelSetEquationTermBase< TInput, TLevelSetContainer > itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::Superclass

Constructor & Destructor Documentation

template<class TInput , class TLevelSetContainer >
itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetEquationChanAndVeseInternalTerm ( ) [protected]
template<class TInput , class TLevelSetContainer >
virtual itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::~LevelSetEquationChanAndVeseInternalTerm ( ) [protected, virtual]
template<class TInput , class TLevelSetContainer >
itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::LevelSetEquationChanAndVeseInternalTerm ( const Self ) [private]

Member Function Documentation

template<class TInput , class TLevelSetContainer >
void itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::Accumulate ( const InputPixelType iPix,
const LevelSetOutputRealType iH 
) [protected]

Accumulate contribution to term parameters from a given pixel

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

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

Reimplemented in itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >.

template<class TInput , class TLevelSetContainer >
virtual void itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::ComputeProductTerm ( const LevelSetInputIndexType ,
LevelSetOutputRealType  
) [inline, virtual]

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

Reimplemented in itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >.

Definition at line 108 of file itkLevelSetEquationChanAndVeseInternalTerm.h.

template<class TInput , class TLevelSetContainer >
virtual::itk::LightObject::Pointer itk::LevelSetEquationChanAndVeseInternalTerm< 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.

Reimplemented in itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >.

template<class TInput , class TLevelSetContainer >
virtual InputPixelRealType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::GetMean ( ) [virtual]
template<class TInput , class TLevelSetContainer >
virtual const char* itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::GetNameOfClass ( ) const [virtual]
template<class TInput , class TLevelSetContainer >
virtual void itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::Initialize ( const LevelSetInputIndexType iP) [virtual]

Initialize term parameters in the dense case by computing for each pixel location

template<class TInput , class TLevelSetContainer >
virtual void itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::InitializeParameters ( ) [virtual]

Initialize parameters in the terms prior to an iteration

Implements itk::LevelSetEquationTermBase< TInput, TLevelSetContainer >.

template<class TInput , class TLevelSetContainer >
static Pointer itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::New ( ) [static]

Method for creation through object factory

Reimplemented from itk::Object.

Reimplemented in itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >.

template<class TInput , class TLevelSetContainer >
void itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::operator= ( const Self ) [private]

Mutex lock to protect modification to the reference count

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

Reimplemented in itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >.

template<class TInput , class TLevelSetContainer >
virtual void itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::SetMean ( InputPixelRealType  _arg) [virtual]
template<class TInput , class TLevelSetContainer >
virtual void itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::Update ( ) [virtual]

Update the term parameter values at end of iteration

Implements itk::LevelSetEquationTermBase< TInput, TLevelSetContainer >.

template<class TInput , class TLevelSetContainer >
virtual void itk::LevelSetEquationChanAndVeseInternalTerm< 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 in itk::LevelSetEquationChanAndVeseExternalTerm< TInput, TLevelSetContainer >.

template<class TInput , class TLevelSetContainer >
virtual LevelSetOutputRealType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::Value ( const LevelSetInputIndexType iP) [protected, virtual]

Returns the term contribution for a given location iP, i.e. $ \omega_i( p ) $.

template<class TInput , class TLevelSetContainer >
virtual LevelSetOutputRealType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::Value ( const LevelSetInputIndexType iP,
const LevelSetDataType iData 
) [protected, virtual]

Returns the term contribution for a given location iP, i.e. $ \omega_i( p ) $.


Member Data Documentation

template<class TInput , class TLevelSetContainer >
InputPixelRealType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::m_Mean [protected]
template<class TInput , class TLevelSetContainer >
LevelSetOutputRealType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::m_TotalH [protected]
template<class TInput , class TLevelSetContainer >
InputPixelRealType itk::LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer >::m_TotalValue [protected]

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