A.I.M.S algorithms


QuarticResampler< T > Class Template Reference

#include <aims/resampling/quarticresampler.h>

Inheritance diagram for QuarticResampler< T >:
Collaboration diagram for QuarticResampler< T >:

Public Member Functions

 QuarticResampler ()
 
 ~QuarticResampler ()
 
int getOrder () const
 Spline order (1 to 7) More...
 
- Public Member Functions inherited from SplineResampler< T >
 SplineResampler ()
 
 ~SplineResampler ()
 
AimsData< double > getSplineCoef (const AimsData< T > &inVolume, int t=0, bool verbose=false)
 Computes spline coefficients corresponding to an input volume. More...
 
void reset ()
 Clear the cache. More...
 
- Public Member Functions inherited from Resampler< T >
 Resampler ()
 
virtual ~Resampler ()
 
virtual void doit (const aims::AffineTransformation3d &transform, AimsData< T > &output_data)
 Resample the reference input data (set via setRef()) into an existing output data. More...
 
virtual AimsData< T > doit (const aims::AffineTransformation3d &transform, int dimX, int dimY, int dimZ, const Point3df &voxel_size)
 Resample the reference input data (set via setRef()) into a new output data. More...
 
virtual void resample (const AimsData< T > &input_data, const aims::AffineTransformation3d &transform, const T &background, AimsData< T > &output_data, bool verbose=false)
 Resample the input data into an existing output data. More...
 
virtual void resample (const AimsData< T > &input_data, const aims::AffineTransformation3d &transform, const T &background, const Point3df &output_location, T &output_value, int timestep)
 Resample a single voxel of the input data at a given specified output location, and set the output value. More...
 
void setRef (const AimsData< T > &ref)
 set the input data to be resampled More...
 
void setDefaultValue (T val)
 set the default background value More...
 

Protected Member Functions

double getBSplineWeight (int i, double x) const
 Returns B^n( x - i ) More...
 
- Protected Member Functions inherited from SplineResampler< T >
void doResample (const AimsData< T > &inVolume, const Motion &transform3d, const T &outBackground, const Point3df &outLocation, T &outValue, int t)
 Resample a point. More...
 
void updateParameters (const AimsData< T > &inVolume, int t, bool verbose)
 
void iirConvolveMirror (std::vector< double > &data) const
 
int getFold (int i, int size) const
 

Additional Inherited Members

- Protected Attributes inherited from SplineResampler< T >
std::vector< double > _poles
 
double _gain
 
AimsData< double > _splineCoefficients
 
const AimsData< T > * _lastvolume
 
int _lasttime
 
- Protected Attributes inherited from Resampler< T >
const AimsData< T > * _ref
 
_defval
 

Detailed Description

template<class T>
class QuarticResampler< T >

Definition at line 42 of file quarticresampler.h.

Constructor & Destructor Documentation

template<class T >
QuarticResampler< T >::QuarticResampler ( )
template<class T >
QuarticResampler< T >::~QuarticResampler ( )

Definition at line 58 of file quarticresampler_d.h.

Member Function Documentation

template<class T >
double QuarticResampler< T >::getBSplineWeight ( int  i,
double  x 
) const
protectedvirtual

Returns B^n( x - i )

This method is defined by each nth order derived class

Implements SplineResampler< T >.

Definition at line 72 of file quarticresampler_d.h.

template<class T >
int QuarticResampler< T >::getOrder ( ) const
virtual

Spline order (1 to 7)

Implements SplineResampler< T >.

Definition at line 64 of file quarticresampler_d.h.


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