OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
GapFilling::LinearGapFillingFunctor< PixelType > Class Template Reference

#include <otbTemporalGapFilling.h>

Public Types

using ValueType = typename PixelType::ValueType
 
using VectorType = typename std::vector< ValueType >
 

Public Member Functions

 LinearGapFillingFunctor ()=default
 
 LinearGapFillingFunctor (const PixelType &d)
 
 LinearGapFillingFunctor (const PixelType &d, const PixelType &od)
 
bool operator!= (const LinearGapFillingFunctor a) const
 
PixelType operator() (PixelType pix, PixelType mask) const
 
bool operator== (const LinearGapFillingFunctor a) const
 

Public Attributes

ValueType invalid_pixel_return_value = ValueType{0}
 
ValueType valid_value = ValueType{0}
 

Protected Member Functions

PixelType interpolate (const PixelType &p, const PixelType &m, const PixelType &d, const VectorType &lv, const VectorType &nv) const
 

Protected Attributes

PixelType dv
 
PixelType odv
 

Detailed Description

template<typename PixelType>
class GapFilling::LinearGapFillingFunctor< PixelType >

Definition at line 238 of file otbTemporalGapFilling.h.

Member Typedef Documentation

◆ ValueType

template<typename PixelType >
using GapFilling::LinearGapFillingFunctor< PixelType >::ValueType = typename PixelType::ValueType

Definition at line 241 of file otbTemporalGapFilling.h.

◆ VectorType

template<typename PixelType >
using GapFilling::LinearGapFillingFunctor< PixelType >::VectorType = typename std::vector<ValueType>

Definition at line 242 of file otbTemporalGapFilling.h.

Constructor & Destructor Documentation

◆ LinearGapFillingFunctor() [1/3]

template<typename PixelType >
GapFilling::LinearGapFillingFunctor< PixelType >::LinearGapFillingFunctor ( )
default

◆ LinearGapFillingFunctor() [2/3]

template<typename PixelType >
GapFilling::LinearGapFillingFunctor< PixelType >::LinearGapFillingFunctor ( const PixelType &  d)
inline

Constructor with a vector of input dates.

Definition at line 247 of file otbTemporalGapFilling.h.

◆ LinearGapFillingFunctor() [3/3]

template<typename PixelType >
GapFilling::LinearGapFillingFunctor< PixelType >::LinearGapFillingFunctor ( const PixelType &  d,
const PixelType &  od 
)
inline

Constructor with vectors of input and output dates.

Definition at line 249 of file otbTemporalGapFilling.h.

Member Function Documentation

◆ interpolate()

template<typename PixelType >
PixelType GapFilling::LinearGapFillingFunctor< PixelType >::interpolate ( const PixelType &  p,
const PixelType &  m,
const PixelType &  d,
const VectorType lv,
const VectorType nv 
) const
inlineprotected

◆ operator!=()

template<typename PixelType >
bool GapFilling::LinearGapFillingFunctor< PixelType >::operator!= ( const LinearGapFillingFunctor< PixelType >  a) const
inline

◆ operator()()

template<typename PixelType >
PixelType GapFilling::LinearGapFillingFunctor< PixelType >::operator() ( PixelType  pix,
PixelType  mask 
) const
inline

◆ operator==()

template<typename PixelType >
bool GapFilling::LinearGapFillingFunctor< PixelType >::operator== ( const LinearGapFillingFunctor< PixelType >  a) const
inline

Definition at line 311 of file otbTemporalGapFilling.h.

Member Data Documentation

◆ dv

template<typename PixelType >
PixelType GapFilling::LinearGapFillingFunctor< PixelType >::dv
protected

◆ invalid_pixel_return_value

template<typename PixelType >
ValueType GapFilling::LinearGapFillingFunctor< PixelType >::invalid_pixel_return_value = ValueType{0}

◆ odv

template<typename PixelType >
PixelType GapFilling::LinearGapFillingFunctor< PixelType >::odv
protected

Output date vector.

Definition at line 357 of file otbTemporalGapFilling.h.

Referenced by GapFilling::LinearGapFillingFunctor< PixelType >::operator()().

◆ valid_value

template<typename PixelType >
ValueType GapFilling::LinearGapFillingFunctor< PixelType >::valid_value = ValueType{0}

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