OTB  9.0.0
Orfeo Toolbox
Public Member Functions | Private Attributes | List of all members
otb::Functor::SqrtSpectralAngleFunctor< TInput, TOutputValue > Class Template Reference

#include <otbSqrtSpectralAngleFunctor.h>

Public Member Functions

TInput GetReferencePixel () const
 
TOutputValue operator() (TInput const &inPix) const
 
void SetReferencePixel (TInput const &ref)
 
 SqrtSpectralAngleFunctor ()
 
virtual ~SqrtSpectralAngleFunctor ()=default
 

Private Attributes

TInput m_ReferencePixel
 
double m_RefNorm
 

Detailed Description

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

This functor computes the square root of a spectral angle according to a reference pixel.

Definition at line 45 of file otbSqrtSpectralAngleFunctor.h.

Constructor & Destructor Documentation

◆ SqrtSpectralAngleFunctor()

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

◆ ~SqrtSpectralAngleFunctor()

template<class TInput , class TOutputValue >
virtual otb::Functor::SqrtSpectralAngleFunctor< TInput, TOutputValue >::~SqrtSpectralAngleFunctor ( )
virtualdefault

Member Function Documentation

◆ GetReferencePixel()

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

◆ operator()()

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

◆ SetReferencePixel()

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

Member Data Documentation

◆ m_ReferencePixel

template<class TInput , class TOutputValue >
TInput otb::Functor::SqrtSpectralAngleFunctor< TInput, TOutputValue >::m_ReferencePixel
private

◆ m_RefNorm

template<class TInput , class TOutputValue >
double otb::Functor::SqrtSpectralAngleFunctor< TInput, TOutputValue >::m_RefNorm
private

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