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

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 Member Functions

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))
virtual void InitializeIteration ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 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:

\[ f_t = \mid \nabla f \mid \nabla \cdot c( \mid \nabla f \mid ) \frac{ \nabla f }{ \mid \nabla f \mid } \]

,

where the conductance modified curvature term is

\[ \nabla \cdot \frac{\nabla f}{\mid \nabla f \mid} \]

.

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
 

A floating point offset from an image grid location. Used for interpolation among grid values in a neighborhood.

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
 

The type of data structure that is passed to this function object to evaluate at a pixel that does not lie on a data set boundary.

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
 

Neighborhood radius type

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
 

Define the TimeStepType to always be double.

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 116 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)
[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.

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 117 of file itkCurvatureNDAnisotropicDiffusionFunction.h.

References HardConnectedComponentImageFilter::PrintSelf().


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:43:08 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000