plastimatch
Loading...
Searching...
No Matches
synthetic_vf.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _synthetic_vf_h_
5#define _synthetic_vf_h_
6
7#include "plmutil_config.h"
8#include "plm_image_header.h"
9
10// TODO: change type of pih to Plm_image_header*
11
12//class Plm_image_header;
13
15public:
25
26public:
30 float gaussian_mag[3];
31 float gaussian_std[3];
32 float radial_center[3];
33 float radial_mag[3];
34 float translation[3];
35
36public:
39 for (int i = 0; i < 3; i++) {
40 gaussian_center[i] = 0.0f;
41 gaussian_mag[i] = 0.0f;
42 gaussian_std[i] = 0.0f;
43 radial_center[i] = 0.0f;
44 radial_mag[i] = 0.0f;
45 translation[i] = 0.0f;
46 }
47 }
48};
49
50PLMUTIL_API DeformationFieldType::Pointer synthetic_vf (Synthetic_vf_parms* parms);
51
52#endif
The Plm_image_header class defines the geometry of an image. It defines image origin,...
Definition plm_image_header.h:24
Definition pointset.h:15
Definition synthetic_vf.h:14
Pattern
Definition synthetic_vf.h:16
@ PATTERN_POS
Definition synthetic_vf.h:22
@ PATTERN_RADIAL
Definition synthetic_vf.h:19
@ PATTERN_TRANSLATION
Definition synthetic_vf.h:18
@ PATTERN_UNKNOWN
Definition synthetic_vf.h:23
@ PATTERN_GAUSSIAN
Definition synthetic_vf.h:20
@ PATTERN_VOX_NUM
Definition synthetic_vf.h:21
@ PATTERN_ZERO
Definition synthetic_vf.h:17
Pattern pattern
Definition synthetic_vf.h:27
float radial_mag[3]
Definition synthetic_vf.h:33
Plm_image_header pih
Definition synthetic_vf.h:28
float gaussian_std[3]
Definition synthetic_vf.h:31
float gaussian_center[3]
Definition synthetic_vf.h:29
float radial_center[3]
Definition synthetic_vf.h:32
float translation[3]
Definition synthetic_vf.h:34
Synthetic_vf_parms()
Definition synthetic_vf.h:37
float gaussian_mag[3]
Definition synthetic_vf.h:30
#define PLMUTIL_API
Definition plmutil_config.h:26
DeformationFieldType::Pointer synthetic_vf(Synthetic_vf_parms *parms)
Definition synthetic_vf.cxx:15