#include <Resampling.h>
Public Member Functions | |
Resampling (double, double, double) | |
Constructor. | |
Resampling (int, int, int) | |
Constructor. | |
Resampling (int, int, int, double, double, double) | |
Constructor. | |
virtual void | Run () |
Run the resampling filter. | |
![]() | |
ImageToImage () | |
Constructor. | |
virtual bool | RequiresBuffering () const |
virtual double | Run (int, int, int, int=0) |
Run filter on single voxel. | |
virtual | ~ImageToImage () |
Destructor. | |
![]() | |
virtual const char * | NameOfClass () const =0 |
Get name of class, which this object is an instance of. | |
virtual ParameterList | Parameter () const |
Get parameter name/value pairs. | |
bool | Parameter (const ParameterList &) |
Set parameters from name/value pairs. | |
virtual bool | Set (const char *name, const char *value) |
virtual | ~Object () |
Destructor. | |
Protected Member Functions | |
virtual void | Initialize () |
Initialize the filter. | |
virtual void | InitializeOutput () |
Initialize filter output. | |
![]() | |
virtual void | Finalize () |
void | Initialize (bool) |
mirtkAggregateMacro (ImageType, Buffer) | |
Buffer. | |
mirtkPublicAggregateMacro (const ImageType, Input) | |
Input image for filter. | |
mirtkPublicAggregateMacro (ImageType, Output) | |
Output image for filter. | |
![]() | |
template<typename... Args> | |
void | Throw (ErrorType err, const char *func, Args... args) const |
Additional Inherited Members | |
![]() | |
typedef GenericImage< VoxelType > | ImageType |
Input/output image type. | |
typedef TVoxel | VoxelType |
Input/output image voxel type. | |
![]() | |
static const char * | NameOfType () |
Get name of this class type. | |
![]() | |
template<typename... Args> | |
static void | ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args) |
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 43 of file Resampling.h.