OTB
9.0.0
Orfeo Toolbox
|
#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 |
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.
typedef SpectralAngleFunctor<TInput, TOutputValue> otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SpectralAngleFunctorType |
Definition at line 44 of file otbCloudEstimatorFunctor.h.
|
inline |
Definition at line 46 of file otbCloudEstimatorFunctor.h.
References otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_Denom, otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_ReferencePixel, otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_RefNorm, and otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_Variance.
|
inlinevirtual |
Definition at line 55 of file otbCloudEstimatorFunctor.h.
|
inline |
Definition at line 100 of file otbCloudEstimatorFunctor.h.
References otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_ReferencePixel.
Referenced by otb::Functor::CloudDetectionFunctor< TInput, TOutputValue >::GetReferencePixel().
|
inline |
Definition at line 104 of file otbCloudEstimatorFunctor.h.
References otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_Variance.
Referenced by otb::Functor::CloudDetectionFunctor< TInput, TOutputValue >::GetVariance().
|
inline |
Definition at line 58 of file otbCloudEstimatorFunctor.h.
References otb::CONST_PI, otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_Denom, otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_ReferencePixel, otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_RefNorm, and otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_SpectralAngleFunctor.
|
inline |
Definition at line 81 of file otbCloudEstimatorFunctor.h.
References otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_ReferencePixel, otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_RefNorm, otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_SpectralAngleFunctor, otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_Variance, otb::Functor::SpectralAngleFunctor< TInput, TOutputValue >::SetReferencePixel(), and otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetVariance().
Referenced by otb::Functor::CloudDetectionFunctor< TInput, TOutputValue >::SetReferencePixel().
|
inline |
Definition at line 94 of file otbCloudEstimatorFunctor.h.
References otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_Denom, otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_RefNorm, and otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::m_Variance.
Referenced by otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetReferencePixel(), and otb::Functor::CloudDetectionFunctor< TInput, TOutputValue >::SetVariance().
|
protected |
Definition at line 114 of file otbCloudEstimatorFunctor.h.
Referenced by otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::CloudEstimatorFunctor(), otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::operator()(), and otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetVariance().
|
protected |
Definition at line 111 of file otbCloudEstimatorFunctor.h.
Referenced by otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::CloudEstimatorFunctor(), otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::GetReferencePixel(), otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::operator()(), and otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetReferencePixel().
|
protected |
Definition at line 112 of file otbCloudEstimatorFunctor.h.
Referenced by otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::CloudEstimatorFunctor(), otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::operator()(), otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetReferencePixel(), and otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetVariance().
|
protected |
Definition at line 110 of file otbCloudEstimatorFunctor.h.
Referenced by otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::operator()(), and otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetReferencePixel().
|
protected |
Definition at line 113 of file otbCloudEstimatorFunctor.h.
Referenced by otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::CloudEstimatorFunctor(), otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::GetVariance(), otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetReferencePixel(), and otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::SetVariance().