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

#include <otbCloudEstimatorFunctor.h>

+ Collaboration diagram for otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >:

Public Types

typedef SpectralAngleFunctor
< TInput, TOutputValue > 
SpectralAngleFunctorType
 

Public Member Functions

 CloudEstimatorFunctor ()
 
TInput GetReferencePixel () const
 
double GetVariance () const
 
TOutputValue operator() (const TInput &inPix) const
 
void SetReferencePixel (TInput ref)
 
void SetVariance (double variance)
 
virtual ~CloudEstimatorFunctor ()
 

Protected Attributes

double m_Denom
 
TInput m_ReferencePixel
 
double m_RefNorm
 
SpectralAngleFunctorType m_SpectralAngleFunctor
 
double m_Variance
 

Detailed Description

template<class TInput, class TOutputValue>
class otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >

Functor to help with the cloud detection.

This functor first computes the spectral angle according to a reference pixel. Then multiplies the result by a Gaussian coefficient And reverse the pixel values.

Definition at line 41 of file otbCloudEstimatorFunctor.h.

Member Typedef Documentation

template<class TInput , class TOutputValue >
typedef SpectralAngleFunctor<TInput, TOutputValue> otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SpectralAngleFunctorType

Definition at line 44 of file otbCloudEstimatorFunctor.h.

Constructor & Destructor Documentation

template<class TInput , class TOutputValue >
otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::CloudEstimatorFunctor ( )
inline
template<class TInput , class TOutputValue >
virtual otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::~CloudEstimatorFunctor ( )
inlinevirtual

Definition at line 55 of file otbCloudEstimatorFunctor.h.

Member Function Documentation

template<class TInput , class TOutputValue >
TInput otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::GetReferencePixel ( ) const
inline
template<class TInput , class TOutputValue >
double otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::GetVariance ( void  ) const
inline
template<class TInput , class TOutputValue >
TOutputValue otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::operator() ( const TInput &  inPix) const
inline
template<class TInput , class TOutputValue >
void otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetReferencePixel ( TInput  ref)
inline
template<class TInput , class TOutputValue >
void otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetVariance ( double  variance)
inline

Member Data Documentation

template<class TInput , class TOutputValue >
double otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_Denom
protected
template<class TInput , class TOutputValue >
TInput otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_ReferencePixel
protected
template<class TInput , class TOutputValue >
double otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_RefNorm
protected
template<class TInput , class TOutputValue >
SpectralAngleFunctorType otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_SpectralAngleFunctor
protected
template<class TInput , class TOutputValue >
double otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_Variance
protected

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