ITK
4.12.0
Insight Segmentation and Registration Toolkit
|
#include <itkFourierSeriesPath.h>
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.)
Definition at line 58 of file itkFourierSeriesPath.h.
Public Member Functions | |
void | AddHarmonic (const VectorType &CosCoefficients, const VectorType &SinCoefficients) |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual OutputType | Evaluate (const InputType &input) const override |
virtual VectorType | EvaluateDerivative (const InputType &input) const override |
virtual const char * | GetNameOfClass () const |
virtual void | Initialize (void) override |
void | Clear () |
Public Member Functions inherited from itk::ParametricPath< VDimension > | |
virtual VectorType | EvaluateDerivative (const InputType &input) const |
virtual IndexType | EvaluateToIndex (const InputType &input) const override |
virtual const InputType & | GetDefaultInputStepSize () const |
virtual OffsetType | IncrementInput (InputType &input) const override |
virtual void | SetDefaultInputStepSize (InputType _arg) |
Public Member Functions inherited from itk::Path< double, ContinuousIndex< SpacePrecisionType, VDimension >, VDimension > | |
virtual InputType | EndOfInput () const |
virtual OutputType | Evaluate (const InputType &input) const =0 |
virtual IndexType | EvaluateToIndex (const InputType &input) const =0 |
virtual OffsetType | IncrementInput (InputType &input) const =0 |
virtual InputType | StartOfInput () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
FourierSeriesPath () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~FourierSeriesPath () | |
Protected Member Functions inherited from itk::ParametricPath< VDimension > | |
ParametricPath () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ParametricPath () | |
Protected Member Functions inherited from itk::Path< double, ContinuousIndex< SpacePrecisionType, VDimension >, VDimension > | |
virtual IndexType | GetZeroIndex () const |
virtual OffsetType | GetZeroOffset () const |
Path () | |
~Path () | |
Private Attributes | |
CoefficientsPointer | m_CosCoefficients |
CoefficientsPointer | m_SinCoefficients |
Additional Inherited Members | |
Static Public Attributes inherited from itk::Path< double, ContinuousIndex< SpacePrecisionType, VDimension >, VDimension > | |
static const unsigned int | PathDimension |
Protected Attributes inherited from itk::ParametricPath< VDimension > | |
InputType | m_DefaultInputStepSize |
typedef CoefficientsType::Pointer itk::FourierSeriesPath< VDimension >::CoefficientsPointer |
Definition at line 83 of file itkFourierSeriesPath.h.
typedef VectorContainer< unsigned, VectorType > itk::FourierSeriesPath< VDimension >::CoefficientsType |
Definition at line 82 of file itkFourierSeriesPath.h.
typedef SmartPointer< const Self > itk::FourierSeriesPath< VDimension >::ConstPointer |
Definition at line 66 of file itkFourierSeriesPath.h.
typedef ContinuousIndex< double, VDimension > itk::FourierSeriesPath< VDimension >::ContinuousIndexType |
Basic data-structure types used
Definition at line 78 of file itkFourierSeriesPath.h.
typedef Index< VDimension > itk::FourierSeriesPath< VDimension >::IndexType |
Definition at line 79 of file itkFourierSeriesPath.h.
typedef Superclass::InputType itk::FourierSeriesPath< VDimension >::InputType |
Input type
Definition at line 69 of file itkFourierSeriesPath.h.
typedef Offset< VDimension > itk::FourierSeriesPath< VDimension >::OffsetType |
Definition at line 80 of file itkFourierSeriesPath.h.
typedef Superclass::OutputType itk::FourierSeriesPath< VDimension >::OutputType |
Output type
Definition at line 75 of file itkFourierSeriesPath.h.
typedef SmartPointer< Self > itk::FourierSeriesPath< VDimension >::Pointer |
Definition at line 65 of file itkFourierSeriesPath.h.
typedef FourierSeriesPath itk::FourierSeriesPath< VDimension >::Self |
Standard class typedefs.
Definition at line 63 of file itkFourierSeriesPath.h.
typedef ParametricPath< VDimension > itk::FourierSeriesPath< VDimension >::Superclass |
Definition at line 64 of file itkFourierSeriesPath.h.
typedef Vector< double, VDimension > itk::FourierSeriesPath< VDimension >::VectorType |
Definition at line 81 of file itkFourierSeriesPath.h.
|
protected |
|
inlineprotected |
Definition at line 116 of file itkFourierSeriesPath.h.
void itk::FourierSeriesPath< VDimension >::AddHarmonic | ( | const VectorType & | CosCoefficients, |
const VectorType & | SinCoefficients | ||
) |
Add another harmonic's frequency coefficients.
|
inline |
Clear all frequency coefficients (including the "DC" coefficients).
Definition at line 97 of file itkFourierSeriesPath.h.
virtual::itk::LightObject::Pointer itk::FourierSeriesPath< VDimension >::CreateAnother | ( | ) | const |
|
overridevirtual |
Return the location of the parametric path at the specified location.
|
overridevirtual |
Evaluate the first derivative of the ND output with respect to the 1D input. This is an exact, algebraic function.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ParametricPath< VDimension >.
|
inlineoverridevirtual |
Needed for Pipelining
Definition at line 109 of file itkFourierSeriesPath.h.
|
static |
New() method for dynamic construction
|
overrideprotectedvirtual |
|
private |
Definition at line 120 of file itkFourierSeriesPath.h.
|
private |
Definition at line 123 of file itkFourierSeriesPath.h.