ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
itk::VectorAnisotropicDiffusionFunction< TImage > Class Template Reference

#include <itkVectorAnisotropicDiffusionFunction.h>

+ Inheritance diagram for itk::VectorAnisotropicDiffusionFunction< TImage >:
+ Collaboration diagram for itk::VectorAnisotropicDiffusionFunction< TImage >:

Detailed Description

template<typename TImage>
class itk::VectorAnisotropicDiffusionFunction< TImage >

This class implements a vector-valued version of AnisotropicDiffusionFunction. Typically in vector-valued diffusion, vector components are diffused independently of one another using a conductance term that is linked across the components. Refer to the the documentation of AnisotropicDiffusionFunction for an overview of anisotropic diffusion. The way that the conductance term is calculated is specific to the specific type of diffusion function.

Data type requirements
This filter was designed to process itk::Images of itk::Vector type. The code relies on various typedefs and overloaded operators defined in itk::Vector. It is perfectly reasonable, however, to apply this filter to images of other, user-defined types as long as the appropriate typedefs and operator overloads are in place. As a general rule, follow the example of itk::Vector in defining your data types.
See Also
AnisotropicDiffusionFunction
ScalarAnisotropicDiffusionFunction

Definition at line 53 of file itkVectorAnisotropicDiffusionFunction.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::ImageType ImageType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef
VectorAnisotropicDiffusionFunction 
Self
 
typedef
AnisotropicDiffusionFunction
< TImage > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
- Public Types inherited from itk::AnisotropicDiffusionFunction< TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::FloatOffsetType FloatOffsetType
 
typedef Superclass::ImageType ImageType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef Superclass::PixelRealType PixelrealType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef
AnisotropicDiffusionFunction 
Self
 
typedef
FiniteDifferenceFunction
< TImage > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
- Public Types inherited from itk::FiniteDifferenceFunction< TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
ZeroFluxNeumannBoundaryCondition
< ImageType
DefaultBoundaryConditionType
 
typedef Vector< float,
itkGetStaticConstMacro(ImageDimension) > 
FloatOffsetType
 
typedef TImage ImageType
 
typedef Vector< PixelRealType,
itkGetStaticConstMacro(ImageDimension) > 
NeighborhoodScalesType
 
typedef
ConstNeighborhoodIterator
< TImage,
DefaultBoundaryConditionType
NeighborhoodType
 
typedef double PixelRealType
 
typedef ImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
ConstNeighborhoodIterator
< TImage >::RadiusType 
RadiusType
 
typedef FiniteDifferenceFunction Self
 
typedef LightObject Superclass
 
typedef double TimeStepType
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual void CalculateAverageGradientMagnitudeSquared (TImage *)
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::AnisotropicDiffusionFunction< TImage >
virtual TimeStepType ComputeGlobalTimeStep (void *) const
 
const double & GetAverageGradientMagnitudeSquared () const
 
const double & GetConductanceParameter () const
 
virtual void * GetGlobalDataPointer () const
 
const TimeStepTypeGetTimeStep () const
 
virtual void ReleaseGlobalDataPointer (void *) const
 
void SetAverageGradientMagnitudeSquared (const double &c)
 
void SetConductanceParameter (const double &c)
 
void SetTimeStep (const TimeStepType &t)
 
- Public Member Functions inherited from itk::FiniteDifferenceFunction< TImage >
const NeighborhoodScalesType ComputeNeighborhoodScales () const
 
virtual PixelType ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0))=0
 
const RadiusTypeGetRadius () const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
virtual void InitializeIteration ()
 
void SetRadius (const RadiusType &r)
 
void SetScaleCoefficients (PixelRealType vals[ImageDimension])
 
- Public Member Functions inherited from itk::LightObject
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const
 

Static Public Attributes

static const unsigned int ImageDimension = Superclass::ImageDimension
 
static const unsigned int VectorDimension = PixelType::Dimension
 
- Static Public Attributes inherited from itk::AnisotropicDiffusionFunction< TImage >
static const unsigned int ImageDimension = Superclass::ImageDimension
 
- Static Public Attributes inherited from itk::FiniteDifferenceFunction< TImage >
static const unsigned int ImageDimension
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const
 
 VectorAnisotropicDiffusionFunction ()
 
 ~VectorAnisotropicDiffusionFunction ()
 
