Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
Public Member Functions | Protected Member Functions | List of all members
otb::Functor::NDVI< TInput1, TInput2, TOutput > Class Template Reference

This functor computes the Normalized Difference Vegetation Index (NDVI) More...

#include <otbVegetationIndicesFunctor.h>

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

Public Member Functions

 NDVI ()
 Constructor. More...
 
virtual ~NDVI ()
 Desctructor. More...
 
virtual std::string GetName () const
 
- 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
 

Additional Inherited Members

- Public Types inherited from otb::Functor::RAndNIRIndexBase< TInput1, TInput2, TOutput >
typedef
itk::VariableLengthVector
< TInput1 > 
InputVectorType
 
- 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::NDVI< TInput1, TInput2, TOutput >

This functor computes the Normalized Difference Vegetation Index (NDVI)

[Rouse et al., 1973]

Definition at line 401 of file otbVegetationIndicesFunctor.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 412 of file otbVegetationIndicesFunctor.h.

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

Desctructor.

Definition at line 414 of file otbVegetationIndicesFunctor.h.

Member Function Documentation

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

Return the index name

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

Definition at line 406 of file otbVegetationIndicesFunctor.h.


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