A.I.M.S algorithms


NearestNeighborResampler< T > Class Template Reference

#include <aims/resampling/nearestneighborresampler.h>

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

Public Member Functions

 NearestNeighborResampler ()
 
 ~NearestNeighborResampler ()
 
- 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

void doResample (const AimsData< T > &inVolume, const Point3df &inLocation, const T &outBackground, T &outValue, int t)
 
void doResample (const AimsData< T > &inVolume, const Motion &transform3d, const T &outBackground, const Point3df &outLocation, T &outValue, int t)
 
- Protected Member Functions inherited from Resampler< T >
virtual void updateParameters (const AimsData< T > &inVolume, int time, bool verbose)
 called before each time step, used in spline resamplers More...
 

Additional Inherited Members

- Protected Attributes inherited from Resampler< T >
const AimsData< T > * _ref
 
_defval
 

Detailed Description

template<class T>
class NearestNeighborResampler< T >

Definition at line 42 of file nearestneighborresampler.h.

Constructor & Destructor Documentation

template<class T>
NearestNeighborResampler< T >::NearestNeighborResampler ( )
inline

Definition at line 46 of file nearestneighborresampler.h.

template<class T>
NearestNeighborResampler< T >::~NearestNeighborResampler ( )
inline

Definition at line 47 of file nearestneighborresampler.h.

Member Function Documentation

template<class T>
void NearestNeighborResampler< T >::doResample ( const AimsData< T > &  inVolume,
const Point3df inLocation,
const T &  outBackground,
T &  outValue,
int  t 
)
protected
template<class T>
void NearestNeighborResampler< T >::doResample ( const AimsData< T > &  inVolume,
const Motion transform3d,
const T &  outBackground,
const Point3df outLocation,
T &  outValue,
int  t 
)
protectedvirtual

Implements Resampler< T >.

Definition at line 42 of file nearestneighborresampler_d.h.

References aims::AffineTransformation3d::transform().


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