qm-dsp 1.8
ChangeDetectionFunction Class Reference

#include <ChangeDetectionFunction.h>

Public Member Functions

 ChangeDetectionFunction (ChangeDFConfig)
 
 ~ChangeDetectionFunction ()
 
ChangeDistance process (const TCSGram &rTCSGram)
 

Private Member Functions

void setFilterWidth (const int iWidth)
 

Private Attributes

valarray< double > m_vaGaussian
 
double m_dFilterSigma
 
int m_iFilterWidth
 

Detailed Description

Definition at line 33 of file ChangeDetectionFunction.h.

Constructor & Destructor Documentation

◆ ChangeDetectionFunction()

ChangeDetectionFunction::ChangeDetectionFunction ( ChangeDFConfig  config)

Definition at line 24 of file ChangeDetectionFunction.cpp.

References setFilterWidth(), and ChangeDFConfig::smoothingWidth.

◆ ~ChangeDetectionFunction()

ChangeDetectionFunction::~ChangeDetectionFunction ( )

Definition at line 30 of file ChangeDetectionFunction.cpp.

Member Function Documentation

◆ process()

ChangeDistance ChangeDetectionFunction::process ( const TCSGram rTCSGram)

◆ setFilterWidth()

void ChangeDetectionFunction::setFilterWidth ( const int  iWidth)
private

Definition at line 34 of file ChangeDetectionFunction.cpp.

References m_dFilterSigma, m_iFilterWidth, m_vaGaussian, and PI.

Referenced by ChangeDetectionFunction().

Member Data Documentation

◆ m_vaGaussian

valarray<double> ChangeDetectionFunction::m_vaGaussian
private

Definition at line 43 of file ChangeDetectionFunction.h.

Referenced by process(), and setFilterWidth().

◆ m_dFilterSigma

double ChangeDetectionFunction::m_dFilterSigma
private

Definition at line 44 of file ChangeDetectionFunction.h.

Referenced by setFilterWidth().

◆ m_iFilterWidth

int ChangeDetectionFunction::m_iFilterWidth
private

Definition at line 45 of file ChangeDetectionFunction.h.

Referenced by process(), and setFilterWidth().


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