Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::GradientNDAnisotropicDiffusionFunction< TImage > Class Template Reference
[Finite Difference FunctionsImage Enhancement Filters]

#include <itkGradientNDAnisotropicDiffusionFunction.h>

Inheritance diagram for itk::GradientNDAnisotropicDiffusionFunction:

Inheritance graph
[legend]
Collaboration diagram for itk::GradientNDAnisotropicDiffusionFunction< TImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef GradientNDAnisotropicDiffusionFunction Self
typedef ScalarAnisotropicDiffusionFunction<
TImage > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::ImageType ImageType
typedef Superclass::PixelType PixelType
typedef Superclass::TimeStepType TimeStepType
typedef Superclass::RadiusType RadiusType
typedef Superclass::NeighborhoodType NeighborhoodType
typedef Superclass::BoundaryNeighborhoodType BoundaryNeighborhoodType
typedef Superclass::FloatOffsetType FloatOffsetType

Public Methods

virtual const char * GetClassName () const
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
virtual void InitializeIteration ()
virtual PixelType ComputeUpdate (const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=m_ZeroOffset) const
virtual PixelType ComputeUpdate (const BoundaryNeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=m_ZeroOffset) const

Static Public Methods

Pointer New ()

Protected Methods

 GradientNDAnisotropicDiffusionFunction ()
 ~GradientNDAnisotropicDiffusionFunction ()
void PrintSelf (std::ostream &os, Indent indent) const

Protected Attributes

NeighborhoodInnerProduct<
ImageType
m_InnerProduct
SmartNeighborhoodInnerProduct<
ImageType
m_SmartInnerProduct
std::slice x_slice [ImageDimension]
std::slice xa_slice [ImageDimension][ImageDimension]
std::slice xd_slice [ImageDimension][ImageDimension]
DerivativeOperator< PixelType,
itkGetStaticConstMacro(ImageDimension) 
dx_op )
PixelType m_K
unsigned long m_Center
unsigned long m_Stride [ImageDimension]

Static Protected Attributes

double m_MIN_NORM

Detailed Description

template<class TImage>
class itk::GradientNDAnisotropicDiffusionFunction< TImage >

This class implements an N-dimensional version of the classic Perona-Malik anisotropic diffusion equation for scalar-valued images. See itkAnisotropicDiffusionFunction for an overview of the anisotropic diffusion framework and equation.

The conductance term for this implementation is chosen as a function of the gradient magnitude of the image at each point, reducing the strength of diffusion at edge pixels.

.

The numerical implementation of this equation is similar to that described in the Perona-Malik paper below, but uses a more robust technique for gradient magnitude estimation and has been generalized to N-dimensions.

References
Pietro Perona and Jalhandra Malik, ``Scale-space and edge detection using anisotropic diffusion,'' IEEE Transactions on Pattern Analysis Machine Intelligence, vol. 12, pp. 629-639, 1990.
See also:
AnisotropicDiffusionFunction , VectorAnisotropicDiffusionFunction , VectorGradientAnisotropicDiffusionFunction , CurvatureNDAnisotropicDiffusionFunction

Definition at line 59 of file itkGradientNDAnisotropicDiffusionFunction.h.


Member Typedef Documentation

template<class TImage>
typedef Superclass::BoundaryNeighborhoodType itk::GradientNDAnisotropicDiffusionFunction< TImage >::BoundaryNeighborhoodType
 

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 83 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
typedef SmartPointer<const Self> itk::GradientNDAnisotropicDiffusionFunction< TImage >::ConstPointer
 

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 67 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
typedef Superclass::FloatOffsetType itk::GradientNDAnisotropicDiffusionFunction< TImage >::FloatOffsetType
 

Reimplemented from itk::AnisotropicDiffusionFunction< TImage >.

Definition at line 84 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
typedef Superclass::ImageType itk::GradientNDAnisotropicDiffusionFunction< TImage >::ImageType
 

Inherit some parameters from the superclass type.

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 77 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
typedef Superclass::NeighborhoodType itk::GradientNDAnisotropicDiffusionFunction< TImage >::NeighborhoodType
 

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 81 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
typedef Superclass::PixelType itk::GradientNDAnisotropicDiffusionFunction< TImage >::PixelType
 

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 78 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
typedef SmartPointer<Self> itk::GradientNDAnisotropicDiffusionFunction< TImage >::Pointer
 

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 66 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
typedef Superclass::RadiusType itk::GradientNDAnisotropicDiffusionFunction< TImage >::RadiusType
 

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 80 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
typedef GradientNDAnisotropicDiffusionFunction itk::GradientNDAnisotropicDiffusionFunction< TImage >::Self
 

Standard class typedefs.

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 64 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
typedef ScalarAnisotropicDiffusionFunction<TImage> itk::GradientNDAnisotropicDiffusionFunction< TImage >::Superclass
 

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 65 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
typedef Superclass::TimeStepType itk::GradientNDAnisotropicDiffusionFunction< TImage >::TimeStepType
 

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 79 of file itkGradientNDAnisotropicDiffusionFunction.h.


Constructor & Destructor Documentation

template<class TImage>
itk::GradientNDAnisotropicDiffusionFunction< TImage >::GradientNDAnisotropicDiffusionFunction   [protected]
 

template<class TImage>
itk::GradientNDAnisotropicDiffusionFunction< TImage >::~GradientNDAnisotropicDiffusionFunction   [inline, protected]
 

Definition at line 109 of file itkGradientNDAnisotropicDiffusionFunction.h.


Member Function Documentation

template<class TImage>
virtual PixelType itk::GradientNDAnisotropicDiffusionFunction< TImage >::ComputeUpdate const BoundaryNeighborhoodType   neighborhood,
void *    globalData,
const FloatOffsetType   offset = m_ZeroOffset
const [virtual]
 

Compute the equation value.

Implements itk::FiniteDifferenceFunction< TImage >.

template<class TImage>
virtual PixelType itk::GradientNDAnisotropicDiffusionFunction< TImage >::ComputeUpdate const NeighborhoodType   neighborhood,
void *    globalData,
const FloatOffsetType   offset = m_ZeroOffset
const [virtual]
 

Compute the equation value.

Implements itk::FiniteDifferenceFunction< TImage >.

template<class TImage>
virtual const char* itk::GradientNDAnisotropicDiffusionFunction< TImage >::GetClassName   const [virtual]
 

Run-time type information (and related methods)

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

template<class TImage>
virtual void itk::GradientNDAnisotropicDiffusionFunction< TImage >::InitializeIteration   [inline, virtual]
 

This method is called prior to each iteration of the solver.

Reimplemented from itk::FiniteDifferenceFunction< TImage >.

Definition at line 101 of file itkGradientNDAnisotropicDiffusionFunction.h.

References itk::AnisotropicDiffusionFunction< TImage >::GetAverageGradientMagnitudeSquared(), itk::AnisotropicDiffusionFunction< TImage >::GetConductanceParameter(), and itk::GradientNDAnisotropicDiffusionFunction< TImage >::m_K.

template<class TImage>
itk::GradientNDAnisotropicDiffusionFunction< TImage >::itkStaticConstMacro ImageDimension   ,
unsigned    int,
Superclass::ImageDimension   
 

Inherit some parameters from the superclass type.

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

template<class TImage>
Pointer itk::GradientNDAnisotropicDiffusionFunction< TImage >::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::LightObject.

template<class TImage>
void itk::GradientNDAnisotropicDiffusionFunction< TImage >::PrintSelf std::ostream &    os,
Indent    indent
const [inline, protected, virtual]
 

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::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 111 of file itkGradientNDAnisotropicDiffusionFunction.h.


Member Data Documentation

template<class TImage>
DerivativeOperator<PixelType, itkGetStaticConstMacro(ImageDimension) itk::GradientNDAnisotropicDiffusionFunction< TImage >::dx_op) [protected]
 

Derivative operator.

Definition at line 126 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
unsigned long itk::GradientNDAnisotropicDiffusionFunction< TImage >::m_Center [protected]
 

Definition at line 131 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
NeighborhoodInnerProduct<ImageType> itk::GradientNDAnisotropicDiffusionFunction< TImage >::m_InnerProduct [protected]
 

Inner product function.

Definition at line 115 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
PixelType itk::GradientNDAnisotropicDiffusionFunction< TImage >::m_K [protected]
 

Modified global average gradient magnitude term.

Definition at line 129 of file itkGradientNDAnisotropicDiffusionFunction.h.

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

template<class TImage>
double itk::GradientNDAnisotropicDiffusionFunction< TImage >::m_MIN_NORM [static, protected]
 

Definition at line 134 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
SmartNeighborhoodInnerProduct<ImageType> itk::GradientNDAnisotropicDiffusionFunction< TImage >::m_SmartInnerProduct [protected]
 

Boundary Inner product function.

Definition at line 118 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
unsigned long itk::GradientNDAnisotropicDiffusionFunction< TImage >::m_Stride[ImageDimension] [protected]
 

Definition at line 132 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
std::slice itk::GradientNDAnisotropicDiffusionFunction< TImage >::x_slice[ImageDimension] [protected]
 

Slices for the ND neighborhood.

Definition at line 121 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
std::slice itk::GradientNDAnisotropicDiffusionFunction< TImage >::xa_slice[ImageDimension][ImageDimension] [protected]
 

Definition at line 122 of file itkGradientNDAnisotropicDiffusionFunction.h.

template<class TImage>
std::slice itk::GradientNDAnisotropicDiffusionFunction< TImage >::xd_slice[ImageDimension][ImageDimension] [protected]
 

Definition at line 123 of file itkGradientNDAnisotropicDiffusionFunction.h.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:16:43 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000