47 #ifndef _MIRA_INTERVALFILTER_H_ 48 #define _MIRA_INTERVALFILTER_H_ 124 template <
typename Tx,
typename Ty,
typename ContainerTx,
typename ContainerTy>
125 Ty
apply(
const ContainerTx& x,
const ContainerTy& y,
const Tx& xx) {
126 static_assert(
sizeof(Tx)==0,
"apply() must be implemented in derived class");
int samplesBefore() const
Derived class must return the number of sample points that are desired before the interval...
Definition: IntervalFilter.h:89
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
int samples() const
Derived class must return the total number of sample points they require for their filtering/interpol...
Definition: IntervalFilter.h:78
Ty apply(const ContainerTx &x, const ContainerTy &y, const Tx &xx)
Filters/interpolates the specified data.
Definition: IntervalFilter.h:125
int samplesAfter() const
Derived class must return the number of sample points that are desired after the interval.
Definition: IntervalFilter.h:100
Concept and base class for all Interpolators and Filters.
Definition: IntervalFilter.h:61
bool canExtrapolate() const
Returns true, if the filter/interpolator is able to extrapolate.
Definition: IntervalFilter.h:68