plastimatch
Loading...
Searching...
No Matches
bspline_warp.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_warp_h_
5#define _bspline_warp_h_
6
7#include "plmbase_config.h"
8#include "volume.h"
9
10class Bspline_xform;
11
12/* This should become obsolete */
14 Volume *vout, /* Output image (already sized and allocated) */
15 Volume *vf_out, /* Output vf (already sized and allocated, can be null) */
16 Bspline_xform* bxf, /* Bspline transform coefficients */
17 Volume *moving, /* Input image */
18 int linear_interp, /* 1 = trilinear, 0 = nearest neighbors */
19 float default_val /* Fill in this value outside of image */
20);
21
23 Volume *vout, /* Output image (already sized and allocated) */
24 Volume *vf_out, /* Output vf (already sized and allocated, can be null) */
25 Bspline_xform* bxf, /* Bspline transform coefficients */
26 const Volume::Pointer& moving, /* Input image */
27 int linear_interp, /* 1 = trilinear, 0 = nearest neighbors */
28 float default_val /* Fill in this value outside of image */
29);
30
31#endif
void bspline_warp(Volume *vout, Volume *vf_out, Bspline_xform *bxf, Volume *moving, int linear_interp, float default_val)
Definition bspline_warp.cxx:171
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