OTB  9.0.0
Orfeo Toolbox
Public Types | List of all members
otb::Statistics::GaussianModelComponent< TSample > Class Template Reference

#include <otbGaussianModelComponent.h>

+ Inheritance diagram for otb::Statistics::GaussianModelComponent< TSample >:
+ Collaboration diagram for otb::Statistics::GaussianModelComponent< TSample >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef GaussianModelComponent Self
 
typedef ModelComponentBase< TSample > Superclass
 
- Public Types inherited from otb::Statistics::ModelComponentBase< TSample >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef ModelComponentBase Self
 
typedef itk::Object Superclass
 
typedef TSample::MeasurementVectorType MeasurementVectorType
 
typedef TSample::MeasurementVectorSizeType MeasurementVectorSizeType
 
typedef itk::Statistics::MembershipFunctionBase< MeasurementVectorTypeMembershipFunctionType
 
typedef itk::Array< double > ParametersType
 
typedef Superclass::MeasurementVectorType MeasurementVectorType
 
typedef Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
 
typedef Superclass::MembershipFunctionType MembershipFunctionType
 
typedef Superclass::ParametersType ParametersType
 
typedef itk::Statistics::GaussianMembershipFunction< MeasurementVectorTypeNativeMembershipFunctionType
 
typedef NativeMembershipFunctionType::MeanVectorType MeanVectorType
 
typedef itk::Statistics::CovarianceSampleFilter< TSample > CovarianceEstimatorType
 
typedef CovarianceEstimatorType::MatrixType CovarianceType
 
NativeMembershipFunctionType::Pointer m_GaussianMembershipFunction
 
CovarianceEstimatorType::Pointer m_CovarianceEstimator
 
MeanVectorType m_Mean
 
CovarianceType m_Covariance
 
static Pointer New ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void SetSample (const TSample *sample) override
 
void SetParameters (const ParametersType &parameters)
 
void ShowParameters (std::ostream &os, itk::Indent indent) const override
 
 GaussianModelComponent ()
 
 ~GaussianModelComponent () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void GenerateData () override
 
 GaussianModelComponent (const Self &)=delete
 
void operator= (const Self &)=delete
 

Additional Inherited Members

- Public Member Functions inherited from otb::Statistics::ModelComponentBase< TSample >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const TSample * GetSample () const
 
MembershipFunctionTypeGetPdfMembershipFunction ()
 
MembershipFunctionTypeGetCdfMembershipFunction ()
 
void SetCdfMembershipFunction (MembershipFunctionType *function)
 
void SetParameters (const ParametersType &parameters)
 
ParametersType GetParameters ()
 
double Evaluate (MeasurementVectorType &measurements)
 
double Pdf (MeasurementVectorType &measurements)
 
double Cdf (MeasurementVectorType &measurements)
 
virtual void Update ()
 
- Static Public Member Functions inherited from otb::Statistics::ModelComponentBase< TSample >
static Pointer New ()
 
- Protected Member Functions inherited from otb::Statistics::ModelComponentBase< TSample >
 ModelComponentBase ()
 
 ~ModelComponentBase () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void SetPdfMembershipFunction (MembershipFunctionType *function)
 
int IsSampleModified ()
 
- Protected Attributes inherited from otb::Statistics::ModelComponentBase< TSample >
ParametersType m_Parameters
 
MembershipFunctionTypem_PdfFunction
 
MembershipFunctionTypem_CdfFunction
 
int m_SampleModified
 

Detailed Description

template<class TSample>
class otb::Statistics::GaussianModelComponent< TSample >

is a component (derived from ModelComponentBase) for Gaussian class. This class is used in SEMClassifier

Recent API changes: N/A

See also
ModelComponentBase, SEMClassifier

Definition at line 48 of file otbGaussianModelComponent.h.

Member Typedef Documentation

◆ ConstPointer

template<class TSample >
typedef itk::SmartPointer<const Self> otb::Statistics::GaussianModelComponent< TSample >::ConstPointer

Definition at line 55 of file otbGaussianModelComponent.h.

◆ CovarianceEstimatorType

template<class TSample >
typedef itk::Statistics::CovarianceSampleFilter<TSample> otb::Statistics::GaussianModelComponent< TSample >::CovarianceEstimatorType

Types of the mean and the covariance calculator that will update this component's distribution parameters

Definition at line 74 of file otbGaussianModelComponent.h.

◆ CovarianceType

template<class TSample >
typedef CovarianceEstimatorType::MatrixType otb::Statistics::GaussianModelComponent< TSample >::CovarianceType

types of the covariance to be used by the NativeMembershipFunctionType

Definition at line 78 of file otbGaussianModelComponent.h.

◆ MeanVectorType

template<class TSample >
typedef NativeMembershipFunctionType::MeanVectorType otb::Statistics::GaussianModelComponent< TSample >::MeanVectorType

Typedefs from the superclass

Definition at line 70 of file otbGaussianModelComponent.h.

◆ MeasurementVectorSizeType

template<class TSample >
typedef Superclass::MeasurementVectorSizeType otb::Statistics::GaussianModelComponent< TSample >::MeasurementVectorSizeType

Typedefs from the superclass

Definition at line 64 of file otbGaussianModelComponent.h.

◆ MeasurementVectorType

template<class TSample >
typedef Superclass::MeasurementVectorType otb::Statistics::GaussianModelComponent< TSample >::MeasurementVectorType

Typedefs from the superclass

Definition at line 59 of file otbGaussianModelComponent.h.

◆ MembershipFunctionType

template<class TSample >
typedef Superclass::MembershipFunctionType otb::Statistics::GaussianModelComponent< TSample >::MembershipFunctionType

Typedefs from the superclass

Definition at line 65 of file otbGaussianModelComponent.h.

◆ NativeMembershipFunctionType

template<class TSample >
typedef itk::Statistics::GaussianMembershipFunction<MeasurementVectorType> otb::Statistics::GaussianModelComponent< TSample >::NativeMembershipFunctionType

Type of the membership function. Gaussian density function

Definition at line 69 of file otbGaussianModelComponent.h.

◆ ParametersType

template<class TSample >
typedef Superclass::ParametersType otb::Statistics::GaussianModelComponent< TSample >::ParametersType

Typedefs from the superclass

Definition at line 66 of file otbGaussianModelComponent.h.

◆ Pointer

template<class TSample >
typedef itk::SmartPointer<Self> otb::Statistics::GaussianModelComponent< TSample >::Pointer

Definition at line 54 of file otbGaussianModelComponent.h.

◆ Self

template<class TSample >
typedef GaussianModelComponent otb::Statistics::GaussianModelComponent< TSample >::Self

Standard class typedefs.

Definition at line 52 of file otbGaussianModelComponent.h.

◆ Superclass

template<class TSample >
typedef ModelComponentBase<TSample> otb::Statistics::GaussianModelComponent< TSample >::Superclass

Definition at line 53 of file otbGaussianModelComponent.h.

Constructor & Destructor Documentation

◆ GaussianModelComponent() [1/2]

template<class TSample >
otb::Statistics::GaussianModelComponent< TSample >::GaussianModelComponent
protected

Typedefs from the superclass

Definition at line 37 of file otbGaussianModelComponent.hxx.

◆ ~GaussianModelComponent()

template<class TSample >
otb::Statistics::GaussianModelComponent< TSample >::~GaussianModelComponent ( )
inlineoverrideprotected

Typedefs from the superclass

Definition at line 92 of file otbGaussianModelComponent.h.

◆ GaussianModelComponent() [2/2]

template<class TSample >
otb::Statistics::GaussianModelComponent< TSample >::GaussianModelComponent ( const Self )
privatedelete

Typedefs from the superclass

Member Function Documentation

◆ CreateAnother()

template<class TSample >
virtual::itk::LightObject::Pointer otb::Statistics::GaussianModelComponent< TSample >::CreateAnother ( void  ) const

Typedefs from the superclass

◆ GenerateData()

template<class TSample >
void otb::Statistics::GaussianModelComponent< TSample >::GenerateData
overrideprotectedvirtual

Typedefs from the superclass

Reimplemented from otb::Statistics::ModelComponentBase< TSample >.

Definition at line 125 of file otbGaussianModelComponent.hxx.

◆ GetNameOfClass()

template<class TSample >
virtual const char* otb::Statistics::GaussianModelComponent< TSample >::GetNameOfClass ( ) const
virtual

Typedefs from the superclass

Reimplemented from otb::Statistics::ModelComponentBase< TSample >.

◆ New()

template<class TSample >
static Pointer otb::Statistics::GaussianModelComponent< TSample >::New ( )
static

Standard Macros

◆ operator=()

template<class TSample >
void otb::Statistics::GaussianModelComponent< TSample >::operator= ( const Self )
privatedelete

Typedefs from the superclass

◆ PrintSelf()

template<class TSample >
void otb::Statistics::GaussianModelComponent< TSample >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

Typedefs from the superclass

Definition at line 44 of file otbGaussianModelComponent.hxx.

◆ SetParameters()

template<class TSample >
void otb::Statistics::GaussianModelComponent< TSample >::SetParameters ( const ParametersType parameters)

Sets the component's distribution parameters. e.g. Then user can call directly Pdf( MeasurementVectorType & )

Definition at line 96 of file otbGaussianModelComponent.hxx.

◆ SetSample()

template<class TSample >
void otb::Statistics::GaussianModelComponent< TSample >::SetSample ( const TSample *  sample)
overridevirtual

Sets the input sample

Reimplemented from otb::Statistics::ModelComponentBase< TSample >.

Definition at line 72 of file otbGaussianModelComponent.hxx.

◆ ShowParameters()

template<class TSample >
void otb::Statistics::GaussianModelComponent< TSample >::ShowParameters ( std::ostream &  os,
itk::Indent  indent 
) const
overridevirtual

Show the parameters in a minimal form in comparison to PrintSelf

Reimplemented from otb::Statistics::ModelComponentBase< TSample >.

Definition at line 54 of file otbGaussianModelComponent.hxx.

Member Data Documentation

◆ m_Covariance

template<class TSample >
CovarianceType otb::Statistics::GaussianModelComponent< TSample >::m_Covariance
private

Typedefs from the superclass

Definition at line 108 of file otbGaussianModelComponent.h.

◆ m_CovarianceEstimator

template<class TSample >
CovarianceEstimatorType::Pointer otb::Statistics::GaussianModelComponent< TSample >::m_CovarianceEstimator
private

Typedefs from the superclass

Definition at line 105 of file otbGaussianModelComponent.h.

◆ m_GaussianMembershipFunction

template<class TSample >
NativeMembershipFunctionType::Pointer otb::Statistics::GaussianModelComponent< TSample >::m_GaussianMembershipFunction
private

Typedefs from the superclass

Definition at line 103 of file otbGaussianModelComponent.h.

◆ m_Mean

template<class TSample >
MeanVectorType otb::Statistics::GaussianModelComponent< TSample >::m_Mean
private

Typedefs from the superclass

Definition at line 107 of file otbGaussianModelComponent.h.


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