OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput > Class Template Reference

#include <otbLandsatTMIndices.h>

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

Public Types

typedef bool OutputPixelType
 
typedef TInput::ValueType PrecisionType
 

Public Member Functions

virtual std::string GetName () const
 
PrecisionType GetTV1 () const
 
PrecisionType GetTV2 () const
 
 KernelSpectralRule ()
 
void SetTV1 (PrecisionType tv1)
 
void SetTV2 (PrecisionType tv2)
 
 ~KernelSpectralRule () override
 
- Public Member Functions inherited from otb::Functor::LandsatTM::LandsatTMIndexBase< TInput, TOutput >
DegreeType GetDegre () const
 
double GetEpsilonToBeConsideredAsZero () 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
 
 LandsatTMIndexBase ()
 
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)
 
virtual ~LandsatTMIndexBase ()
 
unsigned int GetIndex (BandName::LandsatTMBandNames band) const
 

Protected Member Functions

void SetMinMax (const TInput &inputPixel, PrecisionType *max13, PrecisionType *min123, PrecisionType *max123, PrecisionType *min12347, PrecisionType *max12347, PrecisionType *max234, PrecisionType *max45)
 
- Protected Member Functions inherited from otb::Functor::LandsatTM::LandsatTMIndexBase< TInput, TOutput >
TInput PrepareValues (const TInput &inputPixel)
 

Protected Attributes

PrecisionType m_TV1
 
PrecisionType m_TV2
 
- 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::KernelSpectralRule< TInput, TOutput >

Implementation of the Kernel Spectral rules for Landsat TM image land cover classification as described in table IV of 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.

This is a virtual class defining the common accessors to the 14 spectral rules

Definition at line 1059 of file otbLandsatTMIndices.h.

Member Typedef Documentation

template<class TInput , class TOutput >
typedef bool otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::OutputPixelType

Definition at line 1064 of file otbLandsatTMIndices.h.

template<class TInput , class TOutput >
typedef TInput::ValueType otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::PrecisionType

Definition at line 1063 of file otbLandsatTMIndices.h.

Constructor & Destructor Documentation

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

Definition at line 1072 of file otbLandsatTMIndices.h.

template<class TInput , class TOutput >
otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::~KernelSpectralRule ( )
inlineoverride

Definition at line 1073 of file otbLandsatTMIndices.h.

Member Function Documentation

template<class TInput , class TOutput >
virtual std::string otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::GetName ( void  ) const
inlinevirtual
template<class TInput , class TOutput >
PrecisionType otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::GetTV1 ( ) const
inline
template<class TInput , class TOutput >
PrecisionType otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::GetTV2 ( ) const
inline
template<class TInput , class TOutput >
void otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::SetMinMax ( const TInput &  inputPixel,
PrecisionType max13,
PrecisionType min123,
PrecisionType max123,
PrecisionType min12347,
PrecisionType max12347,
PrecisionType max234,
PrecisionType max45 
)
inlineprotected
template<class TInput , class TOutput >
void otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::SetTV1 ( PrecisionType  tv1)
inline
template<class TInput , class TOutput >
void otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::SetTV2 ( PrecisionType  tv2)
inline

Member Data Documentation

template<class TInput , class TOutput >
PrecisionType otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::m_TV1
protected
template<class TInput , class TOutput >
PrecisionType otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::m_TV2
protected

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