aimsalgo  5.1.2
Neuroimaging image processing
aims::MovingAverageSubSampler Class Reference

#include <aims/pyramid/movingaveragesubsampler.h>

Inheritance diagram for aims::MovingAverageSubSampler:
Collaboration diagram for aims::MovingAverageSubSampler:

Public Member Functions

 MovingAverageSubSampler (unsigned r=2, unsigned length=3, FilterType::Direction symtype=FilterType::Symmetrical)
 Constructor / Copy. More...
 
 MovingAverageSubSampler (const Point4du &r, unsigned length=3, FilterType::Direction symtype=FilterType::Symmetrical)
 
 MovingAverageSubSampler (const Point4du &r, const Point4du &length, FilterType::Direction symtype=FilterType::Symmetrical)
 
 MovingAverageSubSampler (const MovingAverageSubSampler &other)
 
virtual ~MovingAverageSubSampler ()
 
MovingAverageSubSampleroperator= (const MovingAverageSubSampler &other)
 
Point4du length () const
 Parameters. More...
 
FilterType::Direction type () const
 
void setLength (unsigned length)
 Updates underlying basis functions. More...
 
void setLength (const Point4du &length)
 Updates underlying basis functions. More...
 
void setType (FilterType::Direction symtype)
 Updates underlying basis functions. More...
 
- Public Member Functions inherited from aims::ConvolutionSubSampler< MovingAverageKernel >
 ConvolutionSubSampler (unsigned r=2)
 Constructor / Destructor / Copy. More...
 
 ConvolutionSubSampler (const Point4du &r)
 
 ConvolutionSubSampler (const MovingAverageKernel &bfunc, unsigned r)
 
 ConvolutionSubSampler (const std::vector< MovingAverageKernel > &bfunc=std::vector< MovingAverageKernel >(), const Point4du &r=Point4du(2, 2, 2, 2))
 
 ConvolutionSubSampler (const ConvolutionSubSampler &other)
 
virtual ~ConvolutionSubSampler ()
 
ConvolutionSubSampleroperator= (const ConvolutionSubSampler &other)
 
carto::VolumeRef< OUT > execute (const carto::VolumeRef< IN > &in) const
 Execution. More...
 
carto::VolumeRef< OUT > execute (const carto::VolumeRef< IN > &in, carto::VolumeRef< OUT > &out) const
 Write result in an existing volume. More...
 
const std::vector< bool > & directions () const
 Parameters. More...
 
const Point4dufactor () const
 
void setBasisFunction (const MovingAverageKernel &func)
 
void setBasisFunction (const std::vector< MovingAverageKernel > &func)
 
void setFactor (unsigned r)
 
void setFactor (const Point4du &r)
 
void setDirections (const std::vector< bool > &dir)
 
void setDirections (bool dirx, bool diry, bool dirz, bool dirt)
 
void setVerbose (int verbose=1)
 
void setQuiet ()
 

Additional Inherited Members

- Protected Attributes inherited from aims::ConvolutionSubSampler< MovingAverageKernel >
std::vector< MovingAverageKernel_func
 
int _verbose
 
std::vector< bool > _dir
 
Point4du _factor
 

Detailed Description

Definition at line 53 of file movingaveragesubsampler.h.

Constructor & Destructor Documentation

◆ MovingAverageSubSampler() [1/4]

aims::MovingAverageSubSampler::MovingAverageSubSampler ( unsigned  r = 2,
unsigned  length = 3,
FilterType::Direction  symtype = FilterType::Symmetrical 
)

Constructor / Copy.

◆ MovingAverageSubSampler() [2/4]

aims::MovingAverageSubSampler::MovingAverageSubSampler ( const Point4du r,
unsigned  length = 3,
FilterType::Direction  symtype = FilterType::Symmetrical 
)

◆ MovingAverageSubSampler() [3/4]

aims::MovingAverageSubSampler::MovingAverageSubSampler ( const Point4du r,
const Point4du length,
FilterType::Direction  symtype = FilterType::Symmetrical 
)

◆ MovingAverageSubSampler() [4/4]

aims::MovingAverageSubSampler::MovingAverageSubSampler ( const MovingAverageSubSampler other)

◆ ~MovingAverageSubSampler()

virtual aims::MovingAverageSubSampler::~MovingAverageSubSampler ( )
virtual

Member Function Documentation

◆ length()

Point4du aims::MovingAverageSubSampler::length ( ) const

Parameters.

◆ operator=()

MovingAverageSubSampler& aims::MovingAverageSubSampler::operator= ( const MovingAverageSubSampler other)

◆ setLength() [1/2]

void aims::MovingAverageSubSampler::setLength ( const Point4du length)

Updates underlying basis functions.

◆ setLength() [2/2]

void aims::MovingAverageSubSampler::setLength ( unsigned  length)

Updates underlying basis functions.

◆ setType()

void aims::MovingAverageSubSampler::setType ( FilterType::Direction  symtype)

Updates underlying basis functions.

◆ type()

FilterType::Direction aims::MovingAverageSubSampler::type ( ) const

The documentation for this class was generated from the following file: