34 #ifndef AIMS_SIGNALFILTER_SPLINEFILTER_H 35 #define AIMS_SIGNALFILTER_SPLINEFILTER_H 85 const unsigned &
order()
const;
89 void setOrder(
const unsigned & order );
137 unsigned order = 3 );
139 unsigned order = 3 );
150 unsigned order()
const;
154 bool normalize()
const;
157 void setOrder(
const unsigned & order );
160 void setScale(
const float & scale );
163 void setScale(
const Point4df & scale );
165 void setNormalize(
const bool & normalize =
true );
182 template <
typename OUTP,
typename INP>
243 InverseSmoothingSplineFilter(
float lambda,
unsigned n = N );
244 InverseSmoothingSplineFilter(
const InverseSmoothingSplineFilter & other );
245 virtual ~InverseSmoothingSplineFilter();
246 InverseSmoothingSplineFilter &
operator=(
const InverseSmoothingSplineFilter & other );
262 const unsigned &
order()
const;
264 const float & lambda()
const;
272 void setLambda(
float l );
283 enum FilterType { Interpolation, SymRealPole, SymComplexPole };
288 CausalAllPoleIIRFilter _causal;
289 AntiCausalAllPoleIIRFilter _anticausal;
294 template <
unsigned O>
friend class InverseSmoothingSplineFilter;
300 #endif // AIMS_SIGNALFILTER_SPLINEFILTER_H carto::VolumeRef< double > execute(const carto::VolumeRef< T > &in) const
Execution.
virtual void filter1d(const carto::VolumeRef< double > in, carto::VolumeRef< double > out, int dir=-1) const
Execution.
virtual ~InverseBSplineFilter()
Symmetric, all-pole, infinite impulse response Filter.
const unsigned & order() const
Parameters.
This filter uses an inverse B-Spline convolution function to transform a discrete signal to its splin...
Base class for separable infinite impulse response filters.
This filter uses a convolution with Spline basis functions.
void setOrder(const unsigned &order)
Set spline order The gain and poles of the underlying IIR filter will be updated accordingly.
InverseBSplineFilter(unsigned order=3)
Constructor / Copy.
InverseBSplineFilter & operator=(const InverseBSplineFilter &other)
The internal order of the copied filter is kept, meaning that the built filter's order might differ f...