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

This functor computes the Transformed NDVI (TNDVI) More...

#include <otbVegetationIndicesFunctor.h>

+ Inheritance diagram for otb::Functor::TNDVI< TInput1, TInput2, TOutput >:
+ Collaboration diagram for otb::Functor::TNDVI< 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

 TNDVI ()
 
virtual ~TNDVI ()
 
virtual std::string GetName () const
 
NDVIFunctorType GetNDVI (void) 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
 

Private Attributes

NDVIFunctorType m_NDVIfunctor
 

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::TNDVI< TInput1, TInput2, TOutput >

This functor computes the Transformed NDVI (TNDVI)

[Deering, 1975]

Definition at line 1217 of file otbVegetationIndicesFunctor.h.

Member Typedef Documentation

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

Definition at line 1226 of file otbVegetationIndicesFunctor.h.

Constructor & Destructor Documentation

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

Definition at line 1227 of file otbVegetationIndicesFunctor.h.

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

Definition at line 1228 of file otbVegetationIndicesFunctor.h.

Member Function Documentation

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

Return the index name

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

Definition at line 1221 of file otbVegetationIndicesFunctor.h.

template<class TInput1 , class TInput2 , class TOutput >
NDVIFunctorType otb::Functor::TNDVI< TInput1, TInput2, TOutput >::GetNDVI ( void  ) const
inline

Member Data Documentation

template<class TInput1 , class TInput2 , class TOutput >
NDVIFunctorType otb::Functor::TNDVI< TInput1, TInput2, TOutput >::m_NDVIfunctor
private

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