#include <BICchangeDetector.h>
Inherits Marsyas::MarSystem.
Public Member Functions | |
| BICchangeDetector (const BICchangeDetector &a) | |
| copy constructor | |
| BICchangeDetector (std::string name) | |
| default constructor | |
| MarSystem * | clone () const |
| clones using the copy constructor | |
Private Member Functions | |
| void | addControls () |
| adds relevant controls | |
| void | myUpdate (MarControlPtr sender) |
| updates the controls | |
Detect changes between two succeeding segments using divergenceShape (or BattacharyyaShape), and validation using BIC and quasi-GMM modeling
Implementation by Luis Gustavo Martins - lmartins@inescporto.pt and David G. Cooper - dcooper@cs.umass.edu
Definition at line 43 of file BICchangeDetector.h.
| BICchangeDetector | ( | std::string | name | ) |
default constructor
| name | - the name of the change detector |
Definition at line 36 of file BICchangeDetector.cpp.
References BICchangeDetector::addControls(), and realvec::create().
Referenced by BICchangeDetector::clone().
| BICchangeDetector | ( | const BICchangeDetector & | a | ) |
copy constructor
| BICchangeDetector | - the detector to be copied |
Definition at line 51 of file BICchangeDetector.cpp.
References realvec::create(), and BICchangeDetector::prevDists_.
| void addControls | ( | ) | [private] |
adds relevant controls
add the following controls: mrs_bool/reset mrs_real/alpha1 mrs_real/lambda
a side effect is that the dynamic threshold and previous distances are reset.
Reimplemented from MarSystem.
Definition at line 95 of file BICchangeDetector.cpp.
References MarSystem::updControl().
Referenced by BICchangeDetector::BICchangeDetector().
| MarSystem * clone | ( | ) | const [virtual] |
clones using the copy constructor
Implements MarSystem.
Definition at line 79 of file BICchangeDetector.cpp.
References BICchangeDetector::BICchangeDetector().
| void myUpdate | ( | MarControlPtr | sender | ) | [private, virtual] |
updates the controls
segFrames_, nfeats_, and segHop_ are updated automatically to 2/5 * inSamples, inObservations, and 1/5 * inSamples respectively
If reset is true then the quasi-GMM and previous distances are reset.
BICchangeDetector must receive as input a vector of feature frames as depicted bellow, which includes 4 speech sub-segments (C1, C2, C3, C4) that will be used for detecting speaker changes: |------------------------| C1 C2 |----+----|----+----| |----+----|----+----| C3 C4 |--->| hop
For now, hop is set fixed as 1/5 of inSamples [!]
Reimplemented from MarSystem.
Definition at line 135 of file BICchangeDetector.cpp.
References MarSystem::name_, QGMMModel::resetModel(), realvec::setval(), and MarSystem::updControl().
1.5.6