-
Notifications
You must be signed in to change notification settings - Fork 2
/
AbdomenPhantom.pha
168 lines (140 loc) · 8.36 KB
/
AbdomenPhantom.pha
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/* Abdomen Phantom */
/* Stefan Schaller, Thomas Flohr, 11.1.99 */
/* mailto: [email protected] */
#include "TableOfTissues"
#include "Vertebra.pha"
#define REL
#define CTMAT(x) formel=H2O rho=x
#define LEN 100
Phantom
/* ++++ Body ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
{ "A1" [Ellipt_Cyl_z: dx=20 dy=12 l=100 ] CTMAT(WATER) REL }
/* ++++ Liver +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
{ "B2" [Ellipsoid_free: x=-10 y=0 dx=8 dy=7 dz=10
a_x(cos(60), sin(60),0) a_z(0,0,1) ]
CTMAT(1.06) REL }
/* ++++ Vertebrae +++++++++++++++++++++++++++++++++++++++++++++++++++++ */
Wirbelkoerper(0, -7,-10, 4)
Wirbelkoerper(0, -7, -5, 4)
Wirbelkoerper(0, -7, 0, 4)
Wirbelkoerper(0, -7, 5, 4)
Wirbelkoerper(0, -7, 10, 4)
/* ++++ Lesions at z=0 ++++++++++++++++++++++++++++++++++++++++++++++++ */
{ "C11" [Sphere: x=-14 y=1.2 r=0.6] CTMAT(1.05) REL }
{ "C12" [Sphere: x=-11.6 y=1.2 r=0.6] CTMAT(1.05) REL }
{ "C13" [Sphere: x= -9.2 y=1.2 r=0.6] CTMAT(1.05) REL }
{ "C14" [Sphere: x=-6.8 y=1.2 r=0.6] CTMAT(1.05) REL }
{ "C15" [Sphere: x=-4.4 y=1.2 r=0.6] CTMAT(1.05) REL }
{ "C21" [Sphere: x=-14 y=-0.6 r=0.5] CTMAT(1.05) REL }
{ "C22" [Sphere: x=-12 y=-0.6 r=0.5] CTMAT(1.05) REL }
{ "C23" [Sphere: x=-10 y=-0.6 r=0.5] CTMAT(1.05) REL }
{ "C24" [Sphere: x=-8 y=-0.6 r=0.5] CTMAT(1.05) REL }
{ "C25" [Sphere: x=-6 y=-0.6 r=0.5] CTMAT(1.05) REL }
{ "C31" [Sphere: x=-14 y=-2.1 r=0.4] CTMAT(1.05) REL }
{ "C32" [Sphere: x=-12.4 y=-2.1 r=0.4] CTMAT(1.05) REL }
{ "C33" [Sphere: x=-10.8 y=-2.1 r=0.4] CTMAT(1.05) REL }
{ "C34" [Sphere: x=-9.2 y=-2.1 r=0.4] CTMAT(1.05) REL }
{ "C35" [Sphere: x=-7.6 y=-2.1 r=0.4] CTMAT(1.05) REL }
{ "C41" [Sphere: x=-14 y=-3.3 r=0.3] CTMAT(1.05) REL }
{ "C42" [Sphere: x=-12.8 y=-3.3 r=0.3] CTMAT(1.05) REL }
{ "C43" [Sphere: x=-11.6 y=-3.3 r=0.3] CTMAT(1.05) REL }
{ "C44" [Sphere: x=-10.4 y=-3.3 r=0.3] CTMAT(1.05) REL }
{ "C45" [Sphere: x=-9.2 y=-3.3 r=0.3] CTMAT(1.05) REL }
{ "C51" [Sphere: x=-14 y=-4.2 r=0.25] CTMAT(1.05) REL }
{ "C52" [Sphere: x=-13 y=-4.2 r=0.25] CTMAT(1.05) REL }
{ "C53" [Sphere: x=-12 y=-4.2 r=0.25] CTMAT(1.05) REL }
{ "C54" [Sphere: x=-11 y=-4.2 r=0.25] CTMAT(1.05) REL }
{ "C55" [Sphere: x=-10 y=-4.2 r=0.25] CTMAT(1.05) REL }
{ "C61" [Sphere: x=-14 y=-4.95 r=0.2] CTMAT(1.05) REL }
{ "C62" [Sphere: x=-13.2 y=-4.95 r=0.2] CTMAT(1.05) REL }
{ "C63" [Sphere: x=-12.4 y=-4.95 r=0.2] CTMAT(1.05) REL }
{ "C64" [Sphere: x=-11.6 y=-4.95 r=0.2] CTMAT(1.05) REL }
{ "C65" [Sphere: x=-10.8 y=-4.95 r=0.2] CTMAT(1.05) REL }
{ "C71" [Sphere: x=-14 y=-5.55 r=0.15] CTMAT(1.05) REL }
{ "C72" [Sphere: x=-13.4 y=-5.55 r=0.15] CTMAT(1.05) REL }
{ "C73" [Sphere: x=-12.8 y=-5.55 r=0.15] CTMAT(1.05) REL }
{ "C74" [Sphere: x=-12.2 y=-5.55 r=0.15] CTMAT(1.05) REL }
{ "C75" [Sphere: x=-11.6 y=-5.55 r=0.15] CTMAT(1.05) REL }
{ "C81" [Sphere: x=-14 y=-6 r=0.1] CTMAT(1.05) REL }
{ "C82" [Sphere: x=-13.6 y=-6 r=0.1] CTMAT(1.05) REL }
{ "C83" [Sphere: x=-13.2 y=-6 r=0.1] CTMAT(1.05) REL }
{ "C84" [Sphere: x=-12.8 y=-6 r=0.1] CTMAT(1.05) REL }
{ "C85" [Sphere: x=-12.4 y=-6 r=0.1] CTMAT(1.05) REL }
/* ++++ Lesions at z=3 ++++++++++++++++++++++++++++++++++++++++++++++++ */
{ "D11" [Sphere: x=-14 y=1.2 z=3 r=0.6] CTMAT(1.05) REL }
{ "D12" [Sphere: x=-11.6 y=1.2 z=3 r=0.6] CTMAT(1.05) REL }
{ "D13" [Sphere: x= -9.2 y=1.2 z=3 r=0.6] CTMAT(1.05) REL }
{ "D14" [Sphere: x=-6.8 y=1.2 z=3 r=0.6] CTMAT(1.05) REL }
{ "D15" [Sphere: x=-4.4 y=1.2 z=3 r=0.6] CTMAT(1.05) REL }
{ "D21" [Sphere: x=-14 y=-0.6 z=3 r=0.5] CTMAT(1.05) REL }
{ "D22" [Sphere: x=-12 y=-0.6 z=3 r=0.5] CTMAT(1.05) REL }
{ "D23" [Sphere: x=-10 y=-0.6 z=3 r=0.5] CTMAT(1.05) REL }
{ "D24" [Sphere: x=-8 y=-0.6 z=3 r=0.5] CTMAT(1.05) REL }
{ "D25" [Sphere: x=-6 y=-0.6 z=3 r=0.5] CTMAT(1.05) REL }
{ "D31" [Sphere: x=-14 y=-2.1 z=3 r=0.4] CTMAT(1.05) REL }
{ "D32" [Sphere: x=-12.4 y=-2.1 z=3 r=0.4] CTMAT(1.05) REL }
{ "D33" [Sphere: x=-10.8 y=-2.1 z=3 r=0.4] CTMAT(1.05) REL }
{ "D34" [Sphere: x=-9.2 y=-2.1 z=3 r=0.4] CTMAT(1.05) REL }
{ "D35" [Sphere: x=-7.6 y=-2.1 z=3 r=0.4] CTMAT(1.05) REL }
{ "D41" [Sphere: x=-14 y=-3.3 z=3 r=0.3] CTMAT(1.05) REL }
{ "D42" [Sphere: x=-12.8 y=-3.3 z=3 r=0.3] CTMAT(1.05) REL }
{ "D43" [Sphere: x=-11.6 y=-3.3 z=3 r=0.3] CTMAT(1.05) REL }
{ "D44" [Sphere: x=-10.4 y=-3.3 z=3 r=0.3] CTMAT(1.05) REL }
{ "D45" [Sphere: x=-9.2 y=-3.3 z=3 r=0.3] CTMAT(1.05) REL }
{ "D51" [Sphere: x=-14 y=-4.2 z=3 r=0.25] CTMAT(1.05) REL }
{ "D52" [Sphere: x=-13 y=-4.2 z=3 r=0.25] CTMAT(1.05) REL }
{ "D53" [Sphere: x=-12 y=-4.2 z=3 r=0.25] CTMAT(1.05) REL }
{ "D54" [Sphere: x=-11 y=-4.2 z=3 r=0.25] CTMAT(1.05) REL }
{ "D55" [Sphere: x=-10 y=-4.2 z=3 r=0.25] CTMAT(1.05) REL }
{ "D61" [Sphere: x=-14 y=-4.95 z=3 r=0.2] CTMAT(1.05) REL }
{ "D62" [Sphere: x=-13.2 y=-4.95 z=3 r=0.2] CTMAT(1.05) REL }
{ "D63" [Sphere: x=-12.4 y=-4.95 z=3 r=0.2] CTMAT(1.05) REL }
{ "D64" [Sphere: x=-11.6 y=-4.95 z=3 r=0.2] CTMAT(1.05) REL }
{ "D65" [Sphere: x=-10.8 y=-4.95 z=3 r=0.2] CTMAT(1.05) REL }
{ "D71" [Sphere: x=-14 y=-5.55 z=3 r=0.15] CTMAT(1.05) REL }
{ "D72" [Sphere: x=-13.4 y=-5.55 z=3 r=0.15] CTMAT(1.05) REL }
{ "D73" [Sphere: x=-12.8 y=-5.55 z=3 r=0.15] CTMAT(1.05) REL }
{ "D74" [Sphere: x=-12.2 y=-5.55 z=3 r=0.15] CTMAT(1.05) REL }
{ "D75" [Sphere: x=-11.6 y=-5.55 z=3 r=0.15] CTMAT(1.05) REL }
{ "D81" [Sphere: x=-14 y=-6 z=3 r=0.1] CTMAT(1.05) REL }
{ "D82" [Sphere: x=-13.6 y=-6 z=3 r=0.1] CTMAT(1.05) REL }
{ "D83" [Sphere: x=-13.2 y=-6 z=3 r=0.1] CTMAT(1.05) REL }
{ "D84" [Sphere: x=-12.8 y=-6 z=3 r=0.1] CTMAT(1.05) REL }
{ "D85" [Sphere: x=-12.4 y=-6 z=3 r=0.1] CTMAT(1.05) REL }
/* ++++ liquid / air surface ++++++++++++++++++++++++++++++++++++++++++ */
{ "E1" [Ellipt_Cyl_z: y=6 dx=3 dy=2 l=20 ] CTMAT(1.06) REL }
{ "E2" [Ellipt_Cyl_z: y=6 dx=3 dy=2 l=20 y>6.5] CTMAT(0) REL }
/* ++++ ribs ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
{ "F1" [Ellipt_Cyl: y=0 x=-18 z=0 dx=0.4 dy=0.4 l=8
axis(0, sin(60), cos(60)) a_x(1, 0, 0)] CTMAT(2.0) REL }
{ "F2" [Ellipt_Cyl: y=0 x= 18 z=0 dx=0.4 dy=0.4 l=8
axis(0, sin(60), cos(60)) a_x(1, 0, 0)] CTMAT(2.0) REL }
/* ++++ high contrast objects +++++++++++++++++++++++++++++++++++++++++ */
{ "G00" [Box: y=1 x=12-3.0/10 z=0 dx=0.5/10 dy=1 dz=2] CTMAT(2.0) REL }
{ "G01" [Box: y=1 x=12-2.0/10 z=0 dx=0.5/10 dy=1 dz=2] CTMAT(2.0) REL }
{ "G02" [Box: y=1 x=12-1.0/10 z=0 dx=0.5/10 dy=1 dz=2] CTMAT(2.0) REL }
{ "G03" [Box: y=1 x=12 z=0 dx=0.5/10 dy=1 dz=2] CTMAT(2.0) REL }
{ "G04" [Box: y=1 x=12+1.0/10 z=0 dx=0.5/10 dy=1 dz=2] CTMAT(2.0) REL }
{ "G05" [Box: y=1 x=12+2.0/10 z=0 dx=0.5/10 dy=1 dz=2] CTMAT(2.0) REL }
{ "G06" [Box: y=1 x=12+3.0/10 z=0 dx=0.5/10 dy=1 dz=2] CTMAT(2.0) REL }
{ "G10" [Box: y=1 x=14-3.0/12 z=0 dx=0.5/12 dy=1 dz=2] CTMAT(2.0) REL }
{ "G11" [Box: y=1 x=14-2.0/12 z=0 dx=0.5/12 dy=1 dz=2] CTMAT(2.0) REL }
{ "G12" [Box: y=1 x=14-1.0/12 z=0 dx=0.5/12 dy=1 dz=2] CTMAT(2.0) REL }
{ "G13" [Box: y=1 x=14 z=0 dx=0.5/12 dy=1 dz=2] CTMAT(2.0) REL }
{ "G14" [Box: y=1 x=14+1.0/12 z=0 dx=0.5/12 dy=1 dz=2] CTMAT(2.0) REL }
{ "G15" [Box: y=1 x=14+2.0/12 z=0 dx=0.5/12 dy=1 dz=2] CTMAT(2.0) REL }
{ "G16" [Box: y=1 x=14+3.0/12 z=0 dx=0.5/12 dy=1 dz=2] CTMAT(2.0) REL }
{ "G20" [Box: y=-1-3.0/10 x=12 z=0 dx=1 dy=0.5/10 dz=2] CTMAT(2.0) REL }
{ "G21" [Box: y=-1-2.0/10 x=12 z=0 dx=1 dy=0.5/10 dz=2] CTMAT(2.0) REL }
{ "G22" [Box: y=-1-1.0/10 x=12 z=0 dx=1 dy=0.5/10 dz=2] CTMAT(2.0) REL }
{ "G23" [Box: y=-1 x=12 z=0 dx=1 dy=0.5/10 dz=2] CTMAT(2.0) REL }
{ "G24" [Box: y=-1+1.0/10 x=12 z=0 dx=1 dy=0.5/10 dz=2] CTMAT(2.0) REL }
{ "G25" [Box: y=-1+2.0/10 x=12 z=0 dx=1 dy=0.5/10 dz=2] CTMAT(2.0) REL }
{ "G26" [Box: y=-1+3.0/10 x=12 z=0 dx=1 dy=0.5/10 dz=2] CTMAT(2.0) REL }
{ "G30" [Box: y=-1-3.0/12 x=14 z=0 dx=1 dy=0.5/12 dz=2] CTMAT(2.0) REL }
{ "G31" [Box: y=-1-2.0/12 x=14 z=0 dx=1 dy=0.5/12 dz=2] CTMAT(2.0) REL }
{ "G32" [Box: y=-1-1.0/12 x=14 z=0 dx=1 dy=0.5/12 dz=2] CTMAT(2.0) REL }
{ "G33" [Box: y=-1 x=14 z=0 dx=1 dy=0.5/12 dz=2] CTMAT(2.0) REL }
{ "G34" [Box: y=-1+1.0/12 x=14 z=0 dx=1 dy=0.5/12 dz=2] CTMAT(2.0) REL }
{ "G35" [Box: y=-1+2.0/12 x=14 z=0 dx=1 dy=0.5/12 dz=2] CTMAT(2.0) REL }
{ "G36" [Box: y=-1+3.0/12 x=14 z=0 dx=1 dy=0.5/12 dz=2] CTMAT(2.0) REL }