Exponential low-pass filter used as the building block of OneEuroFilter. More...
#include <OneEuroFilter.h>
Public Member Functions | |
| float | filter (float value, float alpha) |
| Feeds one sample through the filter. | |
| float | lastValue () const |
| void | reset () |
| Forgets all history; the next filter() call returns its input unchanged. | |
Exponential low-pass filter used as the building block of OneEuroFilter.
Definition at line 35 of file OneEuroFilter.h.
|
inline |
Definition at line 37 of file OneEuroFilter.h.
|
inline |
Feeds one sample through the filter.
| value | Raw input sample |
| alpha | Smoothing factor, 0-1 (1 = no smoothing). The first sample is returned unchanged. |
Definition at line 43 of file OneEuroFilter.h.
|
inline |
Definition at line 54 of file OneEuroFilter.h.
|
inline |
Forgets all history; the next filter() call returns its input unchanged.
Definition at line 56 of file OneEuroFilter.h.