class in Clatter.Core
Median-Filters are non-linear filters, returning the median of a sample window as output.
Median-Filters perform well for de-noise applications where it's important to not loose sharp steps/edges.
This is an optimized version of this class: OnlineMedianFilter.cs
public MedianFilter(int windowSize)
Name | Type | Description |
---|---|---|
windowSize | int | The window size. |
public double ProcessSample(double sample)
Process a single sample.
Name | Type | Description |
---|---|---|
sample | double | The sample. |