aimsalgo  5.0.5
Neuroimaging image processing
aims::SplinePyramidBuilder Class Reference

The method follows that of Under, Aldroubi & Eden, "The L2 Polynomial Spline Pyramid" in IEEE Transactions on Pattern Analysis and Machine Intelligence (1993) More...

#include <aims/pyramid/splinepyramid.h>

Collaboration diagram for aims::SplinePyramidBuilder:

Public Member Functions

 SplinePyramidBuilder (unsigned factor=2, unsigned spline_order=3)
 Constructors / Destructors / Copy. More...
 
 SplinePyramidBuilder (const Point4du &factor, unsigned spline_order=3)
 
 SplinePyramidBuilder (const std::vector< Point4du > &factor, unsigned spline_order=3)
 
 SplinePyramidBuilder (const SplinePyramidBuilder &other)
 
virtual ~SplinePyramidBuilder ()
 
SplinePyramidBuilderoperator= (const SplinePyramidBuilder &other)
 
unsigned order () const
 Parameters. More...
 
const std::vector< bool > & directions () const
 
const std::vector< Point4du > & factor () const
 
void setOrder (unsigned n)
 
void setFactor (unsigned r)
 
void setFactor (const Point4du &r)
 
void setFactor (const std::vector< 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 ()
 
template<typename T >
SplinePyramid execute (const carto::VolumeRef< T > &vol, bool is_coeff=false) const
 Execution. More...
 

Protected Member Functions

std::vector< Point4ducomputeFactors (const std::vector< int > &size) const
 Execution. More...
 

Protected Attributes

unsigned _order
 
std::vector< Point4du_factor
 
std::vector< bool > _dir
 
int _verbose
 

Detailed Description

The method follows that of Under, Aldroubi & Eden, "The L2 Polynomial Spline Pyramid" in IEEE Transactions on Pattern Analysis and Machine Intelligence (1993)

Definition at line 123 of file splinepyramid.h.

Constructor & Destructor Documentation

◆ SplinePyramidBuilder() [1/4]

aims::SplinePyramidBuilder::SplinePyramidBuilder ( unsigned  factor = 2,
unsigned  spline_order = 3 
)

Constructors / Destructors / Copy.

Definition at line 271 of file splinepyramid_d.h.

References _dir, and verbose.

◆ SplinePyramidBuilder() [2/4]

aims::SplinePyramidBuilder::SplinePyramidBuilder ( const Point4du factor,
unsigned  spline_order = 3 
)

Definition at line 280 of file splinepyramid_d.h.

References _dir, and verbose.

◆ SplinePyramidBuilder() [3/4]

aims::SplinePyramidBuilder::SplinePyramidBuilder ( const std::vector< Point4du > &  factor,
unsigned  spline_order = 3 
)

Definition at line 289 of file splinepyramid_d.h.

References _dir, and verbose.

◆ SplinePyramidBuilder() [4/4]

aims::SplinePyramidBuilder::SplinePyramidBuilder ( const SplinePyramidBuilder other)

Definition at line 298 of file splinepyramid_d.h.

◆ ~SplinePyramidBuilder()

aims::SplinePyramidBuilder::~SplinePyramidBuilder ( )
virtual

Definition at line 305 of file splinepyramid_d.h.

Member Function Documentation

◆ computeFactors()

std::vector< Point4du > aims::SplinePyramidBuilder::computeFactors ( const std::vector< int > &  size) const
protected

Execution.

Definition at line 327 of file splinepyramid_d.h.

References _dir, and _factor.

Referenced by execute().

◆ directions()

const std::vector< bool > & aims::SplinePyramidBuilder::directions ( ) const

Definition at line 497 of file splinepyramid_d.h.

References _dir.

Referenced by execute().

◆ execute()

◆ factor()

const std::vector< Point4du > & aims::SplinePyramidBuilder::factor ( ) const

Definition at line 502 of file splinepyramid_d.h.

References _factor.

◆ operator=()

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

Definition at line 308 of file splinepyramid_d.h.

References _dir, _factor, _order, and _verbose.

◆ order()

unsigned aims::SplinePyramidBuilder::order ( ) const

Parameters.

Definition at line 492 of file splinepyramid_d.h.

References _order.

◆ setDirections() [1/2]

void aims::SplinePyramidBuilder::setDirections ( const std::vector< bool > &  dir)

Definition at line 527 of file splinepyramid_d.h.

References _dir.

◆ setDirections() [2/2]

void aims::SplinePyramidBuilder::setDirections ( bool  dirx,
bool  diry,
bool  dirz,
bool  dirt 
)

Definition at line 535 of file splinepyramid_d.h.

References _dir.

◆ setFactor() [1/3]

void aims::SplinePyramidBuilder::setFactor ( unsigned  r)

Definition at line 512 of file splinepyramid_d.h.

References _factor.

◆ setFactor() [2/3]

void aims::SplinePyramidBuilder::setFactor ( const Point4du r)

Definition at line 517 of file splinepyramid_d.h.

References _factor.

◆ setFactor() [3/3]

void aims::SplinePyramidBuilder::setFactor ( const std::vector< Point4du > &  r)

Definition at line 522 of file splinepyramid_d.h.

References _factor.

◆ setOrder()

void aims::SplinePyramidBuilder::setOrder ( unsigned  n)

Definition at line 507 of file splinepyramid_d.h.

References _order.

◆ setQuiet()

void aims::SplinePyramidBuilder::setQuiet ( )

Definition at line 548 of file splinepyramid_d.h.

References _verbose.

◆ setVerbose()

void aims::SplinePyramidBuilder::setVerbose ( int  verbose = 1)

Definition at line 543 of file splinepyramid_d.h.

References _verbose.

Member Data Documentation

◆ _dir

std::vector<bool> aims::SplinePyramidBuilder::_dir
protected

◆ _factor

std::vector<Point4du> aims::SplinePyramidBuilder::_factor
protected

Definition at line 165 of file splinepyramid.h.

Referenced by computeFactors(), factor(), operator=(), and setFactor().

◆ _order

unsigned aims::SplinePyramidBuilder::_order
protected

Definition at line 164 of file splinepyramid.h.

Referenced by execute(), operator=(), order(), and setOrder().

◆ _verbose

int aims::SplinePyramidBuilder::_verbose
protected

Definition at line 167 of file splinepyramid.h.

Referenced by execute(), operator=(), setQuiet(), and setVerbose().


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