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

#include <itkVectorGradientNDAnisotropicDiffusionFunction.h>

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

Detailed Description

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

This class is a simple extension of the GradientNDAnisotropicDiffusionFunction to pixel types of multiple components. Vector components are diffused separately, but diffusion of each component is limited by a conductance term which depends on all components.

For more information, please see GradientNDAnisotropicDiffusionFunction.

See Also
GradientNDAnisotropicDiffusionFunction
VectorCurvatureNDAnisotropicDiffusionFunction
AnisotropicDiffusionFunction

Definition at line 44 of file itkVectorGradientNDAnisotropicDiffusionFunction.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::FloatOffsetType FloatOffsetType
 
typedef Superclass::ImageType ImageType
 
typedef
Superclass::NeighborhoodType 
NeighborhoodType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RadiusType RadiusType
 
typedef PixelType::ValueType ScalarValueType
 
typedef
VectorGradientNDAnisotropicDiffusionFunction 
Self
 
typedef
VectorAnisotropicDiffusionFunction
< TImage > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
- Public Types inherited from itk::VectorAnisotropicDiffusionFunction< TImage >
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 PixelType ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0)) override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual void InitializeIteration () override
 
- Public Member Functions inherited from itk::VectorAnisotropicDiffusionFunction< TImage >
virtual void CalculateAverageGradientMagnitudeSquared (TImage *) override
 
- Public Member Functions inherited from itk::AnisotropicDiffusionFunction< TImage >
virtual TimeStepType ComputeGlobalTimeStep (void *) const override
 
const double & GetAverageGradientMagnitudeSquared () const
 
const double & GetConductanceParameter () const
 
virtual void * GetGlobalDataPointer () const override
 
const TimeStepTypeGetTimeStep () const
 
virtual void ReleaseGlobalDataPointer (void *) const override
 
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
 
const RadiusTypeGetRadius () const
 
void GetScaleCoefficients (PixelRealType vals[ImageDimension]) const
 
void SetRadius (const RadiusType &r)
 
void SetScaleCoefficients (PixelRealType vals[ImageDimension])
 
- 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
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = Superclass::ImageDimension
 
static const unsigned int VectorDimension = Superclass::VectorDimension
 
- Static Public Attributes inherited from itk::VectorAnisotropicDiffusionFunction< TImage >
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

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

Private Attributes

DerivativeOperator
< ScalarValueType,
itkGetStaticConstMacro(ImageDimension) > 
dx_op
 
SizeValueType m_Center
 
VectorNeighborhoodInnerProduct
< ImageType
m_InnerProduct
 
ScalarValueType m_K
 
SizeValueType m_Stride [ImageDimension]
 
std::slice x_slice [ImageDimension]
 
std::slice xa_slice [ImageDimension][ImageDimension]
 
std::slice xd_slice [ImageDimension][ImageDimension]
 

Static Private Attributes

static double m_MIN_NORM
 

Additional Inherited Members

- Protected Attributes inherited from itk::FiniteDifferenceFunction< TImage >
RadiusType m_Radius
 
PixelRealType m_ScaleCoefficients [ImageDimension]
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

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

Inherit some parameters from the superclass type.

Definition at line 59 of file itkVectorGradientNDAnisotropicDiffusionFunction.h.

template<typename TImage>
typedef SmartPointer< Self > itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::Pointer
template<typename TImage>
typedef PixelType::ValueType itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::ScalarValueType

Type of a value in a vector (double, float, etc.)

Definition at line 77 of file itkVectorGradientNDAnisotropicDiffusionFunction.h.

Standard class typedefs.

Definition at line 49 of file itkVectorGradientNDAnisotropicDiffusionFunction.h.

Constructor & Destructor Documentation

Member Function Documentation

template<typename TImage>
virtual PixelType itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::ComputeUpdate ( const NeighborhoodType neighborhood,
void *  globalData,
const FloatOffsetType offset = FloatOffsetType(0.0) 
)
overridevirtual

Compute the equation value.

Implements itk::FiniteDifferenceFunction< TImage >.

template<typename TImage>
virtual::itk::LightObject::Pointer itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::CreateAnother ( ) 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::LightObject.

template<typename TImage>
virtual const char* itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::VectorAnisotropicDiffusionFunction< TImage >.

template<typename TImage>
virtual void itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::InitializeIteration ( )
inlineoverridevirtual
template<typename TImage>
static Pointer itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::New ( )
static
template<typename TImage>
void itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::operator= ( const Self )
private

Member Data Documentation

template<typename TImage>
DerivativeOperator< ScalarValueType, itkGetStaticConstMacro(ImageDimension) > itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::dx_op
private

Derivative operators.

Definition at line 110 of file itkVectorGradientNDAnisotropicDiffusionFunction.h.

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

Extract vector and image dimension from superclass.

Definition at line 71 of file itkVectorGradientNDAnisotropicDiffusionFunction.h.

template<typename TImage>
SizeValueType itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::m_Center
private
template<typename TImage>
VectorNeighborhoodInnerProduct< ImageType > itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::m_InnerProduct
private

Inner product function.

Definition at line 101 of file itkVectorGradientNDAnisotropicDiffusionFunction.h.

template<typename TImage>
ScalarValueType itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::m_K
private

Modified global average gradient magnitude term.

Definition at line 113 of file itkVectorGradientNDAnisotropicDiffusionFunction.h.

Referenced by itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::InitializeIteration().

template<typename TImage>
double itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::m_MIN_NORM
staticprivate
template<typename TImage>
SizeValueType itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::m_Stride[ImageDimension]
private
template<typename TImage>
const unsigned int itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::VectorDimension = Superclass::VectorDimension
static

Extract vector and image dimension from superclass.

Definition at line 73 of file itkVectorGradientNDAnisotropicDiffusionFunction.h.

template<typename TImage>
std::slice itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::x_slice[ImageDimension]
private

Slices for the ND neighborhood.

Definition at line 104 of file itkVectorGradientNDAnisotropicDiffusionFunction.h.

template<typename TImage>
std::slice itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::xa_slice[ImageDimension][ImageDimension]
private
template<typename TImage>
std::slice itk::VectorGradientNDAnisotropicDiffusionFunction< TImage >::xd_slice[ImageDimension][ImageDimension]
private

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