plastimatch
Loading...
Searching...
No Matches
synthetic_mha.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_mha_h_
5#define _synthetic_mha_h_
6
7#include "plmutil_config.h"
8#include <string>
9#include "direction_cosines.h"
10#include "plm_image_type.h"
11
12class Rt_study;
13
31
32class Synthetic_mha_parms_private;
33
35public:
36 Synthetic_mha_parms_private *d_ptr;
37public:
45public:
48 std::string fixed_fn;
49 std::string input_fn;
50 int dim[3];
51 float origin[3];
52 float spacing[3];
54
59
63
64 // Generic parameters for {cylinder, sphere, tent}
65 float radius[3];
66 float center[3];
67
68 float gauss_center[3];
69 float gauss_std[3];
70 float penumbra;
71 float dose_size[6];
72 float dose_center[3];
73 float rect_size[6];
74 float donut_center[3];
75 float donut_radius[3];
77 int grid_spacing[3];
78 float lung_tumor_pos[3];
80 float noise_std;
82 int gabor_k_fib[2];
83 float gabor_k[3];
84
86
87public:
90};
91
93
94#endif
Definition direction_cosines.h:23
The Rt_study class encapsulates the concept of a radiotherapy planning data set, including image,...
Definition rt_study.h:28
Definition synthetic_mha.h:34
bool m_want_dose_img
Definition synthetic_mha.h:61
Synthetic_mha_parms_private * d_ptr
Definition synthetic_mha.h:36
Image_normalization
Definition synthetic_mha.h:38
@ NORMALIZATION_ZERO_MEAN_STD_ONE
Definition synthetic_mha.h:42
@ NORMALIZATION_SUM_SQR_ONE
Definition synthetic_mha.h:41
@ NORMALIZATION_SUM_ONE
Definition synthetic_mha.h:40
@ NORMALIZATION_NONE
Definition synthetic_mha.h:39
Direction_cosines dc
Definition synthetic_mha.h:53
int donut_rings
Definition synthetic_mha.h:76
std::string input_fn
Definition synthetic_mha.h:49
std::string fixed_fn
Definition synthetic_mha.h:48
float noise_mean
Definition synthetic_mha.h:79
Pattern_type pattern
Definition synthetic_mha.h:47
float background
Definition synthetic_mha.h:55
float foreground
Definition synthetic_mha.h:56
float background_alpha
Definition synthetic_mha.h:57
Plm_image_type output_type
Definition synthetic_mha.h:46
float foreground_alpha
Definition synthetic_mha.h:58
Image_normalization image_normalization
Definition synthetic_mha.h:62
int num_multi_sphere
Definition synthetic_mha.h:85
bool gabor_use_k_fib
Definition synthetic_mha.h:81
float noise_std
Definition synthetic_mha.h:80
float penumbra
Definition synthetic_mha.h:70
bool m_want_ss_img
Definition synthetic_mha.h:60
Plm_image_type
Definition plm_image_type.h:11
#define PLMUTIL_API
Definition plmutil_config.h:26
void synthetic_mha(Rt_study *rtds, Synthetic_mha_parms *parms)
Definition synthetic_mha.cxx:573
Pattern_type
Definition synthetic_mha.h:14
@ PATTERN_SPHERE
Definition synthetic_mha.h:18
@ PATTERN_LUNG
Definition synthetic_mha.h:22
@ PATTERN_TENT
Definition synthetic_mha.h:29
@ PATTERN_NOISE
Definition synthetic_mha.h:26
@ PATTERN_DOSE
Definition synthetic_mha.h:15
@ PATTERN_DONUT
Definition synthetic_mha.h:20
@ PATTERN_YRAMP
Definition synthetic_mha.h:24
@ PATTERN_CYLINDER
Definition synthetic_mha.h:27
@ PATTERN_ZRAMP
Definition synthetic_mha.h:25
@ PATTERN_GRID
Definition synthetic_mha.h:21
@ PATTERN_MULTI_SPHERE
Definition synthetic_mha.h:19
@ PATTERN_GABOR
Definition synthetic_mha.h:28
@ PATTERN_GAUSS
Definition synthetic_mha.h:16
@ PATTERN_RECT
Definition synthetic_mha.h:17
@ PATTERN_XRAMP
Definition synthetic_mha.h:23