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

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

#include <itkCurvatureNDAnisotropicDiffusionFunction.h>

Inheritance diagram for itk::CurvatureNDAnisotropicDiffusionFunction:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef CurvatureNDAnisotropicDiffusionFunction 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::FloatOffsetType FloatOffsetType

Public Methods

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

Static Public Methods

Pointer New ()

Protected Methods

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

Detailed Description

template<class TImage>
class itk::CurvatureNDAnisotropicDiffusionFunction< TImage >

This class implements a variation on the classic, Perona-Malik anisotropic image diffusion equation as described in itkGradientNDAnisotropicDiffusionFunction. This object is a level-set analog of that equation and will be referred to below as the modified curvature diffusion equation (MCDE). MCDE does not exhibit the edge enhancing properties of classic anisotropic diffusion, which can under certain conditions undergo a ``negative'' diffusion,which enhances the contrast of edges. Equations of the form of MCDE always undergo positive diffusion, with the conductance term only varying the strength of that diffusion.

Qualitatively, MCDE compares well with other non-linear diffusion techniques. It is less sensitive to contrast than classic Perona-Malik style diffusion, and preserves finer detailed structures in images. There is a potential speed trade-off for using this function in place of itkGradientNDAnisotropicDiffusionFunction. Each iteration of the solution takes roughly twice as long. Fewer iterations, however, may be required to reach an acceptable solution.

The MCDE equation is given as:

,

where the conductance modified curvature term is

.

References
R. Whitaker and X. Xue. Variable-Conductance, Level-Set Curvature for Image Processing, ICIP 2001.
See also:
AnisotropicDiffusionFunction
Todo:
References

Definition at line 71 of file itkCurvatureNDAnisotropicDiffusionFunction.h.


Member Typedef Documentation

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

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 80 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

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

Reimplemented from itk::AnisotropicDiffusionFunction< TImage >.

Definition at line 95 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

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

Inherit some parameters from the superclass type.

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 90 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

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

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 94 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

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

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 91 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

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

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 79 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

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

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 93 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

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

Standard class typedefs.

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 77 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

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

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 78 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

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

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

Definition at line 92 of file itkCurvatureNDAnisotropicDiffusionFunction.h.


Constructor & Destructor Documentation

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

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

Definition at line 115 of file itkCurvatureNDAnisotropicDiffusionFunction.h.


Member Function Documentation

template<class TImage>
virtual PixelType itk::CurvatureNDAnisotropicDiffusionFunction< TImage >::ComputeUpdate const NeighborhoodType   neighborhood,
void *    globalData,
const FloatOffsetType   offset = FloatOffsetType(0.0)
const [virtual]
 

Compute incremental update.

Implements itk::FiniteDifferenceFunction< TImage >.

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

Run-time type information (and related methods)

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

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

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

Reimplemented from itk::FiniteDifferenceFunction< TImage >.

Definition at line 107 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

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

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

Inherit some parameters from the superclass type.

Reimplemented from itk::ScalarAnisotropicDiffusionFunction< TImage >.

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

Method for creation through the object factory.

Reimplemented from itk::LightObject.

template<class TImage>
void itk::CurvatureNDAnisotropicDiffusionFunction< 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 116 of file itkCurvatureNDAnisotropicDiffusionFunction.h.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:24:13 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000