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

itkPathFunctions.h File Reference

Go to the source code of this file.

Namespaces

namespace  itk

Defines

#define M_PI   3.14159265358979323846

Functions

template<class TChainCodePath, class TPathInput> void MakeChainCodeTracePath (TChainCodePath &chainPath, const TPathInput &inPath, bool restrictMovement=false)


Define Documentation

#define M_PI   3.14159265358979323846
 

Definition at line 30 of file itkPathFunctions.h.

Referenced by itk::MakeFourierSeriesPathTraceChainCode().


Function Documentation

template<class TChainCodePath, class TPathInput>
void MakeChainCodeTracePath TChainCodePath &  chainPath,
const TPathInput &  inPath,
bool  restrictMovement = false
 

Make a chain code trace another path of same dimensionality. If restrictMovement is true, then individual steps are allowed to move through only one dimension at a time; for 2D paths this results in an 8-connected chain code. Definition at line 43 of file itkPathFunctions.h.

template<class TFourierSeriesPath, class TChainCodePath>
void MakeFourierSeriesPathTraceChainCode TFourierSeriesPath &  FSPath,
const TChainCodePath &  chainPath,
unsigned int  numHarmonics = 8
 

Make a Fourier series path trace a chain code path of same dimensionality. numHarmonics is the number of harmonics (frequency coefficients, which include the "DC" term) to compute. If chainPath has too few steps to calculate numHarmonics (due to the Nyquist criterion), then as many harmonics as possible (chainPath->NumberOfSteps()/2) will be calculated. No fewer than 2 harmonics will be calcualted. Definition at line 93 of file itkPathFunctions.h.

References M_PI.


Generated at Sun Apr 1 02:48:19 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000