34 #ifndef AIMS_PYRAMID_SPLINESUBSAMPLER_H
35 #define AIMS_PYRAMID_SPLINESUBSAMPLER_H
79 unsigned spline_order = 3 );
82 unsigned spline_order = 3 );
93 unsigned order()
const;
123 template <
typename OUT,
typename IN>
const Point4du & factor() const
Class excuting a spline-based subsampling.
void setFactor(unsigned r)
Override ConclutionSubSampler version to update the underlying basis functions.
void setFunctions(const Point4du &r, unsigned n)
carto::VolumeRef< OUT > execute(const carto::VolumeRef< IN > &in, carto::VolumeRef< OUT > &out) const
Execution.
void setNormalize(bool normalize=true)
Set normalization mode.
void setOrder(unsigned n)
Set spline order Updates underlying basis functions.
DirectBSplineSubSampler(unsigned factor=2, bool normalize=false, unsigned spline_order=3)
Constructor / Copy.
virtual ~DirectBSplineSubSampler()
bool normalize() const
Get normalization mode.
DirectBSplineSubSampler & operator=(const DirectBSplineSubSampler &other)
unsigned order() const
Parameters.