Orfeo Toolbox  4.2
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput > Class Template Reference

computes the LAI from reflectances More...

#include <otbVegetationIndicesFunctor.h>

+ Inheritance diagram for otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >:
+ Collaboration diagram for otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >:

Public Types

typedef NDVI< TInput1, TInput2,
TOutput > 
NDVIFunctorType
 
- Public Types inherited from otb::Functor::RAndNIRIndexBase< TInput1, TInput2, TOutput >
typedef
itk::VariableLengthVector
< TInput1 > 
InputVectorType
 

Public Member Functions

 LAIFromReflectancesLinear ()
 
virtual ~LAIFromReflectancesLinear ()
 
virtual std::string GetName () const
 
double GetNirCoef (void) const
 
double GetRedCoef (void) const
 
NDVIFunctorType GetReflectances (void) const
 
void SetNirCoef (const double val)
 
void SetRedCoef (const double val)
 
- Public Member Functions inherited from otb::Functor::RAndNIRIndexBase< TInput1, TInput2, TOutput >
 RAndNIRIndexBase ()
 Constructor. More...
 
virtual ~RAndNIRIndexBase ()
 Desctructor. More...
 
unsigned int GetIndex (BandName::BandName band) const
 
unsigned int GetNIRIndex () const
 Get NIR Index. More...
 
unsigned int GetRedIndex () const
 Get Red Index. More...
 
bool operator!= (const RAndNIRIndexBase &) const
 
TOutput operator() (const InputVectorType &inputVector) const
 
TOutput operator() (const TInput1 &r, const TInput2 &nir) const
 
bool operator== (const RAndNIRIndexBase &other) const
 
void SetIndex (BandName::BandName band, unsigned int channel)
 
void SetNIRIndex (unsigned int channel)
 Set NIR Index. More...
 
void SetRedIndex (unsigned int channel)
 Set Red Index. More...
 

Protected Member Functions

TOutput Evaluate (const TInput1 &r, const TInput2 &nir) const
 

Private Attributes

NDVIFunctorType m_NDVIfunctor
 
double m_NirCoef
 
double m_RedCoef
 

Additional Inherited Members

- Protected Attributes inherited from otb::Functor::RAndNIRIndexBase< TInput1, TInput2, TOutput >
double m_EpsilonToBeConsideredAsZero
 

Detailed Description

template<class TInput1, class TInput2, class TOutput>
class otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >

computes the LAI from reflectances

This functor computes the LAI from reflectances using a linear relationship. $ LAI = \beta_0 + \sum_j \beta_j \rho_j $ where $ \rho $ are the reflectances Default values for the parameters are taken from A. Bsaibes et al. / Remote Sensing of Environment 113 (2009) 716-729

Definition at line 1351 of file otbVegetationIndicesFunctor.h.

Member Typedef Documentation

template<class TInput1 , class TInput2 , class TOutput >
typedef NDVI<TInput1, TInput2, TOutput> otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::NDVIFunctorType

Definition at line 1360 of file otbVegetationIndicesFunctor.h.

Constructor & Destructor Documentation

template<class TInput1 , class TInput2 , class TOutput >
otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::LAIFromReflectancesLinear ( )
inline

Definition at line 1361 of file otbVegetationIndicesFunctor.h.

template<class TInput1 , class TInput2 , class TOutput >
virtual otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::~LAIFromReflectancesLinear ( )
inlinevirtual

Definition at line 1362 of file otbVegetationIndicesFunctor.h.

Member Function Documentation

template<class TInput1 , class TInput2 , class TOutput >
TOutput otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::Evaluate ( const TInput1 &  r,
const TInput2 &  nir 
) const
inlineprotectedvirtual
template<class TInput1 , class TInput2 , class TOutput >
virtual std::string otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::GetName ( ) const
inlinevirtual

Return the index name

Implements otb::Functor::RAndNIRIndexBase< TInput1, TInput2, TOutput >.

Definition at line 1355 of file otbVegetationIndicesFunctor.h.

template<class TInput1 , class TInput2 , class TOutput >
double otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::GetNirCoef ( void  ) const
inline
template<class TInput1 , class TInput2 , class TOutput >
double otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::GetRedCoef ( void  ) const
inline
template<class TInput1 , class TInput2 , class TOutput >
NDVIFunctorType otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::GetReflectances ( void  ) const
inline
template<class TInput1 , class TInput2 , class TOutput >
void otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::SetNirCoef ( const double  val)
inline
template<class TInput1 , class TInput2 , class TOutput >
void otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::SetRedCoef ( const double  val)
inline

Member Data Documentation

template<class TInput1 , class TInput2 , class TOutput >
NDVIFunctorType otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::m_NDVIfunctor
private
template<class TInput1 , class TInput2 , class TOutput >
double otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::m_NirCoef
private
template<class TInput1 , class TInput2 , class TOutput >
double otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >::m_RedCoef
private

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

Generated at Sat Oct 11 2014 17:26:00 for Orfeo Toolbox with doxygen 1.8.3.1