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

This functor computes the Enhanced Vegetation Index (EVI) More...

#include <otbVegetationIndicesFunctor.h>

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

Public Types

typedef
itk::VariableLengthVector
< TInput1 > 
InputVectorType
 

Public Member Functions

 EVI ()
 
virtual ~EVI ()
 
unsigned int GetBlueIndex () const
 Get Blue Index. More...
 
double GetC1 (void) const
 
double GetC2 (void) const
 
double GetG (void) const
 
unsigned int GetIndex (BandName::BandName band) const
 
double GetL (void) const
 
virtual std::string GetName () const
 
unsigned int GetNIRIndex () const
 Get NIR Index. More...
 
unsigned int GetRedIndex () const
 Get Red Index. More...
 
bool operator!= (const RAndBAndNIRIndexBase &) const
 
TOutput operator() (const InputVectorType &inputVector)
 
TOutput operator() (const TInput1 &r, const TInput2 &b, const TInput2 &nir)
 
bool operator== (const RAndBAndNIRIndexBase &other) const
 
void SetBlueIndex (unsigned int channel)
 Set Blue Index. More...
 
void SetC1 (const double c1)
 
void SetC2 (const double c2)
 
void SetG (const double g)
 
void SetIndex (BandName::BandName band, unsigned int channel)
 
void SetL (const double l)
 
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 &b, const TInput3 &nir) const
 

Protected Attributes

double m_EpsilonToBeConsideredAsZero
 

Private Attributes

double m_C1
 
double m_C2
 
double m_G
 
double m_L
 

Detailed Description

template<class TInput1, class TInput2, class TInput3, class TOutput>
class otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >

This functor computes the Enhanced Vegetation Index (EVI)

This vegetation index use three inputs channels

[Huete, Justice, & Liu, 1994; Huete, Liu, Batchily, & van Leeuwen, 1997]

Definition at line 1095 of file otbVegetationIndicesFunctor.h.

Member Typedef Documentation

template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
typedef itk::VariableLengthVector<TInput1> otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::InputVectorType
inherited

Vector pixel type used to support both vector images and multiple input images

Definition at line 154 of file otbVegetationIndicesFunctor.h.

Constructor & Destructor Documentation

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

Definition at line 1104 of file otbVegetationIndicesFunctor.h.

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

Definition at line 1105 of file otbVegetationIndicesFunctor.h.

Member Function Documentation

template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
TOutput otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::Evaluate ( const TInput1 &  r,
const TInput2 &  b,
const TInput3 &  nir 
) const
inlineprotectedvirtual
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
unsigned int otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::GetBlueIndex ( ) const
inlineinherited
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
double otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::GetC1 ( void  ) const
inline
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
double otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::GetC2 ( void  ) const
inline
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
double otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::GetG ( void  ) const
inline
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
unsigned int otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::GetIndex ( BandName::BandName  band) const
inlineinherited
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
double otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::GetL ( void  ) const
inline
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
virtual std::string otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::GetName ( ) const
inlinevirtual
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
unsigned int otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::GetNIRIndex ( ) const
inlineinherited
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
unsigned int otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::GetRedIndex ( ) const
inlineinherited
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
bool otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::operator!= ( const RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput > &  ) const
inlineinherited

Definition at line 157 of file otbVegetationIndicesFunctor.h.

template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
TOutput otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::operator() ( const InputVectorType inputVector)
inlineinherited
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
TOutput otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::operator() ( const TInput1 &  r,
const TInput2 &  b,
const TInput2 &  nir 
)
inlineinherited
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
bool otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::operator== ( const RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput > &  other) const
inlineinherited

Definition at line 163 of file otbVegetationIndicesFunctor.h.

template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
void otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::SetBlueIndex ( unsigned int  channel)
inlineinherited
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
void otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::SetC1 ( const double  c1)
inline

Set/Get C1 parameter

Definition at line 1116 of file otbVegetationIndicesFunctor.h.

References otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::m_C1.

template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
void otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::SetC2 ( const double  c2)
inline

Set/Get C2 parameter

Definition at line 1125 of file otbVegetationIndicesFunctor.h.

References otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::m_C2.

template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
void otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::SetG ( const double  g)
inline

Set/Get G parameter

Definition at line 1107 of file otbVegetationIndicesFunctor.h.

References otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::m_G.

template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
void otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::SetIndex ( BandName::BandName  band,
unsigned int  channel 
)
inlineinherited
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
void otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::SetL ( const double  l)
inline

Set/Get L parameter

Definition at line 1134 of file otbVegetationIndicesFunctor.h.

References otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::m_L.

template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
void otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::SetNIRIndex ( unsigned int  channel)
inlineinherited
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
void otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::SetRedIndex ( unsigned int  channel)
inlineinherited

Member Data Documentation

template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
double otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::m_C1
private
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
double otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::m_C2
private
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
double otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_EpsilonToBeConsideredAsZero
protectedinherited
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
double otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::m_G
private
template<class TInput1 , class TInput2 , class TInput3 , class TOutput >
double otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >::m_L
private

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

Generated at Sat Mar 8 2014 19:08:31 for Orfeo Toolbox with doxygen 1.8.3.1