Process consecutive values. Returns the central value of three consecutive values.
Diff: SpikeRemoveFilter.h
- Revision:
- 1:d34bcdec7177
- Parent:
- 0:d8d565a9d473
--- a/SpikeRemoveFilter.h Mon Apr 20 15:28:40 2020 +0000 +++ b/SpikeRemoveFilter.h Wed May 27 03:36:40 2020 +0000 @@ -24,6 +24,8 @@ virtual ~SpikeRemoveFilter( void ); T process( T x ); + + static int size( void ) { return 3; } };