Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
Public Member Functions | List of all members
otb::Functor::LandsatTM::NDBSI< TInput, TOutput > Class Template Reference

#include <otbLandsatTMIndices.h>

+ Inheritance diagram for otb::Functor::LandsatTM::NDBSI< TInput, TOutput >:
+ Collaboration diagram for otb::Functor::LandsatTM::NDBSI< TInput, TOutput >:

Public Member Functions

 NDBSI ()
 
virtual ~NDBSI ()
 
virtual std::string GetName () const
 
TOutput operator() (const TInput &inputPixel)
 
- Public Member Functions inherited from otb::Functor::LandsatTM::LandsatTMIndex< TInput, TOutput >
 LandsatTMIndex ()
 
virtual ~LandsatTMIndex ()
 
TOutput operator() (const TInput &inputPixel) const
 
- Public Member Functions inherited from otb::Functor::LandsatTM::LandsatTMIndexBase< TInput, TOutput >
 LandsatTMIndexBase ()
 Constructor. More...
 
virtual ~LandsatTMIndexBase ()
 Desctructor. More...
 
DegreeType GetDegre () const
 
double GetEpsilonToBeConsideredAsZero () const
 
unsigned int GetIndex (BandName::LandsatTMBandNames band) const
 
ReflectanceType GetReflectance () const
 
SATType GetSAT () const
 
unsigned int GetTM1 () const
 
unsigned int GetTM2 () const
 
unsigned int GetTM3 () const
 
unsigned int GetTM4 () const
 
unsigned int GetTM5 () const
 
unsigned int GetTM60 () const
 
unsigned int GetTM61 () const
 
unsigned int GetTM62 () const
 
unsigned int GetTM7 () const
 
bool operator!= (const LandsatTMIndexBase &) const
 
bool operator== (const LandsatTMIndexBase &other) const
 
void SetDegree (DegreeType deg)
 
void SetIndex (BandName::LandsatTMBandNames band, unsigned int channel)
 
void SetReflectance (ReflectanceType ref)
 
void SetSAT (SATType sat)
 

Additional Inherited Members

- Protected Member Functions inherited from otb::Functor::LandsatTM::LandsatTMIndexBase< TInput, TOutput >
TInput PrepareValues (const TInput &inputPixel)
 Prepare the values so they are normalized and in C. More...
 
- Protected Attributes inherited from otb::Functor::LandsatTM::LandsatTMIndexBase< TInput, TOutput >
DegreeType m_Degree
 
double m_EpsilonToBeConsideredAsZero
 
ReflectanceType m_Reflectance
 
SATType m_SAT
 
unsigned int m_TM1
 
unsigned int m_TM2
 
unsigned int m_TM3
 
unsigned int m_TM4
 
unsigned int m_TM5
 
unsigned int m_TM60
 
unsigned int m_TM61
 
unsigned int m_TM62
 
unsigned int m_TM7
 

Detailed Description

template<class TInput, class TOutput>
class otb::Functor::LandsatTM::NDBSI< TInput, TOutput >

Normalized Difference Bare Soil index for LandsatTM.

\[ \frac{\left( TM5 - TM4 \right)}{\left( TM5 + TM4 + \epsilon \right)} \]

This expression is the one used in Baraldi et al. 2006, "Automatic Spectral Rule-Based Preliminary Mapping of Calibrated Landsat TM and ETM+ Images", IEEE Trans. on Geoscience and Remote Sensing, vol 44, no 9.

NDBSI > -0.2 is a strong (necesary, but not sufficient) indication of the presence of bare soil areas.

Definition at line 648 of file otbLandsatTMIndices.h.

Constructor & Destructor Documentation

template<class TInput , class TOutput >
otb::Functor::LandsatTM::NDBSI< TInput, TOutput >::NDBSI ( )
inline

Definition at line 657 of file otbLandsatTMIndices.h.

template<class TInput , class TOutput >
virtual otb::Functor::LandsatTM::NDBSI< TInput, TOutput >::~NDBSI ( )
inlinevirtual

Definition at line 658 of file otbLandsatTMIndices.h.

Member Function Documentation

template<class TInput , class TOutput >
virtual std::string otb::Functor::LandsatTM::NDBSI< TInput, TOutput >::GetName ( void  ) const
inlinevirtual

Return the index name

Implements otb::Functor::LandsatTM::LandsatTMIndex< TInput, TOutput >.

Definition at line 652 of file otbLandsatTMIndices.h.

template<class TInput , class TOutput >
TOutput otb::Functor::LandsatTM::NDBSI< TInput, TOutput >::operator() ( const TInput &  inputPixel)
inline

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