Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Denoise Filter Library for Sensors #2310

Open
lblim opened this issue Sep 13, 2016 · 9 comments
Open

Denoise Filter Library for Sensors #2310

lblim opened this issue Sep 13, 2016 · 9 comments

Comments

@lblim
Copy link

lblim commented Sep 13, 2016

Task Description

Introduce denoise filter library into Soletta, it is needed for noisy sensors such as gyroscope and magnetometer
Type of denoise filters

  • Mean / moving average filter
  • Median filter

The filters and FBP node should be applied to all supported sensor types regardless
Physical connection of sensors (either through sensor hub or direct connect)
Logical connection of sensors (either through IIO or non-IIO)

@lblim
Copy link
Author

lblim commented Sep 14, 2016

@barbieri
Copy link

did you check the buffer types? I recall @glima wrote them to address these

@glima
Copy link

glima commented Sep 16, 2016

Yes, if it's just mean/median you want, we already have support for that at least for integer types. Float could be added easily as well.

@lblim
Copy link
Author

lblim commented Sep 21, 2016

@barbieri and @glima Thanks for pointing this out. Are you referring to https://github.com/solettaproject/soletta/blob/master/src/modules/flow/int/int.c

@laykuanloon Please take a look at the source code to see if it meets our requirements, we may extend on top of it if we need more than that. Also to expand for other data type such as float.

@glima
Copy link

glima commented Sep 21, 2016

@barbieri and @glima Thanks for pointing this out. Are you referring to https://github.com/solettaproject/soletta/blob/master/src/modules/flow/int/int.c

Yes, exactly (int/buffer node).

@laykuanloon Please take a look at the source code to see if it meets our requirements, we may extend on top of it if we need more than that. Also to expand for other data type such as float.

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#2310 (comment)

Gustavo Lima Chaves
Intel - Open Source Technology Center

@barbieri
Copy link

@lblim did that work for you?

@barbieri
Copy link

@laykuanloon ping

@laykuanloon
Copy link
Contributor

@barbieri
I implement denoise inside my sample app. https://github.com/solettaproject/soletta/commit/45117b9b9951204bbb2c8c7d6709f76d0e0d4a30

Is better to have a denoise that can work for C and sol_direction_vector data type. What do you think?

@barbieri
Copy link

@lblim I agree, I'll propose this as a project, thanks.

In this project we will also propose denoise based on redundancy, like done in drones, one can use another sensor at different sampling rate, driver and mount, then use them to provide the same information and use the redundancy to reduce noise.

In addition to traditional buffer + function filtering as done before.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants