34 #ifndef AIMS_SIGNALFILTER_MOVINGAVERAGEFILTER_H 35 #define AIMS_SIGNALFILTER_MOVINGAVERAGEFILTER_H 81 double at(
int x )
const;
156 double at(
int x )
const;
173 void setCascade(
unsigned n );
182 unsigned cascade()
const;
286 void setCascade(
unsigned n );
287 void setCascade(
const Point4du & n );
305 #endif // AIMS_SIGNALFILTER_MOVINGAVERAGEFILTER_H void setLength(unsigned length)
std::vector< double > _values
unsigned length() const
Get parameters.
std::vector< double > _values
1D Cascade of Moving Average Kernel
virtual ~MovingAverageKernel()
double operator()(int x) const
Get value.
Separable Moving Average Filter.
FilterType::Direction type() const
void setSupport(FilterType::Direction symtype)
MovingAverageKernel & operator=(const MovingAverageKernel &other)
MovingAverageKernel(unsigned length=3, FilterType::Direction symtype=FilterType::Symmetrical)
Constructor/Destructor/Copy.
FilterType::Direction _type
void setType(FilterType::Direction symtype)
void reset(unsigned length=3, FilterType::Direction symtype=FilterType::Symmetrical)
Set parameters.
Separable Cascade of Moving Average Filter.
const Point2di & support() const