#include <irtkResampling.h>
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. |