OTB
9.0.0
Orfeo Toolbox
|
#include <otbTimeSeriesLeastSquareFittingFunctor.h>
Public Types | |
typedef TTimeFunction::CoefficientsType | CoefficientsType |
Public Member Functions | |
TTimeFunction | EstimateTimeFunction (const TSeriesType &series) const |
CoefficientsType | GetCoefficients (const TSeriesType &series) const |
TSeriesType | operator() (const TSeriesType &series) |
void | SetDates (const TDateType &doy) |
void | SetWeights (const TWeightType &weights) |
TimeSeriesLeastSquareFittingFunctor () | |
virtual | ~TimeSeriesLeastSquareFittingFunctor () |
Private Attributes | |
TDateType | m_DoySeries |
TWeightType | m_WeightSeries |
Implements a least squares fitting of a time profile.
This functor implements a least squares fitting of a time profile. The time series as well as the date series are supposed to accept the [] syntax to get the values and the Size() method to get their length. The fitting is performed using a time function which is just a weighted sum of basis functions : Using a matrix notation, this can be written as follows : If information about the error of each measure is available, it can be provided using a weight series (the higher the error, the higher the . The problem then becomes:
Definition at line 59 of file otbTimeSeriesLeastSquareFittingFunctor.h.
typedef TTimeFunction::CoefficientsType otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::CoefficientsType |
Definition at line 62 of file otbTimeSeriesLeastSquareFittingFunctor.h.
|
inline |
Constructor.
Definition at line 65 of file otbTimeSeriesLeastSquareFittingFunctor.h.
|
inlinevirtual |
Destructor.
Definition at line 71 of file otbTimeSeriesLeastSquareFittingFunctor.h.
|
inline |
Definition at line 101 of file otbTimeSeriesLeastSquareFittingFunctor.h.
References otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::m_DoySeries, and otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::m_WeightSeries.
Referenced by otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::GetCoefficients(), and otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::operator()().
|
inline |
|
inline |
Definition at line 75 of file otbTimeSeriesLeastSquareFittingFunctor.h.
References otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::EstimateTimeFunction(), and otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::m_DoySeries.
|
inline |
Definition at line 84 of file otbTimeSeriesLeastSquareFittingFunctor.h.
References GapFilling::doy(), and otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::m_DoySeries.
Referenced by otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TSeries >::operator()().
|
inline |
Definition at line 90 of file otbTimeSeriesLeastSquareFittingFunctor.h.
Referenced by otb::Functor::SavitzkyGolayInterpolationFunctor< Radius, TSeries, TDates, TSeries >::operator()().
|
private |
Definition at line 144 of file otbTimeSeriesLeastSquareFittingFunctor.h.
Referenced by otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::EstimateTimeFunction(), otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::operator()(), and otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::SetDates().
|
private |
Definition at line 145 of file otbTimeSeriesLeastSquareFittingFunctor.h.
Referenced by otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::EstimateTimeFunction(), otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::SetWeights(), and otb::Functor::TimeSeriesLeastSquareFittingFunctor< TSeriesType, TTimeFunction, TDateType, TWeightType >::TimeSeriesLeastSquareFittingFunctor().