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

#include <otbSpectralAngleFunctor.h>

Public Member Functions

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

Private Attributes

TInput m_ReferencePixel
 
double m_RefNorm
 

Detailed Description

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

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

This functor computes the spectral information divergence according to a reference pixel.

Du, Yingzi & Chang, Chein-I & Ren, Hsuan & Chang, Chein-Chi & Jensen, James & D'Amico, Francis. (2004). " "New Hyperspectral Discrimination Measure for Spectral Characterization. Optical Engineering - OPT ENG. 43." " 1777-1786. 10.1117/1.1766301.

Definition at line 67 of file otbSpectralAngleFunctor.h.

Constructor & Destructor Documentation

◆ SpectralAngleFunctor()

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

◆ ~SpectralAngleFunctor()

template<class TInput , class TOutputValue >
otb::Functor::SpectralAngleFunctor< TInput, TOutputValue >::~SpectralAngleFunctor ( )
default

Member Function Documentation

◆ GetReferencePixel()

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

◆ operator()()

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

◆ SetReferencePixel()

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

Member Data Documentation

◆ m_ReferencePixel

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

◆ m_RefNorm

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

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