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

#include <otbLandsatTMSpectralRuleBasedClassifier.h>

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

Public Types

typedef bool OutputPixelType
 
typedef TInput::ValueType PrecisionType
 
enum  SpectralCategory {
  NOCLASS,
  TKCL,
  TNCL,
  SN,
  ICSN,
  DPWASH,
  SLWASH,
  PBHNDVI,
  PBMNDVI,
  PBLNDVI,
  SVHNIR,
  SVLNIR,
  AVHNIR,
  AVLNIR,
  WVHNIR,
  WVLNIR,
  SSRHNIR,
  SSRLNIR,
  ASRHNIR,
  ASRLNIR,
  SHR,
  AHR,
  DR,
  BBBHTIRF,
  BBBHTIRNF,
  BBBLTIRF,
  BBBLTIRNF,
  SBBHTIRF,
  SBBHTIRNF,
  SBBLTIRF,
  SBBLTIRNF,
  ABBHTIRF,
  ABBHTIRNF,
  ABBLTIRF,
  ABBLTIRNF,
  DBBHTIRF,
  DBBHTIRNF,
  DBBLTIRF,
  DBBLTIRNF,
  WR,
  SHV,
  SHB,
  SHCL,
  TWASHSN,
  WE,
  TWA,
  SU
}
 
- Public Types inherited from otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >
typedef bool OutputPixelType
 
typedef TInput::ValueType PrecisionType
 

Public Member Functions

std::string GetName () const override
 
TOutput operator() (const TInput &inputPixel)
 
 SpectralRuleBasedClassifier ()
 
 ~SpectralRuleBasedClassifier () override
 
- Public Member Functions inherited from otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >
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
 

Additional Inherited Members

- Protected Member Functions inherited from otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >
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 inherited from otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >
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::SpectralRuleBasedClassifier< TInput, TOutput >

Implementation of the SpectralRuleBasedClassifier 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 classifier assumes that the input image is calibrated in reflectances and in temperature. The reflectances can be given in the 0-1 range (Normalized) or in 0-1000 (Thousands). Temperatures can be given in Kelvin, in Kelvin*100 or in Celsius. Appropriate accessors are available for setting these units.

The OTB development team acknowledges the contribution of Andrea Baraldi, who provided the correct set of threshold values for the published rule set implementation to be reproduced. Andrea Baraldi is the inventor of the Satellite Image Automatic Mapper TradeMark (SIAM) software product conceived, developed and supported solely by Baraldi Consultancy in Remote Sensing of Andrea Baraldi.

Definition at line 63 of file otbLandsatTMSpectralRuleBasedClassifier.h.

Member Typedef Documentation

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

Definition at line 184 of file otbLandsatTMSpectralRuleBasedClassifier.h.

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

Definition at line 183 of file otbLandsatTMSpectralRuleBasedClassifier.h.

Member Enumeration Documentation

template<class TInput , class TOutput >
enum otb::Functor::LandsatTM::SpectralRuleBasedClassifier::SpectralCategory
Enumerator
NOCLASS 
TKCL 
TNCL 
SN 
ICSN 
DPWASH 
SLWASH 
PBHNDVI 
PBMNDVI 
PBLNDVI 
SVHNIR 
SVLNIR 
AVHNIR 
AVLNIR 
WVHNIR 
WVLNIR 
SSRHNIR 
SSRLNIR 
ASRHNIR 
ASRLNIR 
SHR 
AHR 
DR 
BBBHTIRF 
BBBHTIRNF 
BBBLTIRF 
BBBLTIRNF 
SBBHTIRF 
SBBHTIRNF 
SBBLTIRF 
SBBLTIRNF 
ABBHTIRF 
ABBHTIRNF 
ABBLTIRF 
ABBLTIRNF 
DBBHTIRF 
DBBHTIRNF 
DBBLTIRF 
DBBLTIRNF 
WR 
SHV 
SHB 
SHCL 
TWASHSN 
WE 
TWA 
SU 

Definition at line 67 of file otbLandsatTMSpectralRuleBasedClassifier.h.

Constructor & Destructor Documentation

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

Definition at line 192 of file otbLandsatTMSpectralRuleBasedClassifier.h.

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

Definition at line 193 of file otbLandsatTMSpectralRuleBasedClassifier.h.

Member Function Documentation

template<class TInput , class TOutput >
std::string otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::GetName ( void  ) const
inlineoverridevirtual

Return the index name

Reimplemented from otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >.

Definition at line 187 of file otbLandsatTMSpectralRuleBasedClassifier.h.

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

Definition at line 195 of file otbLandsatTMSpectralRuleBasedClassifier.h.

References otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::ABBHTIRF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::ABBHTIRNF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::ABBLTIRF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::ABBLTIRNF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::AHR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::ASRHNIR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::ASRLNIR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::AVHNIR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::AVLNIR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::BBBHTIRF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::BBBHTIRNF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::BBBLTIRF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::BBBLTIRNF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::DBBHTIRF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::DBBHTIRNF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::DBBLTIRF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::DBBLTIRNF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::DPWASH, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::DR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::ICSN, otb::Functor::LandsatTM::LandsatTMIndexBase< TInput, TOutput >::m_SAT, otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::m_TV1, otb::Functor::LandsatTM::KernelSpectralRule< TInput, TOutput >::m_TV2, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::PBHNDVI, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::PBLNDVI, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::PBMNDVI, otb::Functor::LandsatTM::LandsatTMIndexBase< TInput, TOutput >::PrepareValues(), otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SBBHTIRF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SBBHTIRNF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SBBLTIRF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SBBLTIRNF, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SHB, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SHCL, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SHR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SHV, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SLWASH, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SN, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SSRHNIR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SSRLNIR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SU, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SVHNIR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::SVLNIR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::TKCL, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::TNCL, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::TWA, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::TWASHSN, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::WE, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::WR, otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::WVHNIR, and otb::Functor::LandsatTM::SpectralRuleBasedClassifier< TInput, TOutput >::WVLNIR.


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