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

This functor computes the Index surfaces built (ISU) More...

#include <otbBuiltUpIndicesFunctor.h>

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

Public Member Functions

 ISU ()
 Constructor. More...
 
virtual ~ISU ()
 Desctructor. More...
 
double GetA (void) const
 
double GetB (void) const
 
virtual std::string GetName () const
 
void SetA (const double pA)
 
void SetB (const double pB)
 
- 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 &pRed, const TInput2 &pNIR) const
 

Private Attributes

double m_A
 
double m_B
 

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

This functor computes the Index surfaces built (ISU)

[Abdellaoui 1997 ]

Definition at line 180 of file otbBuiltUpIndicesFunctor.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 190 of file otbBuiltUpIndicesFunctor.h.

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

Desctructor.

Definition at line 192 of file otbBuiltUpIndicesFunctor.h.

Member Function Documentation

template<class TInput1 , class TInput2 , class TOutput >
TOutput otb::Functor::ISU< TInput1, TInput2, TOutput >::Evaluate ( const TInput1 &  pRed,
const TInput2 &  pNIR 
) const
inlineprotectedvirtual
template<class TInput1 , class TInput2 , class TOutput >
double otb::Functor::ISU< TInput1, TInput2, TOutput >::GetA ( void  ) const
inline
template<class TInput1 , class TInput2 , class TOutput >
double otb::Functor::ISU< TInput1, TInput2, TOutput >::GetB ( void  ) const
inline
template<class TInput1 , class TInput2 , class TOutput >
virtual std::string otb::Functor::ISU< TInput1, TInput2, TOutput >::GetName ( void  ) const
inlinevirtual

Return the index name

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

Definition at line 184 of file otbBuiltUpIndicesFunctor.h.

template<class TInput1 , class TInput2 , class TOutput >
void otb::Functor::ISU< TInput1, TInput2, TOutput >::SetA ( const double  pA)
inline

Set/Get A correction

Definition at line 195 of file otbBuiltUpIndicesFunctor.h.

References otb::Functor::ISU< TInput1, TInput2, TOutput >::m_A.

template<class TInput1 , class TInput2 , class TOutput >
void otb::Functor::ISU< TInput1, TInput2, TOutput >::SetB ( const double  pB)
inline

Set/Get B correction

Definition at line 204 of file otbBuiltUpIndicesFunctor.h.

References otb::Functor::ISU< TInput1, TInput2, TOutput >::m_B.

Member Data Documentation

template<class TInput1 , class TInput2 , class TOutput >
double otb::Functor::ISU< TInput1, TInput2, TOutput >::m_A
private
template<class TInput1 , class TInput2 , class TOutput >
double otb::Functor::ISU< TInput1, TInput2, TOutput >::m_B
private

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