plastimatch
Loading...
Searching...
No Matches
src
base
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
10
class
Bspline_xform
;
11
12
/* This should become obsolete */
13
PLMBASE_API
void
bspline_warp
(
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
22
PLMBASE_API
void
bspline_warp
(
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
bspline_warp
void bspline_warp(Volume *vout, Volume *vf_out, Bspline_xform *bxf, Volume *moving, int linear_interp, float default_val)
Definition
bspline_warp.cxx:171
Bspline_xform
The Bspline_xform class encapsulates the B-spline coefficients used by native registration and warpin...
Definition
bspline_xform.h:24
Volume
The Volume class represents a three-dimensional volume on a uniform grid. The volume can be located a...
Definition
volume.h:38
plmbase_config.h
PLMBASE_API
#define PLMBASE_API
Definition
plmbase_config.h:19
volume.h
Generated on Wed Oct 30 2024 14:54:42 for plastimatch by
1.11.0