31 #ifndef GRT_DOUBLE_MOVING_AVERAGE_FILTER_HEADER
32 #define GRT_DOUBLE_MOVING_AVERAGE_FILTER_HEADER
34 #include "../CoreModules/PreProcessing.h"
150 Float
filter(
const Float x);
178 #endif //GRT_DOUBLE_MOVING_AVERAGE_FILTER_HEADER
virtual ~DoubleMovingAverageFilter()
MovingAverageFilter filter2
The second moving average filter.
DoubleMovingAverageFilter & operator=(const DoubleMovingAverageFilter &rhs)
virtual bool saveModelToFile(std::string filename) const
The MovingAverageFilter implements a low pass moving average filter.
Float filter(const Float x)
UINT filterSize
The size of the filter.
DoubleMovingAverageFilter(UINT filterSize=5, UINT numDimensions=1)
VectorFloat getFilteredData()
virtual bool loadModelFromFile(std::string filename)
MovingAverageFilter filter1
The first moving average filter.
virtual bool deepCopyFrom(const PreProcessing *preProcessing)
virtual bool process(const VectorFloat &inputVector)