|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbEnvelopeSavitzkyGolayInterpolationFunctor_h
22 #define otbEnvelopeSavitzkyGolayInterpolationFunctor_h
40 template <
unsigned int Radius,
class TSeries,
class TDates,
class TWeight = TSeries>
47 static const unsigned int Degree = 2;
50 static const unsigned int nbDates = TSeries::Dimension;
87 if (df > 0.0 && df < 1.0)
102 for (
unsigned int j = 0; j <
nbDates; ++j)
TWeight::ValueType WeightType
TSeries::ValueType ValueType
void SetDates(const TDates doy)
unsigned int m_Iterations
TSeries operator()(const TSeries &series)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
static const unsigned int Degree
virtual ~EnvelopeSavitzkyGolayInterpolationFunctor()
Destructor.
void SetWeights(const TWeight weights)
SGFunctorType m_SGFunctor
static const unsigned int nbDates
void SetIterations(unsigned int its)
unsigned int doy(const std::tm &d)
Return the day of year.
EnvelopeSavitzkyGolayInterpolationFunctor()
Constructor.
TDates::ValueType DateType
double CoefficientPrecisionType
otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TWeight > SGFunctorType
void SetWeights(const TWeight weights)
void SetDates(const TDates doy)
void SetDecreaseFactor(double df)
otb::PolynomialTimeSeries< Degree, CoefficientPrecisionType > TSFunctionType