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

#include <itkLevelSetEquationBinaryMaskTerm.h>

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

Detailed Description

template<typename TInput, typename TLevelSetContainer>
class itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >

Class to represent the mask boundary as a negative energy.

\[ M\left( p \right) \cdot \]

Template Parameters
TInputInput Image Type
TLevelSetContainerLevel set function container type

Definition at line 44 of file itkLevelSetEquationBinaryMaskTerm.h.

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
LevelSetEquationBinaryMaskTerm 
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 ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual void Initialize (const LevelSetInputIndexType &iP)
 
virtual void InitializeParameters ()
 
virtual void SetMask (InputImageType *_arg)
 
virtual void Update ()
 
virtual void UpdatePixel (const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue)
 
- 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 const LevelSetTypeGetCurrentLevelSetPointer () const
 
virtual const
LevelSetContainerType
GetLevelSetContainer () const
 
virtual LevelSetTypeGetModifiableCurrentLevelSetPointer ()
 
virtual LevelSetContainerTypeGetModifiableLevelSetContainer ()
 
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 InputImageTypeGetModifiableInput ()
 
virtual const InputImageTypeGetInput () const
 
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 ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
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 ()
 

Protected Member Functions

 LevelSetEquationBinaryMaskTerm ()
 
virtual LevelSetOutputRealType Value (const LevelSetInputIndexType &iP)
 
virtual LevelSetOutputRealType Value (const LevelSetInputIndexType &iP, const LevelSetDataType &iData)
 
virtual ~LevelSetEquationBinaryMaskTerm ()
 
- 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 ITK_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

InputImagePointer m_Mask
 
- Protected Attributes inherited from itk::LevelSetEquationTermBase< TInput, TLevelSetContainer >
LevelSetOutputRealType m_CFLContribution
 
LevelSetOutputRealType m_Coefficient
 
LevelSetIdentifierType m_CurrentLevelSetId
 
LevelSetPointer m_CurrentLevelSetPointer
 
HeavisideConstPointer m_Heaviside
 
InputImagePointer m_Input
 
LevelSetContainerPointer m_LevelSetContainer
 
RequiredDataType m_RequiredData
 
std::string m_TermName
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Private Member Functions

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

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::CacheImageType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::CacheImageType

Definition at line 83 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef SmartPointer< const Self > itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::ConstPointer

Definition at line 50 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::DomainMapImageFilterType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::DomainMapImageFilterType

Definition at line 82 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::HeavisideConstPointer itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::HeavisideConstPointer

Definition at line 78 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::HeavisideType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::HeavisideType

Definition at line 77 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::InputImagePointer itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::InputImagePointer

Definition at line 62 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::InputImageType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::InputImageType

Definition at line 59 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::InputPixelRealType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::InputPixelRealType

Definition at line 64 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::InputPixelType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::InputPixelType

Definition at line 63 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetContainerPointer itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetContainerPointer

Definition at line 67 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetContainerType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetContainerType

Definition at line 66 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetDataType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetDataType

Definition at line 80 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetGradientType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetGradientType

Definition at line 73 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetHessianType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetHessianType

Definition at line 74 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetIdentifierType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetIdentifierType

Definition at line 75 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetInputIndexType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetInputIndexType

Definition at line 72 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetOutputPixelType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetOutputPixelType

Definition at line 70 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetOutputRealType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetOutputRealType

Definition at line 71 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetPointer itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetPointer

Definition at line 69 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef Superclass::LevelSetType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::LevelSetType

Definition at line 68 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef SmartPointer< Self > itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::Pointer

Definition at line 49 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef LevelSetEquationBinaryMaskTerm itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::Self

Definition at line 48 of file itkLevelSetEquationBinaryMaskTerm.h.

template<typename TInput , typename TLevelSetContainer >
typedef LevelSetEquationTermBase< TInput, TLevelSetContainer > itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::Superclass

Definition at line 52 of file itkLevelSetEquationBinaryMaskTerm.h.

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename TInput , typename TLevelSetContainer >
virtual::itk::LightObject::Pointer itk::LevelSetEquationBinaryMaskTerm< 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<typename TInput , typename TLevelSetContainer >
virtual const char* itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::GetNameOfClass ( ) const
virtual

Run-time type information

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

template<typename TInput , typename TLevelSetContainer >
virtual void itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::Initialize ( const LevelSetInputIndexType iP)
virtual

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

template<typename TInput , typename TLevelSetContainer >
virtual void itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::InitializeParameters ( )
virtual

Initialize parameters in the terms prior to an iteration

Implements itk::LevelSetEquationTermBase< TInput, TLevelSetContainer >.

template<typename TInput , typename TLevelSetContainer >
static Pointer itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::New ( )
static

Method for creation through object factory

template<typename TInput , typename TLevelSetContainer >
void itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::operator= ( const Self )
private
template<typename TInput , typename TLevelSetContainer >
virtual void itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::SetMask ( InputImageType _arg)
virtual
template<typename TInput , typename TLevelSetContainer >
virtual void itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::Update ( )
virtual

Update the term parameter values at end of iteration

Implements itk::LevelSetEquationTermBase< TInput, TLevelSetContainer >.

template<typename TInput , typename TLevelSetContainer >
virtual void itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::UpdatePixel ( const LevelSetInputIndexType iP,
const LevelSetOutputRealType oldValue,
const LevelSetOutputRealType newValue 
)
virtual

Supply updates at pixels to keep the term parameters always updated

template<typename TInput , typename TLevelSetContainer >
virtual LevelSetOutputRealType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::Value ( const LevelSetInputIndexType iP)
protectedvirtual

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

template<typename TInput , typename TLevelSetContainer >
virtual LevelSetOutputRealType itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::Value ( const LevelSetInputIndexType iP,
const LevelSetDataType iData 
)
protectedvirtual

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

Member Data Documentation

template<typename TInput , typename TLevelSetContainer >
InputImagePointer itk::LevelSetEquationBinaryMaskTerm< TInput, TLevelSetContainer >::m_Mask
protected

Definition at line 116 of file itkLevelSetEquationBinaryMaskTerm.h.


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