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

itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep > Class Template Reference
[Image Functions]

Calculate an entropy satisfying gradient magnitude. More...

#include <itkEntropyPreservingGradientMagnitudeImageFunction.h>

Inheritance diagram for itk::EntropyPreservingGradientMagnitudeImageFunction:

Inheritance graph
[legend]
Collaboration diagram for itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef EntropyPreservingGradientMagnitudeImageFunction Self
typedef ImageFunction< TInputImage,
double, TCoordRep > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage InputImageType
typedef InputImageType::ConstPointer InputImageConstPointer
typedef Superclass::IndexType IndexType
typedef Superclass::ContinuousIndexType ContinuousIndexType
typedef Superclass::PointType PointType

Public Methods

virtual const char * GetClassName () const
 itkStaticConstMacro (ImageDimension, unsigned int, InputImageType::ImageDimension)
virtual void SetInputImage (const InputImageType *ptr)
void SetSpeed (double value)
double GetSpeed () const
virtual double EvaluateAtIndex (const IndexType &index) const
double GetMagnitude () const
virtual double Evaluate (const PointType &point) const
virtual double EvaluateAtContinuousIndex (const ContinuousIndexType &cindex) const

Static Public Methods

Pointer New ()

Protected Methods

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

Detailed Description

template<class TInputImage, class TCoordRep = float>
class itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >

Calculate an entropy satisfying gradient magnitude.

EntropyPreservingGradientMagnitudeImageFunction calculates an entropy satisfying image gradient magnitude. This is class is templated over the input image type and the coordinate representation type (e.g. float or double).

In level set methods, the propagating front can form corners as it evolves. At these singularities, the front is no longer differentiable and a weak solution must be constructed to continue the solution.

Viscosity or entropy solution can be formed by using upwind finite differencing. Depending on the flow direction, either a forward or backward differencing scheme is used. This is to ensure that only grid points upstream in the flow is used to update the current point.

In this function, the flow direction can be specified by the sign of the speed value set via the SetSpeed() method.

Reference: "Level Set Methods and Fast Marching Methods", J.A. Sethian, Cambridge Press, Chapter 6, Second edition, 1999.

Possible improvements:

Definition at line 56 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.


Member Typedef Documentation

template<class TInputImage, class TCoordRep = float>
typedef SmartPointer<const Self> itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::ConstPointer
 

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 64 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::ContinuousIndexType itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::ContinuousIndexType
 

ContinuousIndex typedef support.

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 84 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::IndexType itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::IndexType
 

Index typedef support.

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 81 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef InputImageType::ConstPointer itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::InputImageConstPointer
 

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 74 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef TInputImage itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::InputImageType
 

InputImageType typedef support.

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 73 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef SmartPointer<Self> itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::Pointer
 

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 63 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef Superclass::PointType itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::PointType
 

Point typedef support.

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 87 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef EntropyPreservingGradientMagnitudeImageFunction itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::Self
 

Standard class typedefs.

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 61 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

template<class TInputImage, class TCoordRep = float>
typedef ImageFunction<TInputImage, double, TCoordRep> itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::Superclass
 

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 62 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.


Constructor & Destructor Documentation

template<class TInputImage, class TCoordRep = float>
itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::EntropyPreservingGradientMagnitudeImageFunction   [inline, protected]
 

Definition at line 127 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

References HardConnectedComponentImageFilter::PrintSelf().

template<class TInputImage, class TCoordRep = float>
itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::~EntropyPreservingGradientMagnitudeImageFunction   [inline, protected]
 

Definition at line 128 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

References HardConnectedComponentImageFilter::IndexType.


Member Function Documentation

template<class TInputImage, class TCoordRep = float>
virtual double itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::Evaluate const PointType   point const [inline, virtual]
 

Evaluate the function at non-integer positions.

Implements itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 104 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

References HardConnectedComponentImageFilter::IndexType.

template<class TInputImage, class TCoordRep = float>
virtual double itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::EvaluateAtContinuousIndex const ContinuousIndexType   cindex const [inline, virtual]
 

Evaluate the function at continuous positions.

Implements itk::ImageFunction< TInputImage, double, TCoordRep >.

Definition at line 113 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

References HardConnectedComponentImageFilter::IndexType.

template<class TInputImage, class TCoordRep = float>
virtual double itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex const IndexType   index const [virtual]
 

Evalulate the function at specified index

Implements itk::ImageFunction< TInputImage, double, TCoordRep >.

template<class TInputImage, class TCoordRep = float>
virtual const char* itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

template<class TInputImage, class TCoordRep = float>
double itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::GetMagnitude   const [inline]
 

Get the magnitude from last evaluation

Definition at line 123 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

template<class TInputImage, class TCoordRep = float>
double itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::GetSpeed   const [inline]
 

Get the speed parameter.

Definition at line 97 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.

template<class TInputImage, class TCoordRep = float>
itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro ImageDimension   ,
unsigned    int,
InputImageType::ImageDimension   
 

Dimension of the underlying image.

template<class TInputImage, class TCoordRep = float>
Pointer itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage, class TCoordRep = float>
void itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::PrintSelf std::ostream &    os,
Indent    indent
const [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::ImageFunction< TInputImage, double, TCoordRep >.

template<class TInputImage, class TCoordRep = float>
virtual void itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::SetInputImage const InputImageType   ptr [virtual]
 

Set the input image.

Reimplemented from itk::ImageFunction< TInputImage, double, TCoordRep >.

template<class TInputImage, class TCoordRep = float>
void itk::EntropyPreservingGradientMagnitudeImageFunction< TInputImage, TCoordRep >::SetSpeed double    value [inline]
 

Set the speed parameter.

Definition at line 93 of file itkEntropyPreservingGradientMagnitudeImageFunction.h.


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