OTB  9.0.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 >
 LandsatTMIndexBase ()
 
bool operator!= (const LandsatTMIndexBase &) const
 
bool operator== (const LandsatTMIndexBase &other) const
 
void SetIndex (BandName::LandsatTMBandNames band, unsigned int channel)
 
virtual ~LandsatTMIndexBase ()
 
unsigned int GetIndex (BandName::LandsatTMBandNames band) 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
 
void SetSAT (SATType sat)
 
SATType GetSAT () const
 
void SetDegree (DegreeType deg)
 
DegreeType GetDegre () const
 
void SetReflectance (ReflectanceType ref)
 
ReflectanceType GetReflectance () const
 
double GetEpsilonToBeConsideredAsZero () 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 >
double m_EpsilonToBeConsideredAsZero
 
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
 
SATType m_SAT
 
DegreeType m_Degree
 
ReflectanceType m_Reflectance
 

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

◆ OutputPixelType

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

Definition at line 185 of file otbLandsatTMSpectralRuleBasedClassifier.h.

◆ PrecisionType

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

Definition at line 184 of file otbLandsatTMSpectralRuleBasedClassifier.h.

Member Enumeration Documentation

◆ SpectralCategory

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

◆ SpectralRuleBasedClassifier()

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

Definition at line 193 of file otbLandsatTMSpectralRuleBasedClassifier.h.

◆ ~SpectralRuleBasedClassifier()

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

Definition at line 196 of file otbLandsatTMSpectralRuleBasedClassifier.h.

Member Function Documentation

◆ GetName()

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

Return the index name

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

Definition at line 188 of file otbLandsatTMSpectralRuleBasedClassifier.h.

◆ operator()()

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

Definition at line 200 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: