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

#include <otbLandsatTMIndices.h>

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

Public Member Functions

 Bright ()
 
virtual ~Bright ()
 
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::Bright< TInput, TOutput >

Brightness index for LandsatTM. Computes a weighted mean of the non thermal bands as follows :

\[ \frac{1}{8}\left( TM1 + TM2 + 2\times TM3 + 2\times TM4 + TM5 + TM7\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.

Definition at line 360 of file otbLandsatTMIndices.h.

Constructor & Destructor Documentation

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

Definition at line 369 of file otbLandsatTMIndices.h.

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

Definition at line 370 of file otbLandsatTMIndices.h.

Member Function Documentation

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

Return the index name

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

Definition at line 364 of file otbLandsatTMIndices.h.

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

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