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

#include <otbSpectralAngleFunctor.h>

+ Collaboration diagram for otb::Functor::SpectralAngleMapperFunctor< TInput, TReference, TOutput >:

Public Member Functions

const std::vector< TReference > & GetReferencePixels () const
 
TOutput operator() (const TInput &inPix) const
 
vcl_size_t OutputSize (...) const
 
void SetReferencePixels (std::vector< TReference > ref)
 
 SpectralAngleMapperFunctor ()=default
 
virtual ~SpectralAngleMapperFunctor ()=default
 

Private Attributes

std::vector< double > m_ReferenceNorm
 
std::vector< TReference > m_ReferencePixels
 

Detailed Description

template<class TInput, class TReference, class TOutput>
class otb::Functor::SpectralAngleMapperFunctor< TInput, TReference, TOutput >

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

Definition at line 106 of file otbSpectralAngleFunctor.h.

Constructor & Destructor Documentation

◆ SpectralAngleMapperFunctor()

template<class TInput , class TReference , class TOutput >
otb::Functor::SpectralAngleMapperFunctor< TInput, TReference, TOutput >::SpectralAngleMapperFunctor ( )
default

◆ ~SpectralAngleMapperFunctor()

template<class TInput , class TReference , class TOutput >
virtual otb::Functor::SpectralAngleMapperFunctor< TInput, TReference, TOutput >::~SpectralAngleMapperFunctor ( )
virtualdefault

Member Function Documentation

◆ GetReferencePixels()

template<class TInput , class TReference , class TOutput >
const std::vector<TReference>& otb::Functor::SpectralAngleMapperFunctor< TInput, TReference, TOutput >::GetReferencePixels ( ) const
inline

◆ operator()()

template<class TInput , class TReference , class TOutput >
TOutput otb::Functor::SpectralAngleMapperFunctor< TInput, TReference, TOutput >::operator() ( const TInput &  inPix) const
inline

◆ OutputSize()

template<class TInput , class TReference , class TOutput >
vcl_size_t otb::Functor::SpectralAngleMapperFunctor< TInput, TReference, TOutput >::OutputSize (   ...) const
inline

◆ SetReferencePixels()

template<class TInput , class TReference , class TOutput >
void otb::Functor::SpectralAngleMapperFunctor< TInput, TReference, TOutput >::SetReferencePixels ( std::vector< TReference >  ref)
inline

Member Data Documentation

◆ m_ReferenceNorm

template<class TInput , class TReference , class TOutput >
std::vector<double> otb::Functor::SpectralAngleMapperFunctor< TInput, TReference, TOutput >::m_ReferenceNorm
private

◆ m_ReferencePixels

template<class TInput , class TReference , class TOutput >
std::vector<TReference> otb::Functor::SpectralAngleMapperFunctor< TInput, TReference, TOutput >::m_ReferencePixels
private

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