1 arta 1.1 struct fint_struct {
2 int method;
3 int order;
4 int nsub;
5 float fover;
6 float *kersx;
7 int nshifts;
8 int shift0;
9 int edgemode;
10 float extrapolate;
11 char *filename;
12 };
13
14 int init_finterpolate_wiener_old(
15 struct fint_struct *pars,
16 int order,
17 int edgemode, // 0 to go as far as you can with symmetric kernel
18 // Otherwise go further (as set by extrapolate)
19 float extrapolate, // How far to extrapolate
20 int minorder, // Minimum order to use when approaching edge or beyond
|
21 arta 1.3 int nconst, // Number of polynomial constraints
22 // 0 None, 1 for norm, 2 for linear preserved, etc.
23 const char *path // to data files read by this function.
|
24 arta 1.1 );
25
26 int init_finterpolate_wiener(
27 struct fint_struct *pars,
28 int order,
29 int edgemode, // 0 to go as far as you can with symmetric kernel
30 // Otherwise go further (as set by extrapolate)
31 float extrapolate, // How far to extrapolate
32 int minorder, // Minimum order to use when approaching edge or beyond
33 int nconst, // Number of polynomial constraints
34 // 0 None, 1 for norm, 2 for linear preserved, etc.
35 int cortable, // Which of the hardcoded tables to use.
36 // 0 To use table pointed to by filenamep
|
40 arta 1.1 );
41
42 int init_finterpolate_linear(
43 struct fint_struct *pars,
44 float extrapolate // How far to extrapolate
45 );
46
47 int init_finterpolate_cubic_conv(
48 struct fint_struct *pars,
49 int edgemode, // 0 to go as far as you can with symmetric kernel
50 // Otherwise go further (as set by extrapolate)
51 float extrapolate // How far to extrapolate
52 );
53
54 int free_finterpolate(
55 struct fint_struct *pars
56 );
57
58 int finterpolate(
59 struct fint_struct *pars, // Must have been initialized by init_finterpolate
60 float *image_in,
61 arta 1.1 float *xin,
62 float *yin,
63 float *image_out,
64 int nxin, // Size of input image
65 int nyin, // Size of input image
66 int nleadin, // Leading dimension of input image. nleadin>=nxin
67 int nx, // Size of xin, yin and image_out
68 int ny, // Size of xin, yin and image_out
69 int nlead, // Leading dimension. nlead>=nx
70 float fillval // Value to use if outside area
71 );
72
|