#include <irtkBSplineInterpolateImageFunction.h>
This class defines and implements the B-spline interpolation of images. Currently supports B-splines of degree 2 to degree 5. By default splines of degree 3 (cubic) are used. For more details see:
M. Unser, "Splines: A Perfect Fit for Signal and Image Processing," IEEE Signal Processing Magazine, vol. 16, no. 6, pp. 22-38, November 1999.
Definition at line 29 of file irtkBSplineInterpolateImageFunction.h.
Public Member Functions | |
irtkBSplineInterpolateImageFunction (int=3) | |
Constructor (default spline degree is cubic B-splines). | |
~irtkBSplineInterpolateImageFunction () | |
Destructor. | |
virtual const char * | NameOfClass () |
Returns the name of the class. | |
virtual void | Initialize () |
Initialize. | |
virtual void | PutSplineDegree (int SplineDegree) |
Sets the spline degree (supported are spline degrees 2 to 5). | |
virtual int | GetSplineDegree () |
Gets the spline degree. | |
virtual double | Evaluate (double, double, double, double=0) |
Evaluate the filter at an arbitrary image location (in pixels). | |
virtual double | EvaluateInside (double, double, double, double=0) |
Evaluate the filter at an arbitrary image location (in pixels) without handling boundary conditions. |
virtual double irtkBSplineInterpolateImageFunction::EvaluateInside | ( | double | , | |
double | , | |||
double | , | |||
double | = 0 | |||
) | [virtual] |
Evaluate the filter at an arbitrary image location (in pixels) without handling boundary conditions.
This version is faster than the method above, but is only defined inside the image domain.
Implements irtkInterpolateImageFunction.