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

This functor computes the Redness Index (IR) More...

#include <otbSoilIndicesFunctor.h>

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

Public Member Functions

 IR ()
 Constructor. More...
 
virtual ~IR ()
 Desctructor. More...
 
virtual std::string GetName () const
 
- Public Member Functions inherited from otb::Functor::GAndRIndexBase< TInput1, TInput2, TOutput >
 GAndRIndexBase ()
 Constructor. More...
 
virtual ~GAndRIndexBase ()
 Desctructor. More...
 
unsigned int GetGreenIndex () const
 Get Green Index. More...
 
unsigned int GetIndex (BandName::BandName band) const
 
unsigned int GetRedIndex () const
 Get Red Index. More...
 
bool operator!= (const GAndRIndexBase &) const
 
TOutput operator() (const InputVectorType &inputVector) const
 
TOutput operator() (const TInput1 &g, const TInput2 &r) const
 
bool operator== (const GAndRIndexBase &other) const
 
void SetGreenIndex (unsigned int channel)
 Set Green Index. More...
 
void SetIndex (BandName::BandName band, unsigned int channel)
 
void SetRedIndex (unsigned int channel)
 Set Red Index. More...
 

Protected Member Functions

TOutput Evaluate (const TInput1 &pGreen, const TInput2 &pRed) const
 

Additional Inherited Members

- Public Types inherited from otb::Functor::GAndRIndexBase< TInput1, TInput2, TOutput >
typedef
itk::VariableLengthVector
< TInput1 > 
InputVectorType
 
- Protected Attributes inherited from otb::Functor::GAndRIndexBase< TInput1, TInput2, TOutput >
double m_EpsilonToBeConsideredAsZero
 

Detailed Description

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

This functor computes the Redness Index (IR)

[Pouget et al., "Caracteristiques spectrales des surfaces sableuses de la region cotiere nord-ouest de l'Egypte: application aux donnees satellitaires Spot, In: 2eme Journeees de Teledetection: Caracterisation et suivi des milieux terrestres en regions arides et tropicales. 4-6/12/1990 Ed. ORSTOM, Collection Colloques et Seminaires, Paris, pp. 27-38]

Definition at line 277 of file otbSoilIndicesFunctor.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 287 of file otbSoilIndicesFunctor.h.

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

Desctructor.

Definition at line 289 of file otbSoilIndicesFunctor.h.

Member Function Documentation

template<class TInput1 , class TInput2 , class TOutput >
TOutput otb::Functor::IR< TInput1, TInput2, TOutput >::Evaluate ( const TInput1 &  pGreen,
const TInput2 &  pRed 
) const
inlineprotectedvirtual
template<class TInput1 , class TInput2 , class TOutput >
virtual std::string otb::Functor::IR< TInput1, TInput2, TOutput >::GetName ( void  ) const
inlinevirtual

Return the index name

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

Definition at line 281 of file otbSoilIndicesFunctor.h.


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