1 # ----------------------------------
2 # - BBTKGEditor v 1.2 BBS BlackBox Script
3 # - /Users/davila/Desktop/tmpBBTK-BBS/resampling.bbs
4 # ----------------------------------
7 # ----------------------
13 include creaMaracasVisu
18 description "Description ??"
21 new FileSelector Box00
25 new ResampleImageFilter Box02
26 set Box02.Spacing "0.097 0.097 0.097"
30 new CommandButton Box04
31 set Box04.Label "Write mhd image"
34 set Box05.Proportion 15
38 new FileSelector Box07
39 set Box07.OpenSave Save
41 new ImagePropertiesWidget Box08
43 new CommandButton Box09
44 set Box09.Label "Run resampling"
47 set Box11.Orientation H
50 set Box12.Proportion 90
53 set Box13.Orientation V
57 set Box14.Title "NewSpacing X"
61 set Box16.Title "NewSpacing Y"
65 set Box17.Title "NewSpacing Z"
67 new ConcatStrings Box18
75 set Box19.In2 NearestNeighbor
76 set Box19.Title Interpolation
78 new StringSelect Box20
81 set Box20.In3 NearestNeighbor
84 connect Box00.Out Box01.In
85 connect Box01.Out Box02.In
86 connect Box02.Out Box03.In
87 connect Box03.Widget Box05.Widget2
88 connect Box04.Widget Box05.Widget1
89 connect Box07.Out Box06.Filename
90 connect Box02.Out Box06.In
91 connect Box04.BoxChange Box06.BoxExecute
92 connect Box01.Out Box08.in
93 connect Box09.Widget Box12.Widget2
94 connect Box11.Widget Box12.Widget1
95 connect Box14.Widget Box13.Widget1
96 connect Box08.widget Box11.Widget1
97 connect Box13.Widget Box11.Widget2
98 connect Box16.Widget Box13.Widget2
99 connect Box17.Widget Box13.Widget3
100 connect Box14.Out Box18.In1
101 connect Box18.Out Box02.Spacing
102 connect Box19.Out Box20.In
103 connect Box19.Widget Box13.Widget4
104 connect Box20.Out Box02.Interpolation
105 connect Box09.BoxChange Box05.BoxExecute
106 connect Box16.Out Box18.In3
107 connect Box17.Out Box18.In5