[android-developers] Re: Filtering Android Sensors Noise

2010-05-21 Thread BobG
Averaging is the right algorithm. The tradeoff is averaging lots of readings makes the movement smoother but slower to respond (lag). try averaging 8,16,32,64 samples. When it gets too slow, back up one. -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Re: Filtering Android Sensors Noise

2010-05-22 Thread Yahel
In addition to averaging. You can also investigate tresholding. Display your icons and don't move them unless there is a minimum amount of displacement. You'll need fine tuning here, it will compensate for small movement of the hand while looking through the phone. Don't forget parralax in your w

[android-developers] Re: Filtering Android Sensors Noise

2010-05-22 Thread Yahel
On 22 mai, 02:38, BobG wrote: > Averaging is the right algorithm. The tradeoff is averaging lots of > readings makes the movement smoother but slower to respond (lag). try > averaging 8,16,32,64 samples. When it gets too slow, back up one. -- You received this message because you are subscribe

[android-developers] Re: Filtering Android Sensors Noise

2010-05-22 Thread Yahel
Oh and I forgot, The other option you have that would be very accurate but requires a biggest computational and battery overhead : Form recognition. Using specific points on the image and following them will give you a much better tracking(after effects style) on small movements. Completely remov

[android-developers] Re: Filtering Android Sensors Noise

2010-05-26 Thread Alfonso
First of all, thanks everybody for their answers. I've been in journey, that's the reason because of I haven't answered before. I've tried average and tresholding, althougt not too much extensively. Special thanks, Yahel, the parralax is very important. I've seen that is present in the digital filt

Re: [android-developers] Re: Filtering Android Sensors Noise

2010-05-26 Thread Frank Weiss
I posted my code in this thread: http://groups.google.com/group/android-developers/browse_thread/thread/d61f7790afb3f8b6/770777368e823548?lnk=raot That code is for a band pass filter. Refer to the linked article which gives the formulas for low pass filter as well. http://www.dspguide.com/ch19.ht