A.I.M.S algorithms


bio::SplineFfdResampler< T, C > Class Template Reference

#include <aims/registration/ffd.h>

Inheritance diagram for bio::SplineFfdResampler< T, C >:
Collaboration diagram for bio::SplineFfdResampler< T, C >:

Public Member Functions

virtual void init ()
 
 SplineFfdResampler (const SplineFfd &spline, T background=(T) 0)
 
 SplineFfdResampler (const SplineFfd &spline, Motion affine, T background=(T) 0)
 
virtual void setRef (const AimsData< T > &ref)
 
virtual Point3df resample (const Point3df &output_location, T &output_value, int t=0)
 
- Public Member Functions inherited from CubicResampler< C >
 CubicResampler ()
 
 ~CubicResampler ()
 
int getOrder () const
 Spline order (1 to 7) More...
 
- Public Member Functions inherited from SplineResampler< C >
 SplineResampler ()
 
 ~SplineResampler ()
 
AimsData< double > getSplineCoef (const AimsData< C > &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< C >
 Resampler ()
 
virtual ~Resampler ()
 
virtual void doit (const aims::AffineTransformation3d &transform, AimsData< C > &output_data)
 Resample the reference input data (set via setRef()) into an existing output data. More...
 
virtual AimsData< C > 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< C > &input_data, const aims::AffineTransformation3d &transform, const C &background, AimsData< C > &output_data, bool verbose=false)
 Resample the input data into an existing output data. More...
 
virtual void resample (const AimsData< C > &input_data, const aims::AffineTransformation3d &transform, const C &background, const Point3df &output_location, C &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< C > &ref)
 set the input data to be resampled More...
 
void setDefaultValue (Cval)
 set the default background value More...
 

Additional Inherited Members

- Protected Member Functions inherited from CubicResampler< C >
double getBSplineWeight (int i, double x) const
 Returns B^n( x - i ) More...
 
- Protected Member Functions inherited from SplineResampler< C >
void doResample (const AimsData< C > &inVolume, const Motion &transform3d, const C &outBackground, const Point3df &outLocation, C &outValue, int t)
 Resample a point. More...
 
void updateParameters (const AimsData< C > &inVolume, int t, bool verbose)
 
void iirConvolveMirror (std::vector< double > &data) const
 
int getFold (int i, int size) const
 
- Protected Attributes inherited from SplineResampler< C >
std::vector< double > _poles
 
double _gain
 
AimsData< double > _splineCoefficients
 
const AimsData< C > * _lastvolume
 
int _lasttime
 
- Protected Attributes inherited from Resampler< C >
const AimsData< C > * _ref
 
_defval
 

Detailed Description

template<class T, class C = T>
class bio::SplineFfdResampler< T, C >

Definition at line 217 of file ffd.h.

Constructor & Destructor Documentation

template<class T , class C = T>
bio::SplineFfdResampler< T, C >::SplineFfdResampler ( const SplineFfd spline,
background = (T) 0 
)
template<class T , class C = T>
bio::SplineFfdResampler< T, C >::SplineFfdResampler ( const SplineFfd spline,
Motion  affine,
background = (T) 0 
)

Member Function Documentation

template<class T , class C = T>
virtual void bio::SplineFfdResampler< T, C >::init ( )
virtual
template<class T , class C = T>
virtual Point3df bio::SplineFfdResampler< T, C >::resample ( const Point3df output_location,
T &  output_value,
int  t = 0 
)
virtual
template<class T , class C = T>
virtual void bio::SplineFfdResampler< T, C >::setRef ( const AimsData< T > &  ref)
virtual

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