- Protected Member Functions inherited from itk::AnisotropicDiffusionFunction< TImage >
 AnisotropicDiffusionFunction ()
 
 ~AnisotropicDiffusionFunction ()
 
- Protected Member Functions inherited from itk::FiniteDifferenceFunction< TImage >
 FiniteDifferenceFunction ()
 
 ~FiniteDifferenceFunction ()
 
- 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

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

Additional Inherited Members

- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::FiniteDifferenceFunction< TImage >
RadiusType m_Radius
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<typename TImage >
typedef SmartPointer< const Self > itk::VectorAnisotropicDiffusionFunction< TImage >::ConstPointer

Definition at line 61 of file itkVectorAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef Superclass::ImageType itk::VectorAnisotropicDiffusionFunction< TImage >::ImageType

Inherit some parameters from the superclass type

Definition at line 65 of file itkVectorAnisotropicDiffusionFunction.h.

Definition at line 72 of file itkVectorAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef Superclass::PixelType itk::VectorAnisotropicDiffusionFunction< TImage >::PixelType

Definition at line 69 of file itkVectorAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef SmartPointer< Self > itk::VectorAnisotropicDiffusionFunction< TImage >::Pointer

Definition at line 60 of file itkVectorAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef Superclass::RadiusType itk::VectorAnisotropicDiffusionFunction< TImage >::RadiusType

Definition at line 71 of file itkVectorAnisotropicDiffusionFunction.h.

Standard class typedefs.

Definition at line 58 of file itkVectorAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef AnisotropicDiffusionFunction< TImage > itk::VectorAnisotropicDiffusionFunction< TImage >::Superclass

Definition at line 59 of file itkVectorAnisotropicDiffusionFunction.h.

template<typename TImage >
typedef Superclass::TimeStepType itk::VectorAnisotropicDiffusionFunction< TImage >::TimeStepType

Definition at line 70 of file itkVectorAnisotropicDiffusionFunction.h.

Constructor & Destructor Documentation

template<typename TImage >
itk::VectorAnisotropicDiffusionFunction< TImage >::VectorAnisotropicDiffusionFunction ( )
inlineprotected

Definition at line 84 of file itkVectorAnisotropicDiffusionFunction.h.

template<typename TImage >
itk::VectorAnisotropicDiffusionFunction< TImage >::~VectorAnisotropicDiffusionFunction ( )
inlineprotected

Definition at line 85 of file itkVectorAnisotropicDiffusionFunction.h.

template<typename TImage >
itk::VectorAnisotropicDiffusionFunction< TImage >::VectorAnisotropicDiffusionFunction ( const Self )
private

Member Function Documentation

template<typename TImage >
virtual void itk::VectorAnisotropicDiffusionFunction< TImage >::CalculateAverageGradientMagnitudeSquared ( TImage *  )
virtual

Compute the average gradient magnitude squared.

Implements itk::AnisotropicDiffusionFunction< TImage >.

template<typename TImage >
virtual const char* itk::VectorAnisotropicDiffusionFunction< TImage >::GetNameOfClass ( ) const
virtual
template<typename TImage >
void itk::VectorAnisotropicDiffusionFunction< TImage >::operator= ( const Self )
private
template<typename TImage >
void itk::VectorAnisotropicDiffusionFunction< TImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
inlineprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::AnisotropicDiffusionFunction< TImage >.

Reimplemented in itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >.

Definition at line 86 of file itkVectorAnisotropicDiffusionFunction.h.

References itk::AnisotropicDiffusionFunction< TImage >::PrintSelf().

Referenced by itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::PrintSelf().

Member Data Documentation

template<typename TImage >
const unsigned int itk::VectorAnisotropicDiffusionFunction< TImage >::ImageDimension = Superclass::ImageDimension
static

Inherit some parameters from the superclass type

Definition at line 76 of file itkVectorAnisotropicDiffusionFunction.h.

template<typename TImage >
const unsigned int itk::VectorAnisotropicDiffusionFunction< TImage >::VectorDimension = PixelType::Dimension
static

Inherit some parameters from the superclass type

Definition at line 77 of file itkVectorAnisotropicDiffusionFunction.h.


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