OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree > Class Template Reference

#include <otbSavitzkyGolayInterpolationFunctor.h>

+ Inheritance diagram for otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >:

Public Types

typedef double CoefficientPrecisionType
 
typedef TDates::ValueType DateType
 
typedef itk::FixedArray< DateType, InterpolatedLengthInterpolatedDatesType
 
typedef itk::FixedArray< ValueType, InterpolatedLengthInterpolatedSeriesType
 
typedef itk::FixedArray< WeightType, InterpolatedLengthInterpolatedWeightType
 
typedef otb::Functor::TimeSeriesLeastSquareFittingFunctor< InterpolatedSeriesType, TSFunctionType, InterpolatedDatesType, InterpolatedWeightTypeTLSFunctorType
 
typedef otb::PolynomialTimeSeries< Degree, CoefficientPrecisionTypeTSFunctionType
 
typedef TSeries::ValueType ValueType
 
typedef TWeight::ValueType WeightType
 

Public Member Functions

TSeries operator() (const TSeries &series) const
 
 SavitzkyGolayInterpolationFunctor ()
 
void SetDates (const TDates doy)
 
void SetWeights (const TWeight weights)
 
virtual ~SavitzkyGolayInterpolationFunctor ()
 

Static Public Attributes

static const unsigned int InterpolatedLength = 2 * Radius + 1
 
static const unsigned int nbDates = TSeries::Dimension
 

Private Attributes

TDates m_DoySeries
 
TWeight m_WeightSeries
 

Detailed Description

template<unsigned int Radius, class TSeries, class TDates, class TWeight = TSeries, unsigned int Degree = 2>
class otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >

Definition at line 57 of file otbSavitzkyGolayInterpolationFunctor.h.

Member Typedef Documentation

◆ CoefficientPrecisionType

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
typedef double otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::CoefficientPrecisionType

Definition at line 63 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ DateType

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
typedef TDates::ValueType otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::DateType

Definition at line 61 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ InterpolatedDatesType

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
typedef itk::FixedArray<DateType, InterpolatedLength> otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::InterpolatedDatesType

Definition at line 69 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ InterpolatedSeriesType

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
typedef itk::FixedArray<ValueType, InterpolatedLength> otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::InterpolatedSeriesType

Definition at line 68 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ InterpolatedWeightType

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
typedef itk::FixedArray<WeightType, InterpolatedLength> otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::InterpolatedWeightType

Definition at line 70 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ TLSFunctorType

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
typedef otb::Functor::TimeSeriesLeastSquareFittingFunctor<InterpolatedSeriesType, TSFunctionType, InterpolatedDatesType, InterpolatedWeightType> otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::TLSFunctorType

Definition at line 73 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ TSFunctionType

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
typedef otb::PolynomialTimeSeries<Degree, CoefficientPrecisionType> otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::TSFunctionType

Definition at line 64 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ ValueType

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
typedef TSeries::ValueType otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::ValueType

Definition at line 60 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ WeightType

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
typedef TWeight::ValueType otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::WeightType

Definition at line 62 of file otbSavitzkyGolayInterpolationFunctor.h.

Constructor & Destructor Documentation

◆ SavitzkyGolayInterpolationFunctor()

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::SavitzkyGolayInterpolationFunctor ( )
inline

Constructor.

Definition at line 76 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ ~SavitzkyGolayInterpolationFunctor()

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
virtual otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::~SavitzkyGolayInterpolationFunctor ( )
inlinevirtual

Destructor.

Definition at line 80 of file otbSavitzkyGolayInterpolationFunctor.h.

Member Function Documentation

◆ operator()()

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
TSeries otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::operator() ( const TSeries &  series) const
inline

Definition at line 96 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ SetDates()

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
void otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::SetDates ( const TDates  doy)
inline

◆ SetWeights()

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
void otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::SetWeights ( const TWeight  weights)
inline

Member Data Documentation

◆ InterpolatedLength

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
const unsigned int otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::InterpolatedLength = 2 * Radius + 1
static

Definition at line 66 of file otbSavitzkyGolayInterpolationFunctor.h.

◆ m_DoySeries

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
TDates otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::m_DoySeries
private

◆ m_WeightSeries

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
TWeight otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::m_WeightSeries
private

◆ nbDates

template<unsigned int Radius, class TSeries , class TDates , class TWeight = TSeries, unsigned int Degree = 2>
const unsigned int otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight, Degree >::nbDates = TSeries::Dimension
static

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