OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation > Class Template Reference

#include <otbNAPCAImageFilter.h>

+ Inheritance diagram for otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >:
+ Collaboration diagram for otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::CovarianceEstimatorFilterPointerType CovarianceEstimatorFilterPointerType
 
typedef Superclass::CovarianceEstimatorFilterType CovarianceEstimatorFilterType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::InternalMatrixType InternalMatrixType
 
typedef Superclass::MatrixElementType MatrixElementType
 
typedef Superclass::MatrixObjectType MatrixObjectType
 
typedef Superclass::MatrixType MatrixType
 
typedef Superclass::NoiseImageFilterPointerType NoiseImageFilterPointerType
 
typedef Superclass::NoiseImageFilterType NoiseImageFilterType
 
typedef Superclass::NormalizeFilterPointerType NormalizeFilterPointerType
 
typedef Superclass::NormalizeFilterType NormalizeFilterType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef Superclass::RealType RealType
 
typedef NAPCAImageFilter Self
 
typedef MNFImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation > Superclass
 
typedef Superclass::TransformFilterPointerType TransformFilterPointerType
 
typedef Superclass::TransformFilterType TransformFilterType
 
typedef Superclass::VectorType VectorType
 
- Public Types inherited from otb::MNFImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef MNFImageFilter Self
 
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
 
typedef Transform::TransformDirection TransformDirectionEnumType
 
typedef TInputImage InputImageType
 
typedef TOutputImage OutputImageType
 
typedef StreamingStatisticsVectorImageFilter< InputImageTypeCovarianceEstimatorFilterType
 
typedef CovarianceEstimatorFilterType::Pointer CovarianceEstimatorFilterPointerType
 
typedef CovarianceEstimatorFilterType::RealType RealType
 
typedef CovarianceEstimatorFilterType::RealPixelType VectorType
 
typedef CovarianceEstimatorFilterType::MatrixObjectType MatrixObjectType
 
typedef MatrixObjectType::ComponentType MatrixType
 
typedef MatrixType::InternalMatrixType InternalMatrixType
 
typedef InternalMatrixType::element_type MatrixElementType
 
typedef MatrixImageFilter< InputImageType, OutputImageTypeTransformFilterType
 
typedef TransformFilterType::Pointer TransformFilterPointerType
 
typedef TNoiseImageFilter NoiseImageFilterType
 
typedef NoiseImageFilterType::Pointer NoiseImageFilterPointerType
 
typedef NormalizeVectorImageFilter< InputImageType, OutputImageTypeNormalizeFilterType
 
typedef NormalizeFilterType::Pointer NormalizeFilterPointerType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from otb::MNFImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual unsigned int GetNumberOfPrincipalComponentsRequired ()
 
virtual void SetNumberOfPrincipalComponentsRequired (unsigned int _arg)
 
virtual NormalizeFilterTypeGetNormalizer () const
 
virtual NormalizeFilterTypeGetNormalizer ()
 
virtual CovarianceEstimatorFilterTypeGetNoiseCovarianceEstimator ()
 
virtual TransformFilterTypeGetTransformer ()
 
virtual NoiseImageFilterTypeGetNoiseImageFilter ()
 
virtual bool GetUseNormalization ()
 
virtual void SetUseNormalization (bool _arg)
 
virtual VectorType GetMeanValues () const
 
void SetMeanValues (const VectorType &vec)
 
virtual VectorType GetStdDevValues () const
 
void SetStdDevValues (const VectorType &vec)
 
virtual MatrixType GetCovarianceMatrix () const
 
void SetCovarianceMatrix (const MatrixType &cov)
 
virtual MatrixType GetNoiseCovarianceMatrix () const
 
void SetNoiseCovarianceMatrix (const MatrixType &mat)
 
virtual MatrixType GetTransformationMatrix () const
 
void SetTransformationMatrix (const MatrixType &transf, bool isForward=true)
 
void SetStatisticsUserIgnoredValue (RealType value)
 
virtual VectorType GetEigenValues () const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::MNFImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >
static Pointer New ()
 

Protected Member Functions

void GenerateTransformationMatrix () override
 
 NAPCAImageFilter ()
 
 ~NAPCAImageFilter () override
 
- Protected Member Functions inherited from otb::MNFImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >
 MNFImageFilter ()
 
 ~MNFImageFilter () override
 
void GenerateOutputInformation () override
 
void GenerateData () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void ForwardGenerateOutputInformation ()
 
void ReverseGenerateOutputInformation ()
 
virtual void ForwardGenerateData ()
 
virtual void ReverseGenerateData ()
 

Additional Inherited Members

- Static Public Attributes inherited from otb::MNFImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >
static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
static const TransformDirectionEnumType DirectionOfTransformation = TDirectionOfTransformation
 
- Protected Attributes inherited from otb::MNFImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >
unsigned int m_NumberOfPrincipalComponentsRequired
 
bool m_UseNormalization
 
bool m_GivenMeanValues
 
bool m_GivenStdDevValues
 
bool m_GivenCovarianceMatrix
 
bool m_GivenNoiseCovarianceMatrix
 
bool m_GivenTransformationMatrix
 
bool m_IsTransformationMatrixForward
 
VectorType m_MeanValues
 
VectorType m_StdDevValues
 
MatrixType m_CovarianceMatrix
 
MatrixType m_NoiseCovarianceMatrix
 
MatrixType m_TransformationMatrix
 
VectorType m_EigenValues
 
NormalizeFilterPointerType m_Normalizer
 
NoiseImageFilterPointerType m_NoiseImageFilter
 
CovarianceEstimatorFilterPointerType m_CovarianceEstimator
 
CovarianceEstimatorFilterPointerType m_NoiseCovarianceEstimator
 
TransformFilterPointerType m_Transformer
 

Detailed Description

template<class TInputImage, class TOutputImage, class TNoiseImageFilter, Transform::TransformDirection TDirectionOfTransformation>
class otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >

Performs a Noise Adjusted PCA analysis of a vector image.

The internal structure of this filter is a filter-to-filter like structure. The estimation of the covariance matrix has persistent capabilities...

The high pass filter which has to be used for the noise estimation is templated for a better scalability...

This class is very similar to the MNFImageFilter one since only the projection matrix definition (through GenerateTransformationMatrix function) differs.

TODO? Use a 2nd input to give a noise image directly?

See also
otbStreamingStatisticsVectorImageFilter
MNFImageFilter

Definition at line 50 of file otbNAPCAImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef itk::SmartPointer<const Self> otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::ConstPointer

Definition at line 56 of file otbNAPCAImageFilter.h.

◆ CovarianceEstimatorFilterPointerType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::CovarianceEstimatorFilterPointerType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::CovarianceEstimatorFilterPointerType

Definition at line 69 of file otbNAPCAImageFilter.h.

◆ CovarianceEstimatorFilterType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::CovarianceEstimatorFilterType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::CovarianceEstimatorFilterType

Definition at line 68 of file otbNAPCAImageFilter.h.

◆ InputImageType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::InputImageType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::InputImageType

Template parameters typedefs

Definition at line 62 of file otbNAPCAImageFilter.h.

◆ InternalMatrixType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::InternalMatrixType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::InternalMatrixType

Definition at line 75 of file otbNAPCAImageFilter.h.

◆ MatrixElementType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::MatrixElementType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::MatrixElementType

Definition at line 76 of file otbNAPCAImageFilter.h.

◆ MatrixObjectType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::MatrixObjectType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::MatrixObjectType

Definition at line 73 of file otbNAPCAImageFilter.h.

◆ MatrixType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::MatrixType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::MatrixType

Definition at line 74 of file otbNAPCAImageFilter.h.

◆ NoiseImageFilterPointerType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::NoiseImageFilterPointerType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::NoiseImageFilterPointerType

Definition at line 82 of file otbNAPCAImageFilter.h.

◆ NoiseImageFilterType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::NoiseImageFilterType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::NoiseImageFilterType

Definition at line 81 of file otbNAPCAImageFilter.h.

◆ NormalizeFilterPointerType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::NormalizeFilterPointerType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::NormalizeFilterPointerType

Definition at line 85 of file otbNAPCAImageFilter.h.

◆ NormalizeFilterType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::NormalizeFilterType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::NormalizeFilterType

Definition at line 84 of file otbNAPCAImageFilter.h.

◆ OutputImageType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::OutputImageType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::OutputImageType

Definition at line 66 of file otbNAPCAImageFilter.h.

◆ Pointer

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef itk::SmartPointer<Self> otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::Pointer

Definition at line 55 of file otbNAPCAImageFilter.h.

◆ RealType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::RealType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::RealType

Definition at line 71 of file otbNAPCAImageFilter.h.

◆ Self

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef NAPCAImageFilter otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::Self

Definition at line 53 of file otbNAPCAImageFilter.h.

◆ Superclass

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef MNFImageFilter<TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation> otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::Superclass

Definition at line 54 of file otbNAPCAImageFilter.h.

◆ TransformFilterPointerType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::TransformFilterPointerType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::TransformFilterPointerType

Definition at line 79 of file otbNAPCAImageFilter.h.

◆ TransformFilterType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::TransformFilterType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::TransformFilterType

Definition at line 78 of file otbNAPCAImageFilter.h.

◆ VectorType

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
typedef Superclass::VectorType otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::VectorType

Definition at line 72 of file otbNAPCAImageFilter.h.

Constructor & Destructor Documentation

◆ NAPCAImageFilter()

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::NAPCAImageFilter ( )
inlineprotected

Definition at line 88 of file otbNAPCAImageFilter.h.

◆ ~NAPCAImageFilter()

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::~NAPCAImageFilter ( )
inlineoverrideprotected

Definition at line 91 of file otbNAPCAImageFilter.h.

Member Function Documentation

◆ CreateAnother()

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
virtual::itk::LightObject::Pointer otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::CreateAnother ( void  ) const

◆ GenerateTransformationMatrix()

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
void otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::GenerateTransformationMatrix
overrideprotectedvirtual

Specific functionality of NAPCA

Reimplemented from otb::MNFImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >.

Definition at line 36 of file otbNAPCAImageFilter.hxx.

References otbMsgDebugMacro.

◆ GetNameOfClass()

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
virtual const char* otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::GetNameOfClass ( ) const
virtual

◆ New()

template<class TInputImage , class TOutputImage , class TNoiseImageFilter , Transform::TransformDirection TDirectionOfTransformation>
static Pointer otb::NAPCAImageFilter< TInputImage, TOutputImage, TNoiseImageFilter, TDirectionOfTransformation >::New ( )
static

Type macro


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