plastimatch
Loading...
Searching...
No Matches
bspline_correspond.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_correspond_h_
5#define _bspline_correspond_h_
6
7#include "plmutil_config.h"
8
9class Volume;
10
11PLMUTIL_API int inside_roi (float* xyz, const Volume* roi);
12
14 float *mxyz, /* Output: xyz coordinates in moving image (mm) */
15 float *mijk, /* Output: ijk indices in moving image (vox) */
16 const float *fxyz, /* Input: xyz coordinates in fixed image (mm) */
17 const float *dxyz, /* Input: displacement from fixed to moving (mm) */
18 const Volume *moving /* Input: moving image */
19);
20
22 float *mxyz, /* Output: xyz coordinates in moving image (mm) */
23 float *mijk, /* Output: ijk indices in moving image (vox) */
24 const float *fxyz, /* Input: xyz coordinates in fixed image (mm) */
25 const float *dxyz, /* Input: displacement from fixed to moving (mm) */
26 const Volume *moving, /* Input: moving image */
27 const Volume *moving_roi /* Input: moving image roi */
28);
29
30#endif
int bspline_find_correspondence_dcos_roi(float *mxyz, float *mijk, const float *fxyz, const float *dxyz, const Volume *moving, const Volume *moving_roi)
Definition bspline_correspond.cxx:115
int bspline_find_correspondence_dcos(float *mxyz, float *mijk, const float *fxyz, const float *dxyz, const Volume *moving)
Definition bspline_correspond.cxx:82
int inside_roi(float *xyz, const Volume *roi)
Definition bspline_correspond.cxx:53
The Volume class represents a three-dimensional volume on a uniform grid. The volume can be located a...
Definition volume.h:38
#define PLMUTIL_API
Definition plmutil_config.h:26