OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
otb::CumulantsForEdgeworthProfile< TInput > Class Template Reference

#include <otbKullbackLeiblerProfileImageFilter.h>

+ Collaboration diagram for otb::CumulantsForEdgeworthProfile< TInput >:

Public Types

typedef std::vector< CumulantTypeCumulantSet
 
typedef itk::Vector< double, 4 > CumulantType
 
typedef CumulantSet::iterator Iterator
 

Public Member Functions

 CumulantsForEdgeworthProfile (const TInput &input, std::vector< itk::Array2D< int >> &mask)
 
CumulantTypeGetCumulantAtScale (int i)
 
bool IsDataAvailable () const
 
double KL_profile (const CumulantType &cumulants1, const CumulantType &cumulants2)
 
template<class TInput2 >
itk::VariableLengthVector< double > KL_profile (CumulantsForEdgeworthProfile< TInput2 > &cumulants)
 
virtual ~CumulantsForEdgeworthProfile ()
 

Public Attributes

int m_debug
 

Protected Member Functions

int InitSumAndMoments (const TInput &input, itk::Array2D< int > &mask)
 
int MakeCumulants ()
 
int MakeSumAndMoments (const TInput &input, std::vector< itk::Array2D< int >> &mask)
 
int ReInitSumAndMoments (const TInput &input, itk::Array2D< int > &mask, int level)
 

Protected Attributes

CumulantSet fCum
 
bool fDataAvailable
 
CumulantSet fMu
 
double fSum0
 
double fSum1
 
double fSum2
 
double fSum3
 
double fSum4
 

Private Member Functions

 CumulantsForEdgeworthProfile ()
 
 CumulantsForEdgeworthProfile (const TInput &input)
 

Detailed Description

template<class TInput>
class otb::CumulantsForEdgeworthProfile< TInput >

Helper class for KullbackLeiblerProfileImageFilter. Please refer to KullbackLeibleProfileImageFilter.

Definition at line 43 of file otbKullbackLeiblerProfileImageFilter.h.

Member Typedef Documentation

◆ CumulantSet

template<class TInput >
typedef std::vector<CumulantType> otb::CumulantsForEdgeworthProfile< TInput >::CumulantSet

Definition at line 47 of file otbKullbackLeiblerProfileImageFilter.h.

◆ CumulantType

template<class TInput >
typedef itk::Vector<double, 4> otb::CumulantsForEdgeworthProfile< TInput >::CumulantType

Definition at line 46 of file otbKullbackLeiblerProfileImageFilter.h.

◆ Iterator

template<class TInput >
typedef CumulantSet::iterator otb::CumulantsForEdgeworthProfile< TInput >::Iterator

Definition at line 48 of file otbKullbackLeiblerProfileImageFilter.h.

Constructor & Destructor Documentation

◆ CumulantsForEdgeworthProfile() [1/3]

template<class TInput >
otb::CumulantsForEdgeworthProfile< TInput >::CumulantsForEdgeworthProfile ( const TInput &  input,
std::vector< itk::Array2D< int >> &  mask 
)

Definition at line 38 of file otbKullbackLeiblerProfileImageFilter.hxx.

◆ ~CumulantsForEdgeworthProfile()

template<class TInput >
virtual otb::CumulantsForEdgeworthProfile< TInput >::~CumulantsForEdgeworthProfile ( )
inlinevirtual

Definition at line 51 of file otbKullbackLeiblerProfileImageFilter.h.

◆ CumulantsForEdgeworthProfile() [2/3]

template<class TInput >
otb::CumulantsForEdgeworthProfile< TInput >::CumulantsForEdgeworthProfile ( )
private

◆ CumulantsForEdgeworthProfile() [3/3]

template<class TInput >
otb::CumulantsForEdgeworthProfile< TInput >::CumulantsForEdgeworthProfile ( const TInput &  input)
private

Member Function Documentation

◆ GetCumulantAtScale()

template<class TInput >
CumulantType& otb::CumulantsForEdgeworthProfile< TInput >::GetCumulantAtScale ( int  i)
inline

◆ InitSumAndMoments()

template<class TInput >
int otb::CumulantsForEdgeworthProfile< TInput >::InitSumAndMoments ( const TInput &  input,
itk::Array2D< int > &  mask 
)
protected

Definition at line 139 of file otbKullbackLeiblerProfileImageFilter.hxx.

◆ IsDataAvailable()

template<class TInput >
bool otb::CumulantsForEdgeworthProfile< TInput >::IsDataAvailable ( ) const
inline

◆ KL_profile() [1/2]

template<class TInput >
double otb::CumulantsForEdgeworthProfile< TInput >::KL_profile ( const CumulantType cumulants1,
const CumulantType cumulants2 
)

Definition at line 64 of file otbKullbackLeiblerProfileImageFilter.hxx.

◆ KL_profile() [2/2]

template<class TInput >
template<class TInput2 >
itk::VariableLengthVector< double > otb::CumulantsForEdgeworthProfile< TInput >::KL_profile ( CumulantsForEdgeworthProfile< TInput2 > &  cumulants)

◆ MakeCumulants()

template<class TInput >
int otb::CumulantsForEdgeworthProfile< TInput >::MakeCumulants
protected

Definition at line 296 of file otbKullbackLeiblerProfileImageFilter.hxx.

◆ MakeSumAndMoments()

template<class TInput >
int otb::CumulantsForEdgeworthProfile< TInput >::MakeSumAndMoments ( const TInput &  input,
std::vector< itk::Array2D< int >> &  mask 
)
protected

Definition at line 120 of file otbKullbackLeiblerProfileImageFilter.hxx.

◆ ReInitSumAndMoments()

template<class TInput >
int otb::CumulantsForEdgeworthProfile< TInput >::ReInitSumAndMoments ( const TInput &  input,
itk::Array2D< int > &  mask,
int  level 
)
protected

Definition at line 237 of file otbKullbackLeiblerProfileImageFilter.hxx.

Member Data Documentation

◆ fCum

template<class TInput >
CumulantSet otb::CumulantsForEdgeworthProfile< TInput >::fCum
protected

◆ fDataAvailable

template<class TInput >
bool otb::CumulantsForEdgeworthProfile< TInput >::fDataAvailable
protected

◆ fMu

template<class TInput >
CumulantSet otb::CumulantsForEdgeworthProfile< TInput >::fMu
protected

Definition at line 86 of file otbKullbackLeiblerProfileImageFilter.h.

◆ fSum0

template<class TInput >
double otb::CumulantsForEdgeworthProfile< TInput >::fSum0
protected

Definition at line 85 of file otbKullbackLeiblerProfileImageFilter.h.

◆ fSum1

template<class TInput >
double otb::CumulantsForEdgeworthProfile< TInput >::fSum1
protected

Definition at line 85 of file otbKullbackLeiblerProfileImageFilter.h.

◆ fSum2

template<class TInput >
double otb::CumulantsForEdgeworthProfile< TInput >::fSum2
protected

Definition at line 85 of file otbKullbackLeiblerProfileImageFilter.h.

◆ fSum3

template<class TInput >
double otb::CumulantsForEdgeworthProfile< TInput >::fSum3
protected

Definition at line 85 of file otbKullbackLeiblerProfileImageFilter.h.

◆ fSum4

template<class TInput >
double otb::CumulantsForEdgeworthProfile< TInput >::fSum4
protected

Definition at line 85 of file otbKullbackLeiblerProfileImageFilter.h.

◆ m_debug

template<class TInput >
int otb::CumulantsForEdgeworthProfile< TInput >::m_debug

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