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

itk::FourierSeriesPath< VDimension > Class Template Reference
[Path Representation Objects]

Represent a closed path through ND Space by its frequency components. More...

#include <itkFourierSeriesPath.h>

Inheritance diagram for itk::FourierSeriesPath< VDimension >:

Inheritance graph
[legend]
Collaboration diagram for itk::FourierSeriesPath< VDimension >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef FourierSeriesPath Self
typedef ParametricPath< VDimension > Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::InputType InputType
typedef Superclass::OutputType OutputType
typedef ContinuousIndex< double,
VDimension > 
ContinuousIndexType
typedef Index< VDimension > IndexType
typedef Offset< VDimension > OffsetType
typedef Vector< double, VDimension > VectorType
typedef VectorContainer< unsigned,
VectorType
CoefficientsType
typedef CoefficientsType::Pointer CoefficientsPointer

Public Member Functions

virtual const char * GetClassName () const
virtual OutputType Evaluate (const InputType &input) const
virtual VectorType EvaluateDerivative (const InputType &input) const
void AddHarmonic (const VectorType &CosCoefficients, const VectorType &SinCoefficients)
virtual void Initialize (void)
void Clear ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

template<unsigned int VDimension>
class itk::FourierSeriesPath< VDimension >

Represent a closed path through ND Space by its frequency components.

This class is intended to represent closed parametric paths through an image which are defined by their Fourier coeficients (frequency components). The paths must be closed and defined over the interval [0,1], where the paths' values at input 0 and input 1 are identical. The user can control how many harmonics (how high of frequency components) are represented by a given instantiation of this class. Classic applications of this class include smoothing other closed paths (by finding and using only the first n harmonics of their frequency components) and interpolating exact derivatives of other closed paths by first converting the other paths to FourierSeriesPaths, which have an exactly defined algebraic derivative. (As many harmonics as are necessary to adequately approximate the original path should be used when approximating derivatives.)

See also:
OrthogonallyCorrectedParametricPath

EllipseParametricPath

PolyLineParametricPath

ParametricPath

ChainCodePath

Path

ContinuousIndex

Index

Offset

Vector

Definition at line 62 of file itkFourierSeriesPath.h.


Member Typedef Documentation

template<unsigned int VDimension>
typedef CoefficientsType::Pointer itk::FourierSeriesPath< VDimension >::CoefficientsPointer
 

Definition at line 88 of file itkFourierSeriesPath.h.

Referenced by itk::FourierSeriesPath< VDimension >::~FourierSeriesPath().

template<unsigned int VDimension>
typedef VectorContainer<unsigned, VectorType> itk::FourierSeriesPath< VDimension >::CoefficientsType
 

Definition at line 87 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
typedef SmartPointer<const Self> itk::FourierSeriesPath< VDimension >::ConstPointer
 

Reimplemented from itk::ParametricPath< VDimension >.

Definition at line 70 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
typedef ContinuousIndex<double,VDimension> itk::FourierSeriesPath< VDimension >::ContinuousIndexType
 

Basic data-structure types used

Reimplemented from itk::ParametricPath< VDimension >.

Definition at line 83 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
typedef Index< VDimension > itk::FourierSeriesPath< VDimension >::IndexType
 

All paths must be mapable to index space

Reimplemented from itk::ParametricPath< VDimension >.

Definition at line 84 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
typedef Superclass::InputType itk::FourierSeriesPath< VDimension >::InputType
 

Input type

Reimplemented from itk::ParametricPath< VDimension >.

Definition at line 76 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
typedef Offset< VDimension > itk::FourierSeriesPath< VDimension >::OffsetType
 

Reimplemented from itk::ParametricPath< VDimension >.

Definition at line 85 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
typedef Superclass::OutputType itk::FourierSeriesPath< VDimension >::OutputType
 

Output type

Reimplemented from itk::ParametricPath< VDimension >.

Definition at line 79 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
typedef SmartPointer<Self> itk::FourierSeriesPath< VDimension >::Pointer
 

Reimplemented from itk::ParametricPath< VDimension >.

Definition at line 69 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
typedef FourierSeriesPath itk::FourierSeriesPath< VDimension >::Self
 

Standard class typedefs.

Reimplemented from itk::ParametricPath< VDimension >.

Definition at line 67 of file itkFourierSeriesPath.h.

Referenced by itk::FourierSeriesPath< VDimension >::~FourierSeriesPath().

template<unsigned int VDimension>
typedef ParametricPath<VDimension> itk::FourierSeriesPath< VDimension >::Superclass
 

Reimplemented from itk::ParametricPath< VDimension >.

Definition at line 68 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
typedef Vector<double,VDimension> itk::FourierSeriesPath< VDimension >::VectorType
 

Reimplemented from itk::ParametricPath< VDimension >.

Definition at line 86 of file itkFourierSeriesPath.h.


Constructor & Destructor Documentation

template<unsigned int VDimension>
itk::FourierSeriesPath< VDimension >::FourierSeriesPath  )  [protected]
 

template<unsigned int VDimension>
itk::FourierSeriesPath< VDimension >::~FourierSeriesPath  )  [inline, protected]
 

Definition at line 122 of file itkFourierSeriesPath.h.

References itk::FourierSeriesPath< VDimension >::CoefficientsPointer, and itk::FourierSeriesPath< VDimension >::Self.


Member Function Documentation

template<unsigned int VDimension>
void itk::FourierSeriesPath< VDimension >::AddHarmonic const VectorType CosCoefficients,
const VectorType SinCoefficients
 

Add another harmonic's frequency coefficients.

template<unsigned int VDimension>
void itk::FourierSeriesPath< VDimension >::Clear  )  [inline]
 

Clear all frequency coefficients (including the "DC" coefficients). Definition at line 103 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
virtual OutputType itk::FourierSeriesPath< VDimension >::Evaluate const InputType input  )  const [virtual]
 

Return the location of the parametric path at the specified location.

Implements itk::Path< double, ContinuousIndex< double, VDimension >, VDimension >.

template<unsigned int VDimension>
virtual VectorType itk::FourierSeriesPath< VDimension >::EvaluateDerivative const InputType input  )  const [virtual]
 

Evaluate the first derivative of the ND output with respect to the 1D input. This is an exact, algebraic function.

Reimplemented from itk::ParametricPath< VDimension >.

template<unsigned int VDimension>
virtual const char* itk::FourierSeriesPath< VDimension >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ParametricPath< VDimension >.

template<unsigned int VDimension>
virtual void itk::FourierSeriesPath< VDimension >::Initialize void   )  [inline, virtual]
 

Needed for Pipelining

Reimplemented from itk::Path< double, ContinuousIndex< double, VDimension >, VDimension >.

Definition at line 115 of file itkFourierSeriesPath.h.

template<unsigned int VDimension>
Pointer itk::FourierSeriesPath< VDimension >::New  )  [static]
 

New() method for dynamic construction

Reimplemented from itk::Object.

template<unsigned int VDimension>
void itk::FourierSeriesPath< VDimension >::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::ParametricPath< VDimension >.


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