ITK
5.0.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 |
OutputType | Evaluate (const InputType &input) const override |
VectorType | EvaluateDerivative (const InputType &input) const override |
virtual const char * | GetNameOfClass () const |
void | Initialize () override |
void | Clear () |
Public Member Functions inherited from itk::ParametricPath< VDimension > | |
IndexType | EvaluateToIndex (const InputType &input) const override |
virtual const InputType & | GetDefaultInputStepSize () 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 | |
virtual void | CopyInformation (const DataObject *) |
virtual void | DataHasBeenGenerated () |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () const |
SmartPointer< ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual ModifiedTimeType | GetUpdateMTime () const |
virtual void | Graft (const DataObject *) |
virtual void | PrepareForNewData () |
virtual void | PropagateRequestedRegion () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual bool | RequestedRegionIsOutsideOfTheBufferedRegion () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
virtual void | SetRequestedRegion (const DataObject *) |
virtual void | SetRequestedRegionToLargestPossibleRegion () |
bool | ShouldIReleaseData () const |
virtual void | Update () |
virtual void | UpdateOutputData () |
virtual void | UpdateOutputInformation () |
virtual bool | VerifyRequestedRegion () |
void | SetPipelineMTime (ModifiedTimeType time) |
virtual const ModifiedTimeType & | GetPipelineMTime () const |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () 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 noexceptoverride |
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 | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
static bool | GetGlobalReleaseDataFlag () |
static void | GlobalReleaseDataFlagOff () |
static void | GlobalReleaseDataFlagOn () |
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 flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
FourierSeriesPath () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~FourierSeriesPath () override=default | |
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 () | |
virtual void | PropagateResetPipeline () |
~DataObject () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
~Object () override | |
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 () |
Private Attributes | |
CoefficientsPointer | m_CosCoefficients |
CoefficientsPointer | m_SinCoefficients |
Additional Inherited Members | |
Static Public Attributes inherited from itk::Path< double, ContinuousIndex< SpacePrecisionType, VDimension >, VDimension > | |
static constexpr unsigned int | PathDimension |
Protected Attributes inherited from itk::ParametricPath< VDimension > | |
InputType | m_DefaultInputStepSize |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::FourierSeriesPath< VDimension >::CoefficientsPointer = typename CoefficientsType::Pointer |
Definition at line 85 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::CoefficientsType = VectorContainer< unsigned, VectorType > |
Definition at line 84 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::ConstPointer = SmartPointer< const Self > |
Definition at line 68 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::ContinuousIndexType = ContinuousIndex< double, VDimension > |
Basic data-structure types used
Definition at line 80 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::IndexType = Index< VDimension > |
Definition at line 81 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::InputType = typename Superclass::InputType |
Input type
Definition at line 74 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::OffsetType = Offset< VDimension > |
Definition at line 82 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::OutputType = typename Superclass::OutputType |
Output type
Definition at line 77 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::Pointer = SmartPointer< Self > |
Definition at line 67 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::Self = FourierSeriesPath |
Standard class type aliases.
Definition at line 65 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::Superclass = ParametricPath< VDimension > |
Definition at line 66 of file itkFourierSeriesPath.h.
using itk::FourierSeriesPath< VDimension >::VectorType = Vector< double, VDimension > |
Definition at line 83 of file itkFourierSeriesPath.h.
|
protected |
|
overrideprotecteddefault |
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 99 of file itkFourierSeriesPath.h.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
override |
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.
Reimplemented from itk::ParametricPath< VDimension >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ParametricPath< VDimension >.
|
inlineoverridevirtual |
Needed for Pipelining
Reimplemented from itk::DataObject.
Definition at line 111 of file itkFourierSeriesPath.h.
|
static |
New() method for dynamic construction
|
overrideprotectedvirtual |
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::DataObject.
|
private |
Definition at line 122 of file itkFourierSeriesPath.h.
|
private |
Definition at line 123 of file itkFourierSeriesPath.h.