31 #ifndef GRT_DOUBLE_MOVING_AVERAGE_FILTER_HEADER
32 #define GRT_DOUBLE_MOVING_AVERAGE_FILTER_HEADER
34 #include "../CoreModules/PreProcessing.h"
105 virtual bool save(std::fstream &file)
const;
114 virtual bool load(std::fstream &file);
124 bool init(UINT filterSize,UINT numDimensions);
132 Float filter(
const Float x);
164 #endif //GRT_DOUBLE_MOVING_AVERAGE_FILTER_HEADER
virtual bool deepCopyFrom(const PreProcessing *rhs)
MovingAverageFilter filter2
The second moving average filter.
The MovingAverageFilter implements a low pass moving average filter.
UINT filterSize
The size of the filter.
virtual bool save(const std::string filename) const
virtual bool load(const std::string filename)
VectorFloat getFilteredData()
virtual bool process(const VectorFloat &inputVector)
MovingAverageFilter filter1
The first moving average filter.