|
| virtual | ~smootherMWM2 () |
| |
| bool | setup (real_t *window, const size_t w_size) |
| | Setup an initialize the Moving Window Median filter.
|
| |
| template<size_t windowSize> |
| bool | setup (real_t(&window)[windowSize]) |
| | Setup an initialize the Moving Window Median filter.
|
| |
| real_t | smooth (const real_t x) override |
| | Perform the smooth operation recursively for the input signal x.
|
| |
| virtual | ~smoother () |
| |
| bool | isInitialized (void) const |
| | Check if the smoother filter has been initialized using setup().
|
| |
| | operator bool () const noexcept |
| | Check if the smoother filter has been initialized using setup().
|
| |
| bool | reset (void) |
| | Reset the smoother filter.
|
| |
| virtual | ~tdl () noexcept=default |
| |
| | tdl ()=default |
| |
| | tdl (real_t *const area, const size_t n, const real_t initVal=0.0_re) noexcept |
| | Constructor for the Tapped Delay Line (TDL) instance.
|
| |
| template<size_t numberOfDelays> |
| | tdl (real_t(&area)[numberOfDelays], const real_t initVal=0.0_re) noexcept |
| | Constructor for the Tapped Delay Line (TDL) instance.
|
| |
| void | setup (real_t *const area, const size_t n, const real_t initVal=0.0_re) noexcept |
| | Setup and initialize a Tapped Delay Line (TDL) instance by setting the default optimal parameters.
|
| |
| template<size_t numberOfDelays> |
| void | setup (real_t(&area)[numberOfDelays], const real_t initVal=0.0_re) noexcept |
| | Setup and initialize a Tapped Delay Line (TDL) instance by setting the default optimal parameters.
|
| |
| void | flush (const real_t initVal=0.0_re) noexcept |
| | Clears all delays from the TDL and sets them to the specified value.
|
| |
| real_t | getOldest (void) const noexcept |
| | Get the oldest sample from the TDL x(k-n)
|
| |
| real_t | getRecent (void) const noexcept |
| | Get the most recent sample from the TDL x(k)
|
| |
| real_t | getAtIndex (const size_t i) const noexcept |
| | Get the specified delayed sample from the TDL x(k-i)
|
| |
| void | insertSample (const real_t sample) noexcept |
| | Insert a new sample to the TDL removing the oldest sample.
|
| |
| real_t | operator[] (int index) noexcept |
| | Get the specified delayed sample from the TDL x(k-i)
|
| |
| void | operator() (const real_t sample) noexcept |
| | Insert a new sample to the TDL removing the oldest sample.
|
| |
| bool | isInitialized (void) const noexcept |
| | Check if the TDL has been initialized.
|
| |
| | operator bool () const noexcept |
| | Check if the TDL has been initialized.
|
| |
A Moving Window Median filter.
- Note
- Time complexity is O(1)