plastimatch
Loading...
Searching...
No Matches
bspline_interpolate.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _bspline_interpolate_h_
5#define _bspline_interpolate_h_
6
7#include "plmbase_config.h"
8#include "plm_int.h"
9
10class Bspline_xform;
11class Volume;
12
14 Volume* interp, const Bspline_xform* bxf);
16 float point_out[3], /* Output coordinate of point */
17 Bspline_xform* bxf, /* Bspline transform coefficients */
18 float point_in[3], /* Input coordinate of point */
19 int linear_interp /* 1 = trilinear, 0 = nearest neighbors */
20);
22 float out[3],
23 const Bspline_xform* bxf,
24 plm_long p[3],
25 plm_long qidx
26);
28 float out[3],
29 Bspline_xform* bxf,
30 plm_long pidx,
31 plm_long qidx
32);
34 float out[3],
35 Bspline_xform* bxf,
36 plm_long pidx,
37 plm_long *q
38);
39
40#endif
void bspline_interpolate_vf(Volume *interp, const Bspline_xform *bxf)
Definition bspline_interpolate.cxx:113
void bspline_transform_point(float point_out[3], Bspline_xform *bxf, float point_in[3], int linear_interp)
Definition bspline_interpolate.cxx:149
void bspline_interp_pix_c(float out[3], Bspline_xform *bxf, plm_long pidx, plm_long *q)
Definition bspline_interpolate.cxx:79
void bspline_interp_pix_b(float out[3], Bspline_xform *bxf, plm_long pidx, plm_long qidx)
Definition bspline_interpolate.cxx:51
void bspline_interp_pix(float out[3], const Bspline_xform *bxf, plm_long p[3], plm_long qidx)
Definition bspline_interpolate.cxx:22
The Bspline_xform class encapsulates the B-spline coefficients used by native registration and warpin...
Definition bspline_xform.h:24
The Volume class represents a three-dimensional volume on a uniform grid. The volume can be located a...
Definition volume.h:38
#define PLMBASE_API
Definition plmbase_config.h:19