Xmipp  v3.23.11-Nereus
changebasis.h
Go to the documentation of this file.
1 #ifndef _CHANGEBASIS
2 #define _CHANGEBASIS
3 
4 #include "tsplinebasis.h"
5 #include "tboundaryconvention.h"
6 
7 /*--------------------------------------------------------------------------*/
11 
19 extern int ChangeBasis
20  (
21  double InputData[], /* data to process */
22  double OutputData[], /* result */
23  long SignalLength, /* signal length */
24  enum TSplineBasis
25  FromBasis, /* input basis */
26  enum TSplineBasis
27  ToBasis, /* output basis */
28  long Degree, /* degree of the representation space */
30  Convention, /* boundary convention */
31  double Tolerance, /* admissible relative error */
32  int *Status /* error management */
33  );
34 
35 /*--------------------------------------------------------------------------*/
44 extern int ChangeBasisVolume
45  (
46  double *VolumeSource, /* data to process */
47  double *VolumeDestination, /* result */
48  long Nx, /* width of the volume */
49  long Ny, /* height of the volume */
50  long Nz, /* depth of the volume */
51  enum TSplineBasis
52  FromBasis, /* input basis */
53  enum TSplineBasis
54  ToBasis, /* output basis */
55  long Degree, /* degree of the representation space */
57  Convention, /* boundary convention */
58  double Tolerance, /* admissible relative error */
59  int *Status /* error management */
60  );
62 #endif
TSplineBasis
Definition: tsplinebasis.h:7
TBoundaryConvention
int ChangeBasis(double InputData[], double OutputData[], long SignalLength, enum TSplineBasis FromBasis, enum TSplineBasis ToBasis, long Degree, enum TBoundaryConvention Convention, double Tolerance, int *Status)
int ChangeBasisVolume(double *VolumeSource, double *VolumeDestination, long Nx, long Ny, long Nz, enum TSplineBasis FromBasis, enum TSplineBasis ToBasis, long Degree, enum TBoundaryConvention Convention, double Tolerance, int *Status)