A.I.M.S algorithms


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

#include <aims/registration/ffd.h>

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

Public Member Functions

virtual void init ()
 
 NearestNeighborFfdResampler (const SplineFfd &spline, T background=(T) 0)
 
 NearestNeighborFfdResampler (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 NearestNeighborResampler< C >
 NearestNeighborResampler ()
 
 ~NearestNeighborResampler ()
 
- 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 NearestNeighborResampler< C >
void doResample (const AimsData< C > &inVolume, const Point3df &inLocation, const C &outBackground, C &outValue, int t)
 
void doResample (const AimsData< C > &inVolume, const Motion &transform3d, const C &outBackground, const Point3df &outLocation, C &outValue, int t)
 
- Protected Member Functions inherited from Resampler< C >
virtual void updateParameters (const AimsData< C > &inVolume, int time, bool verbose)
 called before each time step, used in spline resamplers More...
 
- Protected Attributes inherited from Resampler< C >
const AimsData< C > * _ref
 
_defval
 

Detailed Description

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

Definition at line 245 of file ffd.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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