OTB
9.0.0
Orfeo Toolbox
|
#include <otbBayesianFusionFilter.h>
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< BayesianFunctorType > | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
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< InputMultiSpectralInterpImageType > | StreamingStatisticsVectorImageFilterType |
typedef StreamingStatisticsVectorImageFilterType::MatrixType | MatrixType |
typedef StreamingMatrixTransposeMatrixImageFilter< InputMultiSpectralImageType, InputMultiSpectralImageType > | MSTransposeMSType |
typedef ImageToVectorImageCastFilter< InputPanchroImageType, InputMultiSpectralImageType > | CasterType |
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 InputMultiSpectralImageType * | GetMultiSpect () |
const InputMultiSpectralInterpImageType * | GetMultiSpectInterp () |
const InputPanchroImageType * | GetPanchro () |
virtual void | SetLambda (float _arg) |
virtual const float & | GetLambda () const |
virtual void | SetBeta (MatrixType _arg) |
virtual const MatrixType & | GetBeta () const |
virtual void | SetCovarianceMatrix (MatrixType _arg) |
virtual const MatrixType & | GetCovarianceMatrix () const |
virtual void | SetCovarianceInvMatrix (MatrixType _arg) |
virtual const MatrixType & | GetCovarianceInvMatrix () const |
virtual void | SetVcondopt (MatrixType _arg) |
virtual const MatrixType & | GetVcondopt () 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 |
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
Definition at line 195 of file otbBayesianFusionFilter.h.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
typedef InputMultiSpectralImageType::PixelType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputMultiSpectralPixelType |
Supported images definition.
Definition at line 223 of file otbBayesianFusionFilter.h.
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.
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.
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.
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.
typedef itk::NumericTraits<InputPanchroPixelType>::RealType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::InputPanchroRealType |
Real class typedef definition.
Definition at line 235 of file otbBayesianFusionFilter.h.
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.
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.
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.
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.
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.
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.
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.
typedef BayesianFusionFilter otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::Self |
"typedef" for standard classes.
Definition at line 212 of file otbBayesianFusionFilter.h.
typedef InputMultiSpectralImageType::SizeType otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::SizeType |
Image size "typedef" definition.
Definition at line 244 of file otbBayesianFusionFilter.h.
typedef StreamingStatisticsVectorImageFilter<InputMultiSpectralInterpImageType> otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::StreamingStatisticsVectorImageFilterType |
Typedef for statistic computing.
Definition at line 247 of file otbBayesianFusionFilter.h.
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.
|
inlineprotected |
"typedef" to simplify the variables definition and the declaration.
Definition at line 319 of file otbBayesianFusionFilter.h.
|
inlineoverrideprotected |
"typedef" to simplify the variables definition and the declaration.
Definition at line 326 of file otbBayesianFusionFilter.h.
|
overrideprotected |
Check if internal statistics need to be computed, and do so
Definition at line 38 of file otbBayesianFusionFilter.hxx.
|
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.
virtual::itk::LightObject::Pointer otb::BayesianFusionFilter< TInputMultiSpectralImage, TInputMultiSpectralInterpImage, TInputPanchroImage, TOutputImage >::CreateAnother | ( | void | ) | const |
"typedef" to simplify the variables definition and the declaration.
|
virtual |
Give the Beta matrix.
|
virtual |
Give the Covariance inverse matrix.
|
virtual |
Give the Covariance matrix.
|
virtual |
Give the ponderation value.
|
inline |
"typedef" to simplify the variables definition and the declaration.
Definition at line 267 of file otbBayesianFusionFilter.h.
|
inline |
"typedef" to simplify the variables definition and the declaration.
Definition at line 272 of file otbBayesianFusionFilter.h.
|
virtual |
return class name.
|
inline |
"typedef" to simplify the variables definition and the declaration.
Definition at line 277 of file otbBayesianFusionFilter.h.
|
virtual |
Give the S coefficient.
|
virtual |
Give the Bayesian Data Fusion matrix.
|
overrideprotected |
Call the superclass implementation and set the StatisticsHaveBeenGenerated flag to false
Definition at line 31 of file otbBayesianFusionFilter.hxx.
|
static |
object factory method.
|
virtual |
Set the Beta matrix.
|
virtual |
Set the Covariance inverse matrix.
|
virtual |
Set the Covariance matrix.
|
virtual |
Set the ponderation value.
|
inline |
"typedef" to simplify the variables definition and the declaration.
Definition at line 252 of file otbBayesianFusionFilter.h.
|
inline |
"typedef" to simplify the variables definition and the declaration.
Definition at line 257 of file otbBayesianFusionFilter.h.
|
inline |
"typedef" to simplify the variables definition and the declaration.
Definition at line 262 of file otbBayesianFusionFilter.h.
|
virtual |
Set the S coefficient.
|
virtual |
Set the Bayesian Data Fusion matrix.
|
static |
Extract input and output images dimensions.
Definition at line 201 of file otbBayesianFusionFilter.h.
|
private |
Regression coefficients matrix
Definition at line 349 of file otbBayesianFusionFilter.h.
|
private |
Multispectral inverse covariance matrix
Definition at line 346 of file otbBayesianFusionFilter.h.
|
private |
Multispectral covariance matrix
Definition at line 343 of file otbBayesianFusionFilter.h.
|
private |
Ponderation declaration
Definition at line 339 of file otbBayesianFusionFilter.h.
|
private |
"typedef" to simplify the variables definition and the declaration.
Definition at line 340 of file otbBayesianFusionFilter.h.
|
mutableprivate |
True if internal statistics have been generated
Definition at line 355 of file otbBayesianFusionFilter.h.
|
private |
Optimisation matrix
Definition at line 352 of file otbBayesianFusionFilter.h.
|
static |
"typedef" to simplify the variables definition and the declaration.
Definition at line 202 of file otbBayesianFusionFilter.h.