28 #ifndef GRT_MEDIAN_FILTER_HEADER 29 #define GRT_MEDIAN_FILTER_HEADER 31 #include "../CoreModules/PreProcessing.h" 46 MedianFilter(
const UINT filterSize = 5,
const UINT numDimensions = 1);
104 virtual bool save( std::fstream &file)
const;
113 virtual bool load( std::fstream &file );
122 bool init(
const UINT filterSize,
const UINT numDimensions);
130 Float filter(
const Float x);
145 UINT getFilterSize()
const;
169 static std::string
getId();
181 static const std::string id;
187 #endif //GRT_MEDIAN_FILTER_HEADER std::string getId() const
virtual bool deepCopyFrom(const PreProcessing *rhs)
virtual bool save(const std::string &filename) const
virtual bool reset() override
virtual bool process(const VectorFloat &inputVector)
virtual bool load(const std::string &filename)