OTB  5.0.0
Orfeo Toolbox
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
otb::Functor::WaterSqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel > Class Template Reference

#include <otbWaterIndicesFunctor.h>

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

Public Member Functions

void SetIndex (BandName::BandName band, unsigned int channel)
 
unsigned int GetIndex (BandName::BandName band) const
 
- Public Member Functions inherited from otb::Functor::SqrtSpectralAngleFunctor< TInputVectorPixel, TOutputPixel >
 SqrtSpectralAngleFunctor ()
 
virtual ~SqrtSpectralAngleFunctor ()
 
- Public Member Functions inherited from otb::Functor::SpectralAngleFunctor< TInputVectorPixel, TOutputPixel >
TInputVectorPixel GetReferencePixel () const
 
TOutputPixel operator() (const TInputVectorPixel &inPix) const
 
void SetReferencePixel (TInputVectorPixelref)
 
 SpectralAngleFunctor ()
 
virtual ~SpectralAngleFunctor ()
 

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
 
typedef
WaterSqrtSpectralAngleFunctor 
Self
 
typedef
SqrtSpectralAngleFunctor
< TInputVectorPixel,
TOutputPixel > 
Superclass
 
typedef TInputVectorPixel InputVectorPixelType
 
virtual std::string GetName () const
 
 WaterSqrtSpectralAngleFunctor ()
 
virtual ~WaterSqrtSpectralAngleFunctor ()
 
void SetReferenceWaterPixel (InputVectorPixelType ref)
 
void SetBlueChannel (unsigned int channel)
 
unsigned int GetBlueChannel () const
 
void SetGreenChannel (unsigned int channel)
 
unsigned int GetGreenChannel () const
 
void SetRedChannel (unsigned int channel)
 
unsigned int GetRedChannel () const
 
void SetNIRChannel (unsigned int channel)
 
unsigned int GetNIRChannel () const
 

Additional Inherited Members

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

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 634 of file otbWaterIndicesFunctor.h.

Member Typedef Documentation

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

Return the index name

Definition at line 644 of file otbWaterIndicesFunctor.h.

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

Return the index name

Definition at line 642 of file otbWaterIndicesFunctor.h.

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

Return the index name

Definition at line 643 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

Return the index name

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