Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel > Class Template Reference

This functor uses a spectral angle with a particular reference pixel. More...

#include <otbWaterIndicesFunctor.h>

+ Inheritance diagram for otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >:
+ Collaboration diagram for otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >:

Public Types

typedef TInputVectorPixel InputVectorPixelType
 
typedef
WaterSqrtSpectralAngleFunctor 
Self
 
typedef
SqrtSpectralAngleFunctor
< TInputVectorPixel,
TOutputPixel > 
Superclass
 
- Public Types inherited from otb::Functor::SqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >
typedef SqrtSpectralAngleFunctor Self
 
typedef SpectralAngleFunctor
< TInputVectorPixel,
TOutputPixel > 
Superclass
 

Public Member Functions

 WaterSqrtSpectralAngleFunctor ()
 
virtual ~WaterSqrtSpectralAngleFunctor ()
 
unsigned int GetBlueChannel () const
 
unsigned int GetGreenChannel () const
 
unsigned int GetIndex (BandName::BandName band) const
 
virtual std::string GetName () const
 
unsigned int GetNIRChannel () const
 
unsigned int GetRedChannel () const
 
void SetBlueChannel (unsigned int channel)
 
void SetGreenChannel (unsigned int channel)
 
void SetIndex (BandName::BandName band, unsigned int channel)
 
void SetNIRChannel (unsigned int channel)
 
void SetRedChannel (unsigned int channel)
 
void SetReferenceWaterPixel (InputVectorPixelType ref)
 
- Public Member Functions inherited from otb::Functor::SqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >
 SqrtSpectralAngleFunctor ()
 
virtual ~SqrtSpectralAngleFunctor ()
 
- Public Member Functions inherited from otb::Functor::SpectralAngleFunctor< TInputVectorPixel, TOutputPixel >
 SpectralAngleFunctor ()
 
virtual ~SpectralAngleFunctor ()
 
TInputVectorPixel GetReferencePixel () const
 
TOutputPixel operator() (const TInputVectorPixel &inPix) const
 
void SetReferencePixel (TInputVectorPixelref)
 

Protected Member Functions

TOutputPixel Evaluate (const TInputVectorPixel &inPix) const
 

Protected Attributes

int m_BlueIndex
 
int m_GreenIndex
 
int m_NIRIndex
 
int m_RedIndex
 
- Protected Attributes inherited from otb::Functor::SpectralAngleFunctor< TInputVectorPixel, TOutputPixel >
TInputVectorPixel m_ReferencePixel
 
double m_RefNorm
 

Detailed Description

template<class TInputVectorPixel, class TOutputPixel>
class otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >

This functor uses a spectral angle with a particular reference pixel.

Definition at line 606 of file otbWaterIndicesFunctor.h.

Member Typedef Documentation

template<class TInputVectorPixel , class TOutputPixel >
typedef TInputVectorPixel otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::InputVectorPixelType

Definition at line 616 of file otbWaterIndicesFunctor.h.

template<class TInputVectorPixel , class TOutputPixel >
typedef WaterSqrtSpectralAngleFunctor otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::Self

Definition at line 614 of file otbWaterIndicesFunctor.h.

template<class TInputVectorPixel , class TOutputPixel >
typedef SqrtSpectralAngleFunctor<TInputVectorPixel, TOutputPixel> otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::Superclass

Definition at line 615 of file otbWaterIndicesFunctor.h.

Constructor & Destructor Documentation

template<class TInputVectorPixel , class TOutputPixel >
otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::WaterSqrtSpectralAngleFunctor ( )
inline
template<class TInputVectorPixel , class TOutputPixel >
virtual otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::~WaterSqrtSpectralAngleFunctor ( )
inlinevirtual

Definition at line 632 of file otbWaterIndicesFunctor.h.

Member Function Documentation

template<class TInputVectorPixel , class TOutputPixel >
TOutputPixel otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::Evaluate ( const TInputVectorPixel &  inPix) const
inlineprotectedvirtual
template<class TInputVectorPixel , class TOutputPixel >
unsigned int otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::GetBlueChannel ( ) const
inline
template<class TInputVectorPixel , class TOutputPixel >
unsigned int otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::GetGreenChannel ( ) const
inline
template<class TInputVectorPixel , class TOutputPixel >
unsigned int otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::GetIndex ( BandName::BandName  band) const
inline
template<class TInputVectorPixel , class TOutputPixel >
virtual std::string otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::GetName ( void  ) const
inlinevirtual

Return the index name

Definition at line 610 of file otbWaterIndicesFunctor.h.

template<class TInputVectorPixel , class TOutputPixel >
unsigned int otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::GetNIRChannel ( ) const
inline
template<class TInputVectorPixel , class TOutputPixel >
unsigned int otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::GetRedChannel ( ) const
inline
template<class TInputVectorPixel , class TOutputPixel >
void otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::SetBlueChannel ( unsigned int  channel)
inline
template<class TInputVectorPixel , class TOutputPixel >
void otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::SetGreenChannel ( unsigned int  channel)
inline
template<class TInputVectorPixel , class TOutputPixel >
void otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::SetIndex ( BandName::BandName  band,
unsigned int  channel 
)
inline
template<class TInputVectorPixel , class TOutputPixel >
void otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::SetNIRChannel ( unsigned int  channel)
inline
template<class TInputVectorPixel , class TOutputPixel >
void otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::SetRedChannel ( unsigned int  channel)
inline
template<class TInputVectorPixel , class TOutputPixel >
void otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::SetReferenceWaterPixel ( InputVectorPixelType  ref)
inline

Member Data Documentation

template<class TInputVectorPixel , class TOutputPixel >
int otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::m_BlueIndex
protected
template<class TInputVectorPixel , class TOutputPixel >
int otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::m_GreenIndex
protected
template<class TInputVectorPixel , class TOutputPixel >
int otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::m_NIRIndex
protected
template<class TInputVectorPixel , class TOutputPixel >
int otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >::m_RedIndex
protected

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