34 #ifndef AIMS_PYRAMID_CONVOLUTIONSUBSAMPLER_H
35 #define AIMS_PYRAMID_CONVOLUTIONSUBSAMPLER_H
52 template <
typename BasisFunction>
77 template <
typename OUT,
typename IN>
84 template <
typename OUT,
typename IN>
100 void setDirections(
bool dirx,
bool diry,
bool dirz,
bool dirt );
const Point4du & factor() const
std::vector< BasisFunction > _func
ConvolutionSubSampler(const std::vector< BasisFunction > &bfunc=std::vector< BasisFunction >(), const Point4du &r=Point4du(2, 2, 2, 2))
virtual ~ConvolutionSubSampler()
carto::VolumeRef< OUT > execute(const carto::VolumeRef< IN > &in) const
Execution.
void setBasisFunction(const BasisFunction &func)
ConvolutionSubSampler(unsigned r=2)
Constructor / Destructor / Copy.
ConvolutionSubSampler & operator=(const ConvolutionSubSampler &other)
const std::vector< bool > & directions() const
Parameters.
void setDirections(const std::vector< bool > &dir)
ConvolutionSubSampler(const ConvolutionSubSampler &other)
void setVerbose(int verbose=1)
void setFactor(unsigned r)
void setBasisFunction(const std::vector< BasisFunction > &func)
ConvolutionSubSampler(const BasisFunction &bfunc, unsigned r)