SpecCSP algorithm and companion SpatioSpectral filter boxes

Making & changing box plugins and external apps
Post Reply
Jeff_B
Posts: 37
Joined: Wed Apr 11, 2012 1:31 pm
Location: Nice - Alpes Maritimes

SpecCSP algorithm and companion SpatioSpectral filter boxes

Post by Jeff_B »

Hi Openvibers,
Here is the last version (v0.9) of the SpecCSP algorithm, which now estimates ARMA models (or IIR/FIR filters) of the spectral weightenning sets generated by the algorithm (via a Yule-Walker procedure) so as to apply the spectral weights via the CApplyTemporalFilter methods available in OV.
And the associated SpatioSpectral filter box required to apply the spatial and spectral weight sets generated by the SpecCSP algorithm. It should be able to handle continuous chuncks of data or non-continuous ones (after a time-based epoching for exemple). I have already checked that the temporal filtering is consistent between OV and Matlab but it needs further validation. It should be used in with a setting parameter "way to apply the spectral weightenning" set as "IIR estimation in the time domain". I implemented the other mode ("Direct weightenning in the frequency domain") since it quite straightforward but not checked/validated it at all (just checked it runs).
These two boxes, the SpecCSP algorithm box and the SpatioSpectral filter box are meant to be used together via a config file outputed by the SpecCSP algorithm and used to override its parameters by the SpatioSpectral filter (but this latter could be used alone, with an identity spatial filter, to apply specific temporal/spectral filters for each channel for exemple).
Attachments
ovpCBoxAlgorithmSpatioSpectralFilter.h
(11.09 KiB) Downloaded 360 times
ovpCBoxAlgorithmSpecCSPTrainer.cpp
(54.35 KiB) Downloaded 376 times
ovpCBoxAlgorithmSpecCSPTrainer.h
(11.06 KiB) Downloaded 432 times

Jeff_B
Posts: 37
Joined: Wed Apr 11, 2012 1:31 pm
Location: Nice - Alpes Maritimes

Re: SpecCSP algorithm and companion SpatioSpectral filter bo

Post by Jeff_B »

...and the last source file (the forum is limited to 3 attached files par post)
Attachments
ovpCBoxAlgorithmSpatioSpectralFilter.cpp
(27.73 KiB) Downloaded 372 times

Post Reply