dzlonline / ofxbiquadfilter Goto Github PK
View Code? Open in Web Editor NEWBiquad filter functions for OpenFrameworks
License: Apache License 2.0
Biquad filter functions for OpenFrameworks
License: Apache License 2.0
I have been using this great add-on for a while.
I'm now wondering how i can be extend to also smooth degree readings I am getting for tracking a rotating object.
A continues rotation jumps from 0 to 360 degrees and currently confuses the 1 dimensional filter.
Would you have any tips?
Thanks a lot.
hi
thanks for this great addon.
i am using it to smooth out tracking points. when those points first appear the filter slings the point too much around. i mean it seems to think the last point was at 0,0, the next at the actual tracking position. as a result the filtered point is way past the actual point.
i thought maybe the first time i have this new tracking point i would just flood the filter with this new position, to avoid it considering 0,0.
but did not work.
any ideas on how i can init() it to my first point?
posFilter.setFc(posFilter_fc);
for(int i=0; i<100; i++){
posFilter.update(curPos);
}
in ofxBiquadFilterInstance.cpp
#define _USE_MATH_DEFINES
#include <math.h>
Otherwise M_PI is undefined in Visual Studio 2015 with OF 0.9.8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.