OTB  9.0.0
Orfeo Toolbox
List of all members
otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage > Class Template Reference

#include <otbBayesianFusionFilter.h>

+ Inheritance diagram for otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >:
+ Collaboration diagram for otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >:
typedef TInputMultiSpectralImage InputMultiSpectralImageType
 
typedef TInputMultiSpectralInterpImage InputMultiSpectralInterpImageType
 
typedef TInputPanchroImage InputPanchroImageType
 
typedef TOutputImage OutputImageType
 
typedef BayesianFusionFilter Self
 
using BayesianFunctorType = Functor::BayesianFunctor< typename TInputMultiSpectralImage::PixelType, typename TInputMultiSpectralInterpImage::PixelType, typename TInputPanchroImage::PixelType, typename TOutputImage::PixelType >
 
typedef FunctorImageFilter< BayesianFunctorTypeSuperclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputMultiSpectralImageType::PixelType InputMultiSpectralPixelType
 
typedef InputMultiSpectralImageType::InternalPixelType InputMultiSpectralInternalPixelType
 
typedef InputMultiSpectralInterpImageType::PixelType InputMultiSpectralInterpPixelType
 
typedef InputMultiSpectralInterpImageType::InternalPixelType InputMultiSpectralInterpInternalPixelType
 
typedef InputPanchroImageType::PixelType InputPanchroPixelType
 
typedef OutputImageType::PixelType OutputPixelType
 
typedef OutputImageType::InternalPixelType OutputInternalPixelType
 
typedef itk::NumericTraits< InputPanchroPixelType >::RealType InputPanchroRealType
 
typedef itk::NumericTraits< InputMultiSpectralInternalPixelType >::RealType InputMultiSpectralRealType
 
typedef InputMultiSpectralImageType::RegionType InputMultiSpectralImageRegionType
 
typedef itk::NumericTraits< InputMultiSpectralInterpInternalPixelType >::RealType InputMultiSpectralInterpRealType
 
typedef InputMultiSpectralInterpImageType::RegionType InputMultiSpectralInterpImageRegionType
 
typedef InputPanchroImageType::RegionType InputPanchroImageRegionType
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef InputMultiSpectralImageType::SizeType SizeType
 
typedef StreamingStatisticsVectorImageFilter< InputMultiSpectralInterpImageTypeStreamingStatisticsVectorImageFilterType
 
typedef StreamingStatisticsVectorImageFilterType::MatrixType MatrixType
 
typedef StreamingMatrixTransposeMatrixImageFilter< InputMultiSpectralImageType, InputMultiSpectralImageTypeMSTransposeMSType
 
typedef ImageToVectorImageCastFilter< InputPanchroImageType, InputMultiSpectralImageTypeCasterType
 
static const unsigned int InputImageDimension = TInputMultiSpectralImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
float m_Lambda
 
float m_S
 
MatrixType m_CovarianceMatrix
 
MatrixType m_CovarianceInvMatrix
 
MatrixType m_Beta
 
MatrixType m_Vcondopt
 
bool m_StatisticsHaveBeenGenerated
 
static Pointer New ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void SetMultiSpect (const InputMultiSpectralImageType *multiSpect)
 
void SetMultiSpectInterp (const InputMultiSpectralInterpImageType *multiSpectInterp)
 
void SetPanchro (const InputPanchroImageType *panchro)
 
const InputMultiSpectralImageTypeGetMultiSpect ()
 
const InputMultiSpectralInterpImageTypeGetMultiSpectInterp ()
 
const InputPanchroImageTypeGetPanchro ()
 
virtual void SetLambda (float _arg)
 
virtual const float & GetLambda () const
 
virtual void SetBeta (MatrixType _arg)
 
virtual const MatrixTypeGetBeta () const
 
virtual void SetCovarianceMatrix (MatrixType _arg)
 
virtual const MatrixTypeGetCovarianceMatrix () const
 
virtual void SetCovarianceInvMatrix (MatrixType _arg)
 
virtual const MatrixTypeGetCovarianceInvMatrix () const
 
virtual void SetVcondopt (MatrixType _arg)
 
virtual const MatrixTypeGetVcondopt () const
 
virtual void SetS (float _arg)
 
virtual const float & GetS () const
 
 BayesianFusionFilter ()
 
 ~BayesianFusionFilter () override
 
void BeforeThreadedGenerateData () override
 
void ComputeInternalStatistics (void)
 
void Modified (void) const override
 

Additional Inherited Members

- Public Types inherited from otb::FunctorImageFilter< Functor::BayesianFunctor< TInputMultiSpectralImage::PixelType, TInputMultiSpectralInterpImage::PixelType, TInputPanchroImage::PixelType, TOutputImage::PixelType > >
using ConstPointer = itk::SmartPointer< const Self >
 
using FunctorType = Functor::BayesianFunctor< TInputMultiSpectralImage::PixelType, TInputMultiSpectralInterpImage::PixelType, TInputPanchroImage::PixelType, TOutputImage::PixelType >
 
using InputHasNeighborhood = typename SuperclassHelper::InputHasNeighborhood
 
using InputImageType = typename Superclass::template InputImageType< I >
 
using InputTypesTupleType = typename Superclass::InputTypesTupleType
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = typename Superclass::OutputImageType
 
using Pointer = itk::SmartPointer< Self >
 
using Self = FunctorImageFilter
 
using Superclass = typename SuperclassHelper::FilterType
 
using SuperclassHelper = FunctorFilterSuperclassHelper< Functor::BayesianFunctor< TInputMultiSpectralImage::PixelType, TInputMultiSpectralInterpImage::PixelType, TInputPanchroImage::PixelType, TOutputImage::PixelType >, void >
 
- Public Member Functions inherited from otb::FunctorImageFilter< Functor::BayesianFunctor< TInputMultiSpectralImage::PixelType, TInputMultiSpectralInterpImage::PixelType, TInputPanchroImage::PixelType, TOutputImage::PixelType > >
virtual const char * GetNameOfClass () const
 
FunctorTypeGetModifiableFunctor ()
 
const FunctorTypeGetFunctor () const
 
- Static Public Member Functions inherited from otb::FunctorImageFilter< Functor::BayesianFunctor< TInputMultiSpectralImage::PixelType, TInputMultiSpectralInterpImage::PixelType, TInputPanchroImage::PixelType, TOutputImage::PixelType > >
static std::enable_if_t< std::is_default_constructible< F >::value, PointerNew ()
 
static std::enable_if_t<!std::is_default_constructible< F >::value, PointerNew ()
 
- Protected Member Functions inherited from otb::FunctorImageFilter< Functor::BayesianFunctor< TInputMultiSpectralImage::PixelType, TInputMultiSpectralInterpImage::PixelType, TInputPanchroImage::PixelType, TOutputImage::PixelType > >
 FunctorImageFilter (const FunctorType &f, itk::Size< 2 > radius)
 
 FunctorImageFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 
 ~FunctorImageFilter ()=default
 

Detailed Description

template<class TInputMultiSpectralImage, class TInputMultiSpectralInterpImage, class TInputPanchroImage, class TOutputImage>
class otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >

Bayesian fusion filter. Contribution of Julien Radoux.

Please refer to D. Fasbender, J. Radoux and P. Bogaert, Bayesian Data Fusion for Adaptable Image Pansharpening, Transactions on Geoscience and Remote Sensing, vol. 46, n. 6, 2007, pp 1847-1857

See also
FusionImageBase
MatrixTransposeMatrix
StreamingStatisticsVectorImageFilter
Examples
Fusion/BayesianFusionImageFilter.cxx.

Definition at line 195 of file otbBayesianFusionFilter.h.

Member Typedef Documentation

◆ BayesianFunctorType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
using otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::BayesianFunctorType = Functor::BayesianFunctor<typename TInputMultiSpectralImage::PixelType, typename TInputMultiSpectralInterpImage::PixelType, typename TInputPanchroImage::PixelType, typename TOutputImage::PixelType>

"typedef" to simplify the variables definition and the declaration.

Definition at line 214 of file otbBayesianFusionFilter.h.

◆ CasterType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef ImageToVectorImageCastFilter<InputPanchroImageType, InputMultiSpectralImageType> otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::CasterType

"typedef" to simplify the variables definition and the declaration.

Definition at line 250 of file otbBayesianFusionFilter.h.

◆ ConstPointer

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef itk::SmartPointer<const Self> otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::ConstPointer

"typedef" to simplify the variables definition and the declaration.

Definition at line 217 of file otbBayesianFusionFilter.h.

◆ InputMultiSpectralImageRegionType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef InputMultiSpectralImageType::RegionType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralImageRegionType

"typedef" to simplify the variables definition and the declaration.

Definition at line 237 of file otbBayesianFusionFilter.h.

◆ InputMultiSpectralImageType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef TInputMultiSpectralImage otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralImageType

"typedef" to simplify the variables definition and the declaration.

Definition at line 206 of file otbBayesianFusionFilter.h.

◆ InputMultiSpectralInternalPixelType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef InputMultiSpectralImageType::InternalPixelType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralInternalPixelType

"typedef" to simplify the variables definition and the declaration.

Definition at line 227 of file otbBayesianFusionFilter.h.

◆ InputMultiSpectralInterpImageRegionType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef InputMultiSpectralInterpImageType::RegionType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralInterpImageRegionType

"typedef" to simplify the variables definition and the declaration.

Definition at line 239 of file otbBayesianFusionFilter.h.

◆ InputMultiSpectralInterpImageType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef TInputMultiSpectralInterpImage otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralInterpImageType

"typedef" to simplify the variables definition and the declaration.

Definition at line 207 of file otbBayesianFusionFilter.h.

◆ InputMultiSpectralInterpInternalPixelType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef InputMultiSpectralInterpImageType::InternalPixelType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralInterpInternalPixelType

"typedef" to simplify the variables definition and the declaration.

Definition at line 229 of file otbBayesianFusionFilter.h.

◆ InputMultiSpectralInterpPixelType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef InputMultiSpectralInterpImageType::PixelType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralInterpPixelType

"typedef" to simplify the variables definition and the declaration.

Definition at line 228 of file otbBayesianFusionFilter.h.

◆ InputMultiSpectralInterpRealType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef itk::NumericTraits<InputMultiSpectralInterpInternalPixelType>::RealType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralInterpRealType

"typedef" to simplify the variables definition and the declaration.

Definition at line 238 of file otbBayesianFusionFilter.h.

◆ InputMultiSpectralPixelType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef InputMultiSpectralImageType::PixelType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralPixelType

Supported images definition.

Definition at line 223 of file otbBayesianFusionFilter.h.

◆ InputMultiSpectralRealType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef itk::NumericTraits<InputMultiSpectralInternalPixelType>::RealType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralRealType

"typedef" to simplify the variables definition and the declaration.

Definition at line 236 of file otbBayesianFusionFilter.h.

◆ InputPanchroImageRegionType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef InputPanchroImageType::RegionType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputPanchroImageRegionType

"typedef" to simplify the variables definition and the declaration.

Definition at line 240 of file otbBayesianFusionFilter.h.

◆ InputPanchroImageType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef TInputPanchroImage otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputPanchroImageType

"typedef" to simplify the variables definition and the declaration.

Definition at line 208 of file otbBayesianFusionFilter.h.

◆ InputPanchroPixelType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef InputPanchroImageType::PixelType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputPanchroPixelType

"typedef" to simplify the variables definition and the declaration.

Definition at line 230 of file otbBayesianFusionFilter.h.

◆ InputPanchroRealType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef itk::NumericTraits<InputPanchroPixelType>::RealType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputPanchroRealType

Real class typedef definition.

Definition at line 235 of file otbBayesianFusionFilter.h.

◆ MatrixType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef StreamingStatisticsVectorImageFilterType::MatrixType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::MatrixType

"typedef" to simplify the variables definition and the declaration.

Definition at line 248 of file otbBayesianFusionFilter.h.

◆ MSTransposeMSType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef StreamingMatrixTransposeMatrixImageFilter<InputMultiSpectralImageType, InputMultiSpectralImageType> otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::MSTransposeMSType

"typedef" to simplify the variables definition and the declaration.

Definition at line 249 of file otbBayesianFusionFilter.h.

◆ OutputImageRegionType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef OutputImageType::RegionType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::OutputImageRegionType

"typedef" to simplify the variables definition and the declaration.

Definition at line 241 of file otbBayesianFusionFilter.h.

◆ OutputImageType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef TOutputImage otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::OutputImageType

"typedef" to simplify the variables definition and the declaration.

Definition at line 209 of file otbBayesianFusionFilter.h.

◆ OutputInternalPixelType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef OutputImageType::InternalPixelType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::OutputInternalPixelType

"typedef" to simplify the variables definition and the declaration.

Definition at line 232 of file otbBayesianFusionFilter.h.

◆ OutputPixelType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef OutputImageType::PixelType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::OutputPixelType

"typedef" to simplify the variables definition and the declaration.

Definition at line 231 of file otbBayesianFusionFilter.h.

◆ Pointer

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef itk::SmartPointer<Self> otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::Pointer

"typedef" to simplify the variables definition and the declaration.

Definition at line 216 of file otbBayesianFusionFilter.h.

◆ Self

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef BayesianFusionFilter otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::Self

"typedef" for standard classes.

Definition at line 212 of file otbBayesianFusionFilter.h.

◆ SizeType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef InputMultiSpectralImageType::SizeType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SizeType

Image size "typedef" definition.

Definition at line 244 of file otbBayesianFusionFilter.h.

◆ StreamingStatisticsVectorImageFilterType

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef StreamingStatisticsVectorImageFilter<InputMultiSpectralInterpImageType> otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::StreamingStatisticsVectorImageFilterType

Typedef for statistic computing.

Definition at line 247 of file otbBayesianFusionFilter.h.

◆ Superclass

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
typedef FunctorImageFilter<BayesianFunctorType> otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::Superclass

"typedef" to simplify the variables definition and the declaration.

Definition at line 215 of file otbBayesianFusionFilter.h.

Constructor & Destructor Documentation

◆ BayesianFusionFilter()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::BayesianFusionFilter ( )
inlineprotected

"typedef" to simplify the variables definition and the declaration.

Definition at line 319 of file otbBayesianFusionFilter.h.

◆ ~BayesianFusionFilter()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::~BayesianFusionFilter ( )
inlineoverrideprotected

"typedef" to simplify the variables definition and the declaration.

Definition at line 326 of file otbBayesianFusionFilter.h.

Member Function Documentation

◆ BeforeThreadedGenerateData()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::BeforeThreadedGenerateData
overrideprotected

Check if internal statistics need to be computed, and do so

Definition at line 38 of file otbBayesianFusionFilter.hxx.

◆ ComputeInternalStatistics()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::ComputeInternalStatistics ( void  )
protected

Compute internal statistics required for fusion

Variable Initialisaton

Compute the inverse of the multispectral interpolated image covariance matrix

Beta computation : Regression model coefficient

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

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

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

TODO To modify using + method operator. If we use it now -> exceptionmacro (no GetClassName...) m_Vcondopt = 2 m_Lambda*varPan+2*m_CovarianceInvMatrix(1-m_Lambda)+eye;

** END TODO

Definition at line 48 of file otbBayesianFusionFilter.hxx.

References otbMsgDebugMacro.

◆ CreateAnother()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual::itk::LightObject::Pointer otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::CreateAnother ( void  ) const

"typedef" to simplify the variables definition and the declaration.

◆ GetBeta()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual const MatrixType& otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::GetBeta ( ) const
virtual

Give the Beta matrix.

◆ GetCovarianceInvMatrix()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual const MatrixType& otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::GetCovarianceInvMatrix ( ) const
virtual

Give the Covariance inverse matrix.

◆ GetCovarianceMatrix()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual const MatrixType& otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::GetCovarianceMatrix ( ) const
virtual

Give the Covariance matrix.

◆ GetLambda()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual const float& otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::GetLambda ( ) const
virtual

Give the ponderation value.

◆ GetMultiSpect()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
const InputMultiSpectralImageType* otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::GetMultiSpect ( )
inline

"typedef" to simplify the variables definition and the declaration.

Definition at line 267 of file otbBayesianFusionFilter.h.

◆ GetMultiSpectInterp()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
const InputMultiSpectralInterpImageType* otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::GetMultiSpectInterp ( )
inline

"typedef" to simplify the variables definition and the declaration.

Definition at line 272 of file otbBayesianFusionFilter.h.

◆ GetNameOfClass()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual const char* otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::GetNameOfClass ( ) const
virtual

return class name.

◆ GetPanchro()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
const InputPanchroImageType* otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::GetPanchro ( )
inline

"typedef" to simplify the variables definition and the declaration.

Definition at line 277 of file otbBayesianFusionFilter.h.

◆ GetS()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual const float& otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::GetS ( ) const
virtual

Give the S coefficient.

◆ GetVcondopt()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual const MatrixType& otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::GetVcondopt ( ) const
virtual

Give the Bayesian Data Fusion matrix.

◆ Modified()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::Modified ( void  ) const
overrideprotected

Call the superclass implementation and set the StatisticsHaveBeenGenerated flag to false

Definition at line 31 of file otbBayesianFusionFilter.hxx.

◆ New()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
static Pointer otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::New ( )
static

object factory method.

◆ SetBeta()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SetBeta ( MatrixType  _arg)
virtual

Set the Beta matrix.

◆ SetCovarianceInvMatrix()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SetCovarianceInvMatrix ( MatrixType  _arg)
virtual

Set the Covariance inverse matrix.

◆ SetCovarianceMatrix()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SetCovarianceMatrix ( MatrixType  _arg)
virtual

Set the Covariance matrix.

◆ SetLambda()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SetLambda ( float  _arg)
virtual

Set the ponderation value.

◆ SetMultiSpect()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SetMultiSpect ( const InputMultiSpectralImageType multiSpect)
inline

"typedef" to simplify the variables definition and the declaration.

Definition at line 252 of file otbBayesianFusionFilter.h.

◆ SetMultiSpectInterp()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SetMultiSpectInterp ( const InputMultiSpectralInterpImageType multiSpectInterp)
inline

"typedef" to simplify the variables definition and the declaration.

Definition at line 257 of file otbBayesianFusionFilter.h.

◆ SetPanchro()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SetPanchro ( const InputPanchroImageType panchro)
inline

"typedef" to simplify the variables definition and the declaration.

Definition at line 262 of file otbBayesianFusionFilter.h.

◆ SetS()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SetS ( float  _arg)
virtual

Set the S coefficient.

◆ SetVcondopt()

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
virtual void otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SetVcondopt ( MatrixType  _arg)
virtual

Set the Bayesian Data Fusion matrix.

Member Data Documentation

◆ InputImageDimension

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
const unsigned int otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputImageDimension = TInputMultiSpectralImage::ImageDimension
static

Extract input and output images dimensions.

Definition at line 201 of file otbBayesianFusionFilter.h.

◆ m_Beta

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
MatrixType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::m_Beta
private

Regression coefficients matrix

Definition at line 349 of file otbBayesianFusionFilter.h.

◆ m_CovarianceInvMatrix

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
MatrixType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::m_CovarianceInvMatrix
private

Multispectral inverse covariance matrix

Definition at line 346 of file otbBayesianFusionFilter.h.

◆ m_CovarianceMatrix

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
MatrixType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::m_CovarianceMatrix
private

Multispectral covariance matrix

Definition at line 343 of file otbBayesianFusionFilter.h.

◆ m_Lambda

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
float otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::m_Lambda
private

Ponderation declaration

Definition at line 339 of file otbBayesianFusionFilter.h.

◆ m_S

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
float otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::m_S
private

"typedef" to simplify the variables definition and the declaration.

Definition at line 340 of file otbBayesianFusionFilter.h.

◆ m_StatisticsHaveBeenGenerated

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
bool otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::m_StatisticsHaveBeenGenerated
mutableprivate

True if internal statistics have been generated

Definition at line 355 of file otbBayesianFusionFilter.h.

◆ m_Vcondopt

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
MatrixType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::m_Vcondopt
private

Optimisation matrix

Definition at line 352 of file otbBayesianFusionFilter.h.

◆ OutputImageDimension

template<class TInputMultiSpectralImage , class TInputMultiSpectralInterpImage , class TInputPanchroImage , class TOutputImage >
const unsigned int otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension
static

"typedef" to simplify the variables definition and the declaration.

Definition at line 202 of file otbBayesianFusionFilter.h.


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