qm-dsp
1.8
|
#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 |
Definition at line 33 of file ChangeDetectionFunction.h.
Definition at line 24 of file ChangeDetectionFunction.cpp.
References setFilterWidth(), and ChangeDFConfig::smoothingWidth.
Definition at line 30 of file ChangeDetectionFunction.cpp.
ChangeDistance ChangeDetectionFunction::process | ( | const TCSGram & | rTCSGram | ) |
Definition at line 58 of file ChangeDetectionFunction.cpp.
References TCSGram::addTCSVector(), TCSGram::getSize(), TCSGram::getTCSVector(), m_iFilterWidth, and m_vaGaussian.
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().
valarray<double> ChangeDetectionFunction::m_vaGaussian [private] |
Definition at line 43 of file ChangeDetectionFunction.h.
Referenced by process(), and setFilterWidth().
double ChangeDetectionFunction::m_dFilterSigma [private] |
Definition at line 44 of file ChangeDetectionFunction.h.
Referenced by setFilterWidth().
int ChangeDetectionFunction::m_iFilterWidth [private] |
Definition at line 45 of file ChangeDetectionFunction.h.
Referenced by process(), and setFilterWidth().