irtkResampling< VoxelType > Class Template Reference

#include <irtkResampling.h>

Inheritance diagram for irtkResampling< VoxelType >:

Inheritance graph
[legend]
Collaboration diagram for irtkResampling< VoxelType >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class VoxelType>
class irtkResampling< VoxelType >

Class for resampling of images.

This class defines and implements the resampling of images with arbitrary voxel dimensions. The new image intensity of the voxels is calculated by interpolation of the old image intensities. Possible interpolation schemes are nearest neighbor, linear, cubic spline and B-spline interpolation.

Definition at line 36 of file irtkResampling.h.


Public Member Functions

 irtkResampling (double, double, double)
 Constructor.
 SetMacro (XSize, double)
 Set voxel size after resampling.
 GetMacro (XSize, double)
 Get voxel size after resampling.
 SetMacro (YSize, double)
 Set voxel size after resampling.
 GetMacro (YSize, double)
 Get voxel size after resampling.
 SetMacro (ZSize, double)
 Set voxel size after resampling.
 GetMacro (ZSize, double)
 Get voxel size after resampling.
 SetMacro (Interpolator, irtkImageFunction *)
 Set interpolator.
virtual void Run ()
 Run the resampling filter.

Protected Member Functions

virtual Bool RequiresBuffering ()
 Returns whether the filter requires buffering.
virtual const char * NameOfClass ()
 Returns the name of the class.
virtual void Initialize ()
 Initialize the filter.

Protected Attributes

double _XSize
 Voxel size of output after resampling.
double _YSize
double _ZSize
irtkImageFunction_Interpolator
 Interpolation used to interpolate output.

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