-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacromodule.cls
153 lines (134 loc) · 6.01 KB
/
macromodule.cls
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
// !/tinaTool/
// AUTHOR : Derek Caetano-Anolles
// EDITED : 2016.08.10
// USAGE : TINA AUTO-LANDMARKING MODULES [v1.1]
// DESCR. : The Global Registration (G-Reg) files should be
// prepared beforehand for each sample (eg. “GR_0000”)
// and placed in the AutoGR folder. The module should
// be edited for the particular DCM and GREG file, and
// then copied/pasted for each G-Reg file that is being
// used in this macro. Only edit what is in the “Auto-
// Landmark Modules” zone.
/////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////
// ■ SET UP WINDOWS
Macro_Tool.append
Landmark_Points.Output_pathname: /path/to/TINA/Export/TINA_Export.TPS
// START OF THE AUTO-LANDMARK MODULES ZONE //
//▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼//
// ▲ AUTO-LANDMARK MODULE
// ▲ Change only the DICOM path and the G-REG_input filename
Sequence_Tool.__End_: 9999
Sequence_Tool.Image_File: /path/to/scan_folder/10001/C0009978_0####.DCM
Sequence_Tool.Load
Landmark_Points.Input_pathname: /path/to/TINA/AutoGR/GR_10001
Landmark_Points.Load
Automatic_Landmark_Point_Placement.Global_Reg
Automatic_Landmark_Point_Placement.Automatch
Automatic_Landmark_Point_Placement.Gauss_conv.
Automatic_Landmark_Point_Placement.Error_analysis
Landmark_Points.Save
// ▲ AUTO-LANDMARK MODULE
// ▲ Change only the DICOM path and the G-REG_input filename
Sequence_Tool.__End_: 9999
Sequence_Tool.Image_File: /path/to/scan_folder/10002/C0009979_0####.DCM
Sequence_Tool.Load
Landmark_Points.Input_pathname: /path/to/TINA/AutoGR/GR_10002
Landmark_Points.Load
Automatic_Landmark_Point_Placement.Global_Reg
Automatic_Landmark_Point_Placement.Automatch
Automatic_Landmark_Point_Placement.Gauss_conv.
Automatic_Landmark_Point_Placement.Error_analysis
Landmark_Points.Save
// ▲ AUTO-LANDMARK MODULE
// ▲ Change only the DICOM path and the G-REG_input filename
Sequence_Tool.__End_: 9999
Sequence_Tool.Image_File: /path/to/scan_folder/10003/C0009980_0####.DCM
Sequence_Tool.Load
Landmark_Points.Input_pathname: /path/to/TINA/AutoGR/GR_10003
Landmark_Points.Load
Automatic_Landmark_Point_Placement.Global_Reg
Automatic_Landmark_Point_Placement.Automatch
Automatic_Landmark_Point_Placement.Gauss_conv.
Automatic_Landmark_Point_Placement.Error_analysis
Landmark_Points.Save
// ▲ AUTO-LANDMARK MODULE
// ▲ Change only the DICOM path and the G-REG_input filename
Sequence_Tool.__End_: 9999
Sequence_Tool.Image_File: /path/to/scan_folder/10004/C0009981_0####.DCM
Sequence_Tool.Load
Landmark_Points.Input_pathname: /path/to/TINA/AutoGR/GR_10004
Landmark_Points.Load
Automatic_Landmark_Point_Placement.Global_Reg
Automatic_Landmark_Point_Placement.Automatch
Automatic_Landmark_Point_Placement.Gauss_conv.
Automatic_Landmark_Point_Placement.Error_analysis
Landmark_Points.Save
// ▲ AUTO-LANDMARK MODULE
// ▲ Change only the DICOM path and the G-REG_input filename
Sequence_Tool.__End_: 9999
Sequence_Tool.Image_File: /path/to/scan_folder/10016/C0009993_0####.DCM
Sequence_Tool.Load
Landmark_Points.Input_pathname: /path/to/TINA/AutoGR/GR_10016
Landmark_Points.Load
Automatic_Landmark_Point_Placement.Global_Reg
Automatic_Landmark_Point_Placement.Automatch
Automatic_Landmark_Point_Placement.Gauss_conv.
Automatic_Landmark_Point_Placement.Error_analysis
Landmark_Points.Save
// ▲ AUTO-LANDMARK MODULE
// ▲ Change only the DICOM path and the G-REG_input filename
Sequence_Tool.__End_: 9999
Sequence_Tool.Image_File: /path/to/scan_folder/10017/C0009994_0####.DCM
Sequence_Tool.Load
Landmark_Points.Input_pathname: /path/to/TINA/AutoGR/GR_10017
Landmark_Points.Load
Automatic_Landmark_Point_Placement.Global_Reg
Automatic_Landmark_Point_Placement.Automatch
Automatic_Landmark_Point_Placement.Gauss_conv.
Automatic_Landmark_Point_Placement.Error_analysis
Landmark_Points.Save
// ▲ AUTO-LANDMARK MODULE
// ▲ Change only the DICOM path and the G-REG_input filename
Sequence_Tool.__End_: 9999
Sequence_Tool.Image_File: /path/to/scan_folder/10018/C0009995_0####.DCM
Sequence_Tool.Load
Landmark_Points.Input_pathname: /path/to/TINA/AutoGR/GR_10018
Landmark_Points.Load
Automatic_Landmark_Point_Placement.Global_Reg
Automatic_Landmark_Point_Placement.Automatch
Automatic_Landmark_Point_Placement.Gauss_conv.
Automatic_Landmark_Point_Placement.Error_analysis
Landmark_Points.Save
// ▲ AUTO-LANDMARK MODULE
// ▲ Change only the DICOM path and the G-REG_input filename
Sequence_Tool.__End_: 9999
Sequence_Tool.Image_File: /path/to/scan_folder/10019/C0009996_0####.DCM
Sequence_Tool.Load
Landmark_Points.Input_pathname: /path/to/TINA/AutoGR/GR_10019
Landmark_Points.Load
Automatic_Landmark_Point_Placement.Global_Reg
Automatic_Landmark_Point_Placement.Automatch
Automatic_Landmark_Point_Placement.Gauss_conv.
Automatic_Landmark_Point_Placement.Error_analysis
Landmark_Points.Save
// ▲ AUTO-LANDMARK MODULE
// ▲ Change only the DICOM path and the G-REG_input filename
Sequence_Tool.__End_: 9999
Sequence_Tool.Image_File: /path/to/scan_folder/10020/C0009997_0####.DCM
Sequence_Tool.Load
Landmark_Points.Input_pathname: /path/to/TINA/AutoGR/GR_10020
Landmark_Points.Load
Automatic_Landmark_Point_Placement.Global_Reg
Automatic_Landmark_Point_Placement.Automatch
Automatic_Landmark_Point_Placement.Gauss_conv.
Automatic_Landmark_Point_Placement.Error_analysis
Landmark_Points.Save
//▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲//
// END OF THE AUTO-LANDMARK MODULES ZONE //
/////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////
// CHANGING THE MACRO WITH THE “APPEND" BUTTON ADDS THOSE //
// CHANGES AFTER THIS POINT. AFTER THE “MACRO_TOOL.APPEND" //
/////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////