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

#include <otbSpectralInformationDivergenceFunctor.h>

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

Public Types

using OutputValueType = typename TOutput::ValueType
 

Public Member Functions

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

Private Member Functions

TInput ComputeProbabilityMassFunction (TInput const &input) const
 
OutputValueType ComputeSpectralInformationDivergence (TInput const &p, TInput const &q) const
 

Private Attributes

std::vector< TReference > m_ReferenceProbabilities
 

Detailed Description

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

Definition at line 45 of file otbSpectralInformationDivergenceFunctor.h.

Member Typedef Documentation

◆ OutputValueType

template<class TInput , class TReference , class TOutput >
using otb::Functor::SpectralInformationDivergenceFunctor< TInput, TReference, TOutput >::OutputValueType = typename TOutput::ValueType

Definition at line 51 of file otbSpectralInformationDivergenceFunctor.h.

Constructor & Destructor Documentation

◆ SpectralInformationDivergenceFunctor()

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

◆ ~SpectralInformationDivergenceFunctor()

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

Member Function Documentation

◆ ComputeProbabilityMassFunction()

template<class TInput , class TReference , class TOutput >
TInput otb::Functor::SpectralInformationDivergenceFunctor< TInput, TReference, TOutput >::ComputeProbabilityMassFunction ( TInput const &  input) const
inlineprivate

◆ ComputeSpectralInformationDivergence()

template<class TInput , class TReference , class TOutput >
OutputValueType otb::Functor::SpectralInformationDivergenceFunctor< TInput, TReference, TOutput >::ComputeSpectralInformationDivergence ( TInput const &  p,
TInput const &  q 
) const
inlineprivate

◆ operator()()

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

◆ OutputSize()

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

◆ SetReferencePixels()

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

Member Data Documentation

◆ m_ReferenceProbabilities

template<class TInput , class TReference , class TOutput >
std::vector<TReference> otb::Functor::SpectralInformationDivergenceFunctor< TInput, TReference, TOutput >::m_ReferenceProbabilities
private

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