OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Private Attributes | 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 >:
+ Collaboration diagram for otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >:

Public Types

typedef
itk::VariableSizeMatrix
< RealType
MatrixType
 
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 ()
 
void operator() (TOutput &obs, const TInputMultiSpectral &, const TInputMultiSpectralInterp &msi, const TInputPanchro &p)
 

Private Attributes

float m_Alpha
 
MatrixType m_Beta
 
MatrixType m_CovarianceInvMatrix
 
float m_Lambda
 
float m_S
 
MatrixType m_Vcondopt
 

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 46 of file otbBayesianFusionFilter.h.

Member Typedef Documentation

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

Definition at line 52 of file otbBayesianFusionFilter.h.

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

Definition at line 51 of file otbBayesianFusionFilter.h.

Constructor & Destructor Documentation

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

Definition at line 49 of file otbBayesianFusionFilter.h.

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

Definition at line 50 of file otbBayesianFusionFilter.h.

Member Function Documentation

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

Definition at line 82 of file otbBayesianFusionFilter.h.

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

Definition at line 90 of file otbBayesianFusionFilter.h.

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

Definition at line 94 of file otbBayesianFusionFilter.h.

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

Definition at line 78 of file otbBayesianFusionFilter.h.

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

Definition at line 86 of file otbBayesianFusionFilter.h.

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

Definition at line 98 of file otbBayesianFusionFilter.h.

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 103 of file otbBayesianFusionFilter.h.

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
inline

Definition at line 151 of file otbBayesianFusionFilter.h.

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

Definition at line 62 of file otbBayesianFusionFilter.h.

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

Definition at line 66 of file otbBayesianFusionFilter.h.

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

Definition at line 70 of file otbBayesianFusionFilter.h.

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

Definition at line 54 of file otbBayesianFusionFilter.h.

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

Definition at line 58 of file otbBayesianFusionFilter.h.

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

Definition at line 74 of file otbBayesianFusionFilter.h.

Member Data Documentation

template<class TInputMultiSpectral, class TInputMultiSpectralInterp, class TInputPanchro, class TOutput>
float otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_Alpha
private
template<class TInputMultiSpectral, class TInputMultiSpectralInterp, class TInputPanchro, class TOutput>
MatrixType otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_Beta
private
template<class TInputMultiSpectral, class TInputMultiSpectralInterp, class TInputPanchro, class TOutput>
MatrixType otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_CovarianceInvMatrix
private
template<class TInputMultiSpectral, class TInputMultiSpectralInterp, class TInputPanchro, class TOutput>
float otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_Lambda
private
template<class TInputMultiSpectral, class TInputMultiSpectralInterp, class TInputPanchro, class TOutput>
float otb::Functor::BayesianFunctor< TInputMultiSpectral, TInputMultiSpectralInterp, TInputPanchro, TOutput >::m_S
private
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: