|
static int | GetPoleValues (double poles[4], long &numPoles, long degree) |
| Internal method.
|
|
static void | ConvertToInterpolationCoefficients (double data[], long size, long border, double poles[4], long numPoles, double tol) |
| Internal method.
|
|
|
static int | GetInterpolationWeights (double weights[10], double w, long degree) |
| Internal method.
|
|
static int | GetInterpolationWeights (float weights[10], double w, long degree) |
| Internal method.
|
|
|
static int | InterpolatedValue (const double *coeffs, double *value, long width, long height, long slices, long depth, double x, double y, double z, long degree, long border) |
| Internal method.
|
|
static int | InterpolatedValue (const float *coeffs, float *value, long width, long height, long slices, long depth, double x, double y, double z, long degree, long border) |
| Internal method.
|
|
BSpline code from P.
Thevenaz
vtkImageBSplineInternals provides code for image interpolation with b-splines of various degrees. This code computes the coefficients from the image, and computes the weights for the b-spline kernels.
This class is based on code provided by Philippe Thevenaz of EPFL, Lausanne, Switzerland. Please acknowledge his contribution by citing the following paper: [1] P. Thevenaz, T. Blu, M. Unser, "Interpolation Revisited," IEEE Transactions on Medical Imaging 19(7):739-758, 2000.
The clamped boundary condition (which is the default) is taken from code presented in the following paper: [2] D. Ruijters, P. Thevenaz, "GPU Prefilter for Accurate Cubic B-spline Interpolation," The Computer Journal, doi: 10.1093/comjnl/bxq086, 2010.
Definition at line 42 of file vtkImageBSplineInternals.h.