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

This functor computes the Normalized Difference Built Up Index (NDBI) More...

#include <otbBuiltUpIndicesFunctor.h>

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

Public Member Functions

 NDBI ()
 Constructor. More...
 
virtual ~NDBI ()
 Desctructor. More...
 
virtual std::string GetName () const
 
- Public Member Functions inherited from otb::Functor::TM4AndTM5IndexBase< TInput1, TInput2, TOutput >
 TM4AndTM5IndexBase ()
 Constructor. More...
 
virtual ~TM4AndTM5IndexBase ()
 Desctructor. More...
 
unsigned int GetIndex (BandName::BandName band) const
 
unsigned int GetIndex1 () const
 Get TM4 Index. More...
 
unsigned int GetIndex2 () const
 Get TM5 Index. More...
 
bool operator!= (const TM4AndTM5IndexBase &) const
 
TOutput operator() (const InputVectorType &inputVector) const
 
TOutput operator() (const TInput1 &tm4, const TInput2 &tm5) const
 
bool operator== (const TM4AndTM5IndexBase &other) const
 
void SetIndex (BandName::BandName band, unsigned int channel)
 
void SetIndex1 (unsigned int channel)
 Set TM4 Index. More...
 
void SetIndex2 (unsigned int channel)
 Set TM5 Index. More...
 

Protected Member Functions

TOutput Evaluate (const TInput1 &pTM4, const TInput2 &pTM5) const
 

Additional Inherited Members

- Public Types inherited from otb::Functor::TM4AndTM5IndexBase< TInput1, TInput2, TOutput >
typedef
itk::VariableLengthVector
< TInput1 > 
InputVectorType
 

Detailed Description

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

This functor computes the Normalized Difference Built Up Index (NDBI)

[Zha 2003]

Definition at line 145 of file otbBuiltUpIndicesFunctor.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 155 of file otbBuiltUpIndicesFunctor.h.

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

Desctructor.

Definition at line 157 of file otbBuiltUpIndicesFunctor.h.

Member Function Documentation

template<class TInput1 , class TInput2 , class TOutput >
TOutput otb::Functor::NDBI< TInput1, TInput2, TOutput >::Evaluate ( const TInput1 &  pTM4,
const TInput2 &  pTM5 
) const
inlineprotectedvirtual
template<class TInput1 , class TInput2 , class TOutput >
virtual std::string otb::Functor::NDBI< TInput1, TInput2, TOutput >::GetName ( void  ) const
inlinevirtual

Return the index name

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

Definition at line 149 of file otbBuiltUpIndicesFunctor.h.


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