spacial median filter rejecting abnormal signals.
Dependents: medianFilterTest WIPV
Diff: MEDIAN_FILTER.cpp
- Revision:
- 1:a46f56a22432
- Parent:
- 0:4487376ead1c
--- a/MEDIAN_FILTER.cpp Fri Apr 22 13:40:21 2016 +0000 +++ b/MEDIAN_FILTER.cpp Fri Apr 22 16:19:03 2016 +0000 @@ -3,11 +3,11 @@ #include "MEDIAN_FILTER.h" -medianFilter::medianFilter(int windowSize):windowSize_(windowSize) +MedianFilter::MedianFilter(int windowSize):windowSize_(windowSize) { } -float medianFilter::medianValue(float data) +float MedianFilter::MedianValue(float data) { int i; for(i=0; i<windowSize_-1; i++) {