name: ParticleFilter : public AlgorithmBase

synopsis:

g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_algo.a

#include <ParticleFilter.h>

ParticleFilter(ALGORITHM algorithm = DEF_ALGORITHM, IMPLEMENTATION implementation = DEF_IMPLEMENTATION, long order);
boolean eq(const ParticleFilter& arg);
boolean setAlgorithm(ALGORITHM algorithm);
boolean setOrder(long order);
boolean setNoise(Float process_noise, Float obsn_noise, Float err_noise);
quick start:

ParticleFilter pf;
VectorFloat input(L"1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15");
VectorFloat output;
pf.setAlgorithm(CONVENTIONAL);
pf.setImplementation(AR_SCALAR);
pf.setOrder(8);
pf.compute(output, input);
description:

The ParticleFilter class is used to filter the speech signal in presence of noise. The speech signal is modeled by state-space model. The two reference documents were used to implement the algorithm for filtering of speech. This class currently supports one algorithm choice: CONVENTIONAL and one implementation choice: AR_SCALAR. It is described in detail in the above two references. The state-space equations used to model the speech signals are shown below:


The filter order can be specified by the user using the setOrder() method. Other parameters that need to be specified are process noise covariance, observation noise covariance, and error estimate covariance are specified by the user using the setNoise() method..

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods: