OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | List of all members
otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput > Class Template Reference

#include <otbBayesianFusionFilter.h>

+ Inheritance diagram for otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >:

Public Types

typedef itk::VariableSizeMatrix< RealTypeMatrixType
 
typedef TInputMultiSpectral::RealValueType RealType
 

Public Member Functions

 BayesianFunctor ()
 
float GetAlpha ()
 
MatrixType GetBeta ()
 
MatrixType GetCovarianceInvMatrix ()
 
float GetLambda ()
 
float GetS ()
 
MatrixType GetVcondopt ()
 
constexpr vcl_size_t OutputSize (const std::array< vcl_size_t, 3 > inputsNbBands) const
 
void SetAlpha (float alpha)
 
void SetBeta (MatrixType matrix)
 
void SetCovarianceInvMatrix (MatrixType matrix)
 
void SetLambda (float lambda)
 
void SetS (float S)
 
void SetVcondopt (MatrixType matrix)
 
virtual ~BayesianFunctor ()
 
float m_Lambda
 
float m_S
 
float m_Alpha
 
MatrixType m_CovarianceInvMatrix
 
MatrixType m_Beta
 
MatrixType m_Vcondopt
 
void operator() (TOutput &obs, const TInputMultiSpectral &, const TInputMultiSpectralInterp &msi, const TInputPanchro &p)
 

Detailed Description

template<class TInputMultiSpectral, class TInputMultiSpectralInterp, class TInputPanchro, class TOutput>
class otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >

Functor for the bayesian fusion filter. Please refer to BayesianFusionFilter.

Definition at line 43 of file otbBayesianFusionFilter.h.

Member Typedef Documentation

◆ MatrixType

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
typedef itk::VariableSizeMatrix<RealType> otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::MatrixType

Definition at line 53 of file otbBayesianFusionFilter.h.

◆ RealType

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
typedef TInputMultiSpectral::RealValueType otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::RealType

Definition at line 52 of file otbBayesianFusionFilter.h.

Constructor & Destructor Documentation

◆ BayesianFunctor()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::BayesianFunctor ( )
inline

Definition at line 46 of file otbBayesianFusionFilter.h.

◆ ~BayesianFunctor()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
virtual otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::~BayesianFunctor ( )
inlinevirtual

Definition at line 49 of file otbBayesianFusionFilter.h.

Member Function Documentation

◆ GetAlpha()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
float otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::GetAlpha ( )
inline

Definition at line 83 of file otbBayesianFusionFilter.h.

◆ GetBeta()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
MatrixType otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::GetBeta ( )
inline

Definition at line 91 of file otbBayesianFusionFilter.h.

◆ GetCovarianceInvMatrix()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
MatrixType otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::GetCovarianceInvMatrix ( )
inline

Definition at line 95 of file otbBayesianFusionFilter.h.

◆ GetLambda()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
float otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::GetLambda ( )
inline

Definition at line 79 of file otbBayesianFusionFilter.h.

◆ GetS()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
float otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::GetS ( )
inline

Definition at line 87 of file otbBayesianFusionFilter.h.

◆ GetVcondopt()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
MatrixType otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::GetVcondopt ( )
inline

Definition at line 99 of file otbBayesianFusionFilter.h.

◆ operator()()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
void otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::operator() ( TOutput &  obs,
const TInputMultiSpectral &  ,
const TInputMultiSpectralInterp &  msi,
const TInputPanchro &  p 
)
inline

TODO To modify using + method operator. If we use it now -> exceptionmacro (no GetClassName...) obsMat += PanVect;

** END TODO

Definition at line 104 of file otbBayesianFusionFilter.h.

◆ OutputSize()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
constexpr vcl_size_t otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::OutputSize ( const std::array< vcl_size_t, 3 >  inputsNbBands) const
inlineconstexpr

Definition at line 148 of file otbBayesianFusionFilter.h.

◆ SetAlpha()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
void otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::SetAlpha ( float  alpha)
inline

Definition at line 63 of file otbBayesianFusionFilter.h.

◆ SetBeta()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
void otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::SetBeta ( MatrixType  matrix)
inline

Definition at line 67 of file otbBayesianFusionFilter.h.

◆ SetCovarianceInvMatrix()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
void otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::SetCovarianceInvMatrix ( MatrixType  matrix)
inline

Definition at line 71 of file otbBayesianFusionFilter.h.

◆ SetLambda()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
void otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::SetLambda ( float  lambda)
inline

Definition at line 55 of file otbBayesianFusionFilter.h.

◆ SetS()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
void otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::SetS ( float  S)
inline

Definition at line 59 of file otbBayesianFusionFilter.h.

◆ SetVcondopt()

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
void otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::SetVcondopt ( MatrixType  matrix)
inline

Definition at line 75 of file otbBayesianFusionFilter.h.

Member Data Documentation

◆ m_Alpha

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
float otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_Alpha
private

◆ m_Beta

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
MatrixType otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_Beta
private

◆ m_CovarianceInvMatrix

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
MatrixType otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_CovarianceInvMatrix
private

◆ m_Lambda

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
float otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_Lambda
private

◆ m_S

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
float otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_S
private

◆ m_Vcondopt

template<class TInputMultiSpectral , class TInputMultiSpectralInterp , class TInputPanchro , class TOutput >
MatrixType otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_Vcondopt
private

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