OTB  9.0.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>

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

◆ SpectralAngleFunctorType

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

◆ CloudEstimatorFunctor()

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

◆ ~CloudEstimatorFunctor()

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

Definition at line 55 of file otbCloudEstimatorFunctor.h.

Member Function Documentation

◆ GetReferencePixel()

template<class TInput , class TOutputValue >
TInput otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::GetReferencePixel ( ) const
inline

◆ GetVariance()

template<class TInput , class TOutputValue >
double otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::GetVariance ( ) const
inline

◆ operator()()

template<class TInput , class TOutputValue >
TOutputValue otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::operator() ( const TInput &  inPix) const
inline

◆ SetReferencePixel()

template<class TInput , class TOutputValue >
void otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetReferencePixel ( TInput  ref)
inline

◆ SetVariance()

template<class TInput , class TOutputValue >
void otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetVariance ( double  variance)
inline

Member Data Documentation

◆ m_Denom

template<class TInput , class TOutputValue >
double otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_Denom
protected

◆ m_ReferencePixel

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

◆ m_RefNorm

template<class TInput , class TOutputValue >
double otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_RefNorm
protected

◆ m_SpectralAngleFunctor

template<class TInput , class TOutputValue >
SpectralAngleFunctorType otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_SpectralAngleFunctor
protected

◆ m_Variance

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: