arduino-audio-tools
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MedianFilter< T > Class Template Reference

An embedded friendly, fast one-dimensional median filter algorithm implementation in C and C++ Useful for spike and noise removal from analog signals or other DSP Also known as "salt-and-pepper noise" or "impulse noise" filter. More...

#include <MedianFilter.h>

Inheritance diagram for MedianFilter< T >:
Filter< T >

Classes

struct  MedianFilter_t
 
struct  MedianNode_t
 

Public Member Functions

 MedianFilter (int size=7)
 
virtual T process (T in) override
 

Protected Member Functions

int init (MedianFilter_t *medianFilter)
 
int insert (MedianFilter_t *medianFilter, T sample)
 

Protected Attributes

Vector< MedianNode_tmedianBuffer {0}
 
MedianFilter_t medianFilter
 

Detailed Description

template<typename T>
class audio_tools::MedianFilter< T >

An embedded friendly, fast one-dimensional median filter algorithm implementation in C and C++ Useful for spike and noise removal from analog signals or other DSP Also known as "salt-and-pepper noise" or "impulse noise" filter.


The documentation for this class was generated from the following file: