ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | List of all members
itk::FourierSeriesPath< VDimension > Class Template Reference

#include <itkFourierSeriesPath.h>

+ Inheritance diagram for itk::FourierSeriesPath< VDimension >:
+ Collaboration diagram for itk::FourierSeriesPath< VDimension >:

Public Types

using CoefficientsPointer = typename CoefficientsType::Pointer
 
using CoefficientsType = VectorContainer< unsigned, VectorType >
 
using ConstPointer = SmartPointer< const Self >
 
using ContinuousIndexType = ContinuousIndex< double, VDimension >
 
using IndexType = Index< VDimension >
 
using InputType = typename Superclass::InputType
 
using OffsetType = Offset< VDimension >
 
using OutputType = typename Superclass::OutputType
 
using Pointer = SmartPointer< Self >
 
using Self = FourierSeriesPath
 
using Superclass = ParametricPath< VDimension >
 
using VectorType = Vector< double, VDimension >
 
- Public Types inherited from itk::ParametricPath< VDimension >
using ConstPointer = SmartPointer< const Self >
 
using ContinuousIndexType = ContinuousIndex< SpacePrecisionType, VDimension >
 
using IndexType = Index< VDimension >
 
using InputType = typename Superclass::InputType
 
using OffsetType = Offset< VDimension >
 
using OutputType = typename Superclass::OutputType
 
using Pointer = SmartPointer< Self >
 
using Self = ParametricPath
 
using Superclass = Path< double, ContinuousIndexType, VDimension >
 
using VectorType = Vector< double, VDimension >
 
- Public Types inherited from itk::Path< double, ContinuousIndex< SpacePrecisionType, VDimension >, VDimension >
using ConstPointer = SmartPointer< const Self >
 
using IndexType = Index< VDimension >
 
using InputType = double
 
using OffsetType = Offset< VDimension >
 
using OutputType = ContinuousIndex< SpacePrecisionType, VDimension >
 
using Pointer = SmartPointer< Self >
 
using Self = Path
 
using Superclass = DataObject
 
- Public Types inherited from itk::DataObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = std::string
 
using DataObjectPointerArraySizeType = std::vector< Pointer >::size_type
 
using Pointer = SmartPointer< Self >
 
using Self = DataObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

void AddHarmonic (const VectorType &CosCoefficients, const VectorType &SinCoefficients)
 
OutputType Evaluate (const InputType &input) const override
 
VectorType EvaluateDerivative (const InputType &input) const override
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ParametricPath< VDimension >
IndexType EvaluateToIndex (const InputType &input) const override
 
virtual const InputTypeGetDefaultInputStepSize () const
 
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
 
- Public Member Functions inherited from itk::DataObject
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointer< ProcessObjectGetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
virtual void PropagateRequestedRegion ()
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
void SetReleaseDataFlag (bool flag)
 
bool ShouldIReleaseData () const
 
virtual void Update ()
 
virtual void UpdateOutputData ()
 
virtual void UpdateOutputInformation ()
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual const ModifiedTimeTypeGetPipelineMTime () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp () const
 
virtual void PrepareForNewData ()
 
virtual void DataHasBeenGenerated ()
 
virtual void SetRequestedRegionToLargestPossibleRegion ()
 
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
 
virtual bool VerifyRequestedRegion ()
 
virtual void CopyInformation (const DataObject *)
 
virtual void SetRequestedRegion (const DataObject *)
 
virtual void Graft (const DataObject *)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 
CoefficientsPointer m_CosCoefficients
 
CoefficientsPointer m_SinCoefficients
 
void Clear ()
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
void Initialize () override
 
static Pointer New ()
 
 FourierSeriesPath ()
 
 ~FourierSeriesPath () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static Pointer New ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 
- Static Public Attributes inherited from itk::Path< double, ContinuousIndex< SpacePrecisionType, VDimension >, VDimension >
static constexpr unsigned int PathDimension
 
- Protected Member Functions inherited from itk::ParametricPath< VDimension >
 ParametricPath ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~ParametricPath () override=default
 
- Protected Member Functions inherited from itk::Path< double, ContinuousIndex< SpacePrecisionType, VDimension >, VDimension >
virtual IndexType GetZeroIndex () const
 
virtual OffsetType GetZeroOffset () const
 
 Path ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~Path () override=default
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
 ~DataObject () override
 
virtual void PropagateResetPipeline ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 
- Protected Attributes inherited from itk::ParametricPath< VDimension >
InputType m_DefaultInputStepSize
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

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 coefficients (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 59 of file itkFourierSeriesPath.h.

Member Typedef Documentation

◆ CoefficientsPointer

template<unsigned int VDimension>
using itk::FourierSeriesPath< VDimension >::CoefficientsPointer = typename CoefficientsType::Pointer

Definition at line 85 of file itkFourierSeriesPath.h.

◆ CoefficientsType

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

Definition at line 84 of file itkFourierSeriesPath.h.

◆ ConstPointer

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

Definition at line 68 of file itkFourierSeriesPath.h.

◆ ContinuousIndexType

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

Basic data-structure types used

Definition at line 80 of file itkFourierSeriesPath.h.

◆ IndexType

template<unsigned int VDimension>
using itk::FourierSeriesPath< VDimension >::IndexType = Index<VDimension>

Definition at line 81 of file itkFourierSeriesPath.h.

◆ InputType

template<unsigned int VDimension>
using itk::FourierSeriesPath< VDimension >::InputType = typename Superclass::InputType

Input type

Definition at line 74 of file itkFourierSeriesPath.h.

◆ OffsetType

template<unsigned int VDimension>
using itk::FourierSeriesPath< VDimension >::OffsetType = Offset<VDimension>

Definition at line 82 of file itkFourierSeriesPath.h.

◆ OutputType

template<unsigned int VDimension>
using itk::FourierSeriesPath< VDimension >::OutputType = typename Superclass::OutputType

Output type

Definition at line 77 of file itkFourierSeriesPath.h.

◆ Pointer

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

Definition at line 67 of file itkFourierSeriesPath.h.

◆ Self

template<unsigned int VDimension>
using itk::FourierSeriesPath< VDimension >::Self = FourierSeriesPath

Standard class type aliases.

Definition at line 65 of file itkFourierSeriesPath.h.

◆ Superclass

template<unsigned int VDimension>
using itk::FourierSeriesPath< VDimension >::Superclass = ParametricPath<VDimension>

Definition at line 66 of file itkFourierSeriesPath.h.

◆ VectorType

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

Definition at line 83 of file itkFourierSeriesPath.h.

Constructor & Destructor Documentation

◆ FourierSeriesPath()

template<unsigned int VDimension>
itk::FourierSeriesPath< VDimension >::FourierSeriesPath ( )
protected

Clear all frequency coefficients (including the "DC" coefficients).

◆ ~FourierSeriesPath()

template<unsigned int VDimension>
itk::FourierSeriesPath< VDimension >::~FourierSeriesPath ( )
overrideprotecteddefault

Clear all frequency coefficients (including the "DC" coefficients).

Member Function Documentation

◆ AddHarmonic()

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

Add another harmonic's frequency coefficients.

◆ Clear()

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

Clear all frequency coefficients (including the "DC" coefficients).

Definition at line 102 of file itkFourierSeriesPath.h.

◆ CreateAnother()

template<unsigned int VDimension>
virtual::itk::LightObject::Pointer itk::FourierSeriesPath< VDimension >::CreateAnother ( ) const
virtual

Clear all frequency coefficients (including the "DC" coefficients).

Reimplemented from itk::Object.

◆ Evaluate()

template<unsigned int VDimension>
OutputType itk::FourierSeriesPath< VDimension >::Evaluate ( const InputType input) const
override

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

◆ EvaluateDerivative()

template<unsigned int VDimension>
VectorType itk::FourierSeriesPath< VDimension >::EvaluateDerivative ( const InputType input) const
overridevirtual

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 >.

◆ GetNameOfClass()

template<unsigned int VDimension>
virtual const char* itk::FourierSeriesPath< VDimension >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ParametricPath< VDimension >.

◆ Initialize()

template<unsigned int VDimension>
void itk::FourierSeriesPath< VDimension >::Initialize ( )
inlineoverridevirtual

Needed for Pipelining

Reimplemented from itk::DataObject.

Definition at line 115 of file itkFourierSeriesPath.h.

◆ New()

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

New() method for dynamic construction

◆ PrintSelf()

template<unsigned int VDimension>
void itk::FourierSeriesPath< VDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Clear all frequency coefficients (including the "DC" coefficients).

Reimplemented from itk::DataObject.

Member Data Documentation

◆ m_CosCoefficients

template<unsigned int VDimension>
CoefficientsPointer itk::FourierSeriesPath< VDimension >::m_CosCoefficients
private

Clear all frequency coefficients (including the "DC" coefficients).

Definition at line 127 of file itkFourierSeriesPath.h.

◆ m_SinCoefficients

template<unsigned int VDimension>
CoefficientsPointer itk::FourierSeriesPath< VDimension >::m_SinCoefficients
private

Clear all frequency coefficients (including the "DC" coefficients).

Definition at line 128 of file itkFourierSeriesPath.h.


The documentation for this class was generated from the following file: