Xmipp  v3.23.11-Nereus
Functions
Spline interpolation
Collaboration diagram for Spline interpolation:

Functions

int SplineInterpolateLine (double LineCoeff[], long LineLength, double Argument, double *Result, long Degree, enum TBoundaryConvention Convention, int *Status)
 
int SplineInterpolateImage (float *ImageCoeff, long Nx, long Ny, double Xargument, double Yargument, double *Result, long Degree, enum TBoundaryConvention Convention, int *Status)
 
int SplineInterpolateVolume (float *VolumeCoeff, long Nx, long Ny, long Nz, double Xargument, double Yargument, double Zargument, double *Result, long Degree, enum TBoundaryConvention Convention, int *Status)
 

Detailed Description

Function Documentation

◆ SplineInterpolateImage()

int SplineInterpolateImage ( float *  ImageCoeff,
long  Nx,
long  Ny,
double  Xargument,
double  Yargument,
double *  Result,
long  Degree,
enum TBoundaryConvention  Convention,
int *  Status 
)

Interpolation 2D. See coments on the 1D interpolation.

◆ SplineInterpolateLine()

int SplineInterpolateLine ( double  LineCoeff[],
long  LineLength,
double  Argument,
double *  Result,
long  Degree,
enum TBoundaryConvention  Convention,
int *  Status 
)

Interpolation 1D. Interpolation of the 1D array LineCoeff[] of length LineLength. Result = SUM(k): LineCoeff[k] * B-spline(Degree, Argument - k). Convention must be consistent with the B-spline coefficients stored in LineCoeff[]

success: return(!ERROR); failure: return(ERROR)

◆ SplineInterpolateVolume()

int SplineInterpolateVolume ( float *  VolumeCoeff,
long  Nx,
long  Ny,
long  Nz,
double  Xargument,
double  Yargument,
double  Zargument,
double *  Result,
long  Degree,
enum TBoundaryConvention  Convention,
int *  Status 
)

Interpolation 3D. See coments on the 1D interpolation.