28 #ifndef GRT_DOUBLE_MOVING_AVERAGE_FILTER_HEADER 29 #define GRT_DOUBLE_MOVING_AVERAGE_FILTER_HEADER 31 #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);
154 static std::string
getId();
166 static const std::string id;
173 #endif //GRT_DOUBLE_MOVING_AVERAGE_FILTER_HEADER std::string getId() const
virtual bool deepCopyFrom(const PreProcessing *rhs)
MovingAverageFilter filter2
The second moving average filter.
The MovingAverageFilter implements a low pass moving average filter.
virtual bool save(const std::string &filename) const
virtual bool reset() override
UINT filterSize
The size of the filter.
virtual bool process(const VectorFloat &inputVector)
MovingAverageFilter filter1
The first moving average filter.
virtual bool load(const std::string &filename)
The class implements a Float moving average filter.