34#ifndef AIMS_SIGNALFILTER_MOVINGAVERAGEFILTER_H
35#define AIMS_SIGNALFILTER_MOVINGAVERAGEFILTER_H
81 double at(
int x )
const;
156 double at(
int x )
const;
void setBasisFunction(const MovingAverageKernel &func)
ConvolutionFilter(const MovingAverageKernel &bfunc)
MovingAverageCascadeFilter(const Point4du &length, const Point4du &n, FilterType::Direction symtype=FilterType::Symmetrical)
void setType(FilterType::Direction symtype)
virtual ~MovingAverageCascadeFilter()
void setLength(const Point4du &length)
MovingAverageCascadeFilter(const MovingAverageCascadeFilter &other)
MovingAverageCascadeFilter(const Point4du &length, unsigned n=2, FilterType::Direction symtype=FilterType::Symmetrical)
MovingAverageCascadeFilter & operator=(const MovingAverageCascadeFilter &other)
FilterType::Direction type() const
Point4du length() const
Get parameters.
void setCascade(const Point4du &n)
MovingAverageCascadeFilter(unsigned length=3, unsigned n=2, FilterType::Direction symtype=FilterType::Symmetrical)
Constructor / Copy.
void setLength(unsigned length)
Set parameters.
void setCascade(unsigned n)
1D Cascade of Moving Average Kernel
unsigned length() const
Get parameters.
FilterType::Direction type() const
void setValues(unsigned length, unsigned n, FilterType::Direction symtype)
const Point2di & support() const
MovingAverageCascadeKernel(const MovingAverageCascadeKernel &other)
double operator()(int x) const
Get value.
void setLength(unsigned length)
std::vector< double > _values
void setType(FilterType::Direction symtype)
void setCascade(unsigned n)
MovingAverageCascadeKernel & operator=(const MovingAverageCascadeKernel &other)
virtual ~MovingAverageCascadeKernel()
MovingAverageCascadeKernel(unsigned length=3, unsigned n=2, FilterType::Direction symtype=FilterType::Symmetrical)
Constructor/Destructor/Copy.
void reset(unsigned length=3, unsigned n=2, FilterType::Direction symtype=FilterType::Symmetrical)
Set parameters.
FilterType::Direction type() const
MovingAverageFilter & operator=(const MovingAverageFilter &other)
virtual ~MovingAverageFilter()
MovingAverageFilter(const Point4du &length, FilterType::Direction symtype=FilterType::Symmetrical)
void setType(FilterType::Direction symtype)
void setLength(const Point4du &length)
MovingAverageFilter(unsigned length=3, FilterType::Direction symtype=FilterType::Symmetrical)
Constructor / Copy.
MovingAverageFilter(const MovingAverageFilter &other)
void setLength(unsigned length)
Set parameters.
Point4du length() const
Get parameters.
MovingAverageKernel & operator=(const MovingAverageKernel &other)
FilterType::Direction type() const
MovingAverageKernel(const MovingAverageKernel &other)
void reset(unsigned length=3, FilterType::Direction symtype=FilterType::Symmetrical)
Set parameters.
unsigned length() const
Get parameters.
void setLength(unsigned length)
virtual ~MovingAverageKernel()
FilterType::Direction _type
void setType(FilterType::Direction symtype)
std::vector< double > _values
MovingAverageKernel(unsigned length=3, FilterType::Direction symtype=FilterType::Symmetrical)
Constructor/Destructor/Copy.
const Point2di & support() const
void setSupport(FilterType::Direction symtype)
double operator()(int x) const
Get value.
AimsVector< int32_t, 2 > Point2di
AimsVector< uint32_t, 4 > Point4du