-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrecipe_trabecular_segmentation_Avizo_EH.hxrecipe
120 lines (120 loc) · 12.2 KB
/
recipe_trabecular_segmentation_Avizo_EH.hxrecipe
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
<?xml version="1.0" encoding="UTF-8"?>
<Macro name="trabecular_segmentation_April17_EH">
<Doc contents="1 pt ball erosion and dilation at end to clean up specs at border"/>
<StepGraph>
<Step uid="9e38919f-342c-497c-8736-01544e4f7210">
<CommonInfo productName="" productVersion=""/>
<ToolInfo action="INPUT_STEP"/>
<StepInfo areVolatile="0" name="Input (inputB)" isResultSavedInRecordMode="0" comment="" paused="0" isResultExportedInPool="0" outputName=""/>
</Step>
<Step uid="f3b70f8d-6ab9-41fc-8899-0b01ecba8efd">
<CommonInfo room="HxRecipesWorkroom" reuseRoom="0" productName="Avizo" productVersion="2020.1"/>
<ToolInfo resourceKey="sphereerode3d" action="MODULE_TOOL" label="Erosion 2"/>
<StepInfo areVolatile="0" name="Module:Erosion 2" isResultSavedInRecordMode="0" comment="" paused="0" isResultExportedInPool="0" outputName=""/>
<Action getResultCommands="" isReproducible="1" initCommands="create sphereerode3d "Erosion 2"
"Erosion 2" setIconPosition 160 53
"Erosion 2" setVar "CustomHelp" {sphereerode3d.html}
"Erosion 2" Type setState {type Ball}
"Erosion 2" interpretation setValue 0
"Erosion 2" outputLocation setIndex 0 0
"Erosion 2" inputImage connect "intertrabecular-space"
"Erosion 2" size setMinMax 0 1 2147483648
"Erosion 2" size setValue 0 3
"Erosion 2" precision setIndex 0 0
"Erosion 2" applyTransformToResult 1
"Erosion 2" fire
"Erosion 2" setViewerMask 16383
"Erosion 2" select
"Erosion 2" setPickable 1
" modifyInput="" applyCommands="" canBePaused="1" commandsNeedReplacement="1"/>
<Parameters>
<Parameter name="Type" value="Ball"/>
<Parameter name="interpretation" value="0"/>
<Parameter name="precision" value="0"/>
<Parameter name="size" value="3"/>
</Parameters>
<Connections>
<Connection name="inputImage" uid="9e38919f-342c-497c-8736-01544e4f7210" resultSlot="-1"/>
</Connections>
<Results>
<Result resultSlot="0"/>
</Results>
</Step>
<Step uid="7377fda3-dd3a-41de-b1a7-75bcd8a243b0">
<CommonInfo room="HxRecipesWorkroom" reuseRoom="0" productName="Avizo" productVersion="2020.1"/>
<ToolInfo resourceKey="spheredilate3d" action="MODULE_TOOL" label="Dilation 5"/>
<StepInfo areVolatile="0" name="Module:Dilation 5" isResultSavedInRecordMode="0" comment="" paused="0" isResultExportedInPool="0" outputName=""/>
<Action getResultCommands="" isReproducible="1" initCommands="create spheredilate3d "Dilation 5"
"Dilation 5" setIconPosition 160 53
"Dilation 5" setVar "CustomHelp" {spheredilate3d.html}
"Dilation 5" Type setState {type Ball}
"Dilation 5" interpretation setValue 0
"Dilation 5" outputLocation setIndex 0 0
"Dilation 5" inputImage connect "intertrabecular-space.eroded"
"Dilation 5" size setMinMax 0 1 2147483648
"Dilation 5" size setValue 0 3
"Dilation 5" precision setIndex 0 0
"Dilation 5" applyTransformToResult 1
"Dilation 5" fire
"Dilation 5" setViewerMask 16383
"Dilation 5" select
"Dilation 5" setPickable 1
" modifyInput="" applyCommands="" canBePaused="1" commandsNeedReplacement="1"/>
<Parameters>
<Parameter name="Type" value="Ball"/>
<Parameter name="interpretation" value="0"/>
<Parameter name="precision" value="0"/>
<Parameter name="size" value="3"/>
</Parameters>
<Connections>
<Connection name="inputImage" uid="f3b70f8d-6ab9-41fc-8899-0b01ecba8efd" resultSlot="0"/>
</Connections>
<Results>
<Result resultSlot="0"/>
</Results>
</Step>
<Step uid="ab549199-ff20-41a1-8108-f9e1c24fb3f6">
<CommonInfo room="HxRecipesWorkroom" reuseRoom="0" productName="Avizo" productVersion="2020.1"/>
<ToolInfo resourceKey="sphereclosing3d" action="MODULE_TOOL" label="Closing"/>
<StepInfo areVolatile="0" name="Module:Closing" isResultSavedInRecordMode="0" comment="" paused="0" isResultExportedInPool="0" outputName=""/>
<Action getResultCommands="" isReproducible="1" initCommands="create sphereclosing3d "Closing"
"Closing" setIconPosition 160 53
"Closing" setVar "CustomHelp" {sphereclosing3d.html}
"Closing" Type setState {type Ball}
"Closing" interpretation setValue 0
"Closing" outputLocation setIndex 0 0
"Closing" inputImage connect "intertrabecular-space.dilated"
"Closing" size setMinMax 0 1 2147483648
"Closing" size setValue 0 25
"Closing" precision setIndex 0 0
"Closing" applyTransformToResult 1
"Closing" fire
"Closing" setViewerMask 16383
"Closing" select
"Closing" setPickable 1
" modifyInput="" applyCommands="" canBePaused="1" commandsNeedReplacement="1"/>
<Parameters>
<Parameter name="Type" value="Ball"/>
<Parameter name="interpretation" value="0"/>
<Parameter name="precision" value="0"/>
<Parameter name="size" value="25"/>
</Parameters>
<Connections>
<Connection name="inputImage" uid="7377fda3-dd3a-41de-b1a7-75bcd8a243b0" resultSlot="0"/>
</Connections>
<Results>
<Result resultSlot="0"/>
</Results>
</Step>
<Step uid="db20e2ca-02cc-4253-9e55-2edd3597acc1">
<CommonInfo room="HxRecipesWorkroom" reuseRoom="0" productName="Avizo" productVersion="2020.1"/>
<ToolInfo resourceKey="HxArithmetic" action="MODULE_TOOL" label="Arithmetic 6"/>
<StepInfo areVolatile="0" name="Module:Arithmetic 6" isResultSavedInRecordMode="0" comment="" paused="0" isResultExportedInPool="0" outputName=""/>
<Action getResultCommands="" isReproducible="1" initCommands="create HxArithmetic "Arithmetic 6"
"Arithmetic 6" setIconPosition 160 53
"Arithmetic 6" setVar "CustomHelp" {HxArithmetic}
"Arithmetic 6" inputA connect "intertrabecular-space.closing"
"Arithmetic 6" inputB connect "intertrabecular-space"
"Arithmetic 6" fire
"Arithmetic 6" resultChannels setIndex 0 0
"Arithmetic 6" nValues setMinMax 0 -16777216 16777216
"Arithmetic 6" nValues setValue 0 1
"Arithmetic 6" expr0 setState {A-B}
"Arithmetic 6" resultType setValue 0
"Arithmetic 6" resultLocation setValue 0
"Arithmetic 6" resolution setMinMax 0 1 100000
"Arithmetic 6" resolution setValue 0 64
"Arithmetic 6" resolution setMinMax 1 1 100000
"Arithmetic 6" resolution setValue 1 64
"Arithmetic 6" resolution setMinMax 2 1 100000
"Arithmetic 6" resolution setValue 2 64
"Arithmetic 6" minBox setMinMax 0 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic 6" minBox setValue 0 -1
"Arithmetic 6" minBox setMinMax 1 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic 6" minBox setValue 1 -1
"Arithmetic 6" minBox setMinMax 2 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic 6" minBox setValue 2 -1
"Arithmetic 6" maxBox setMinMax 0 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic 6" maxBox setValue 0 1
"Arithmetic 6" maxBox setMinMax 1 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic 6" maxBox setValue 1 1
"Arithmetic 6" maxBox setMinMax 2 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic 6" maxBox setValue 2 1
"Arithmetic 6" options setValue 0 0
"Arithmetic 6" options setToggleVisible 0 1
"Arithmetic 6" applyTransformToResult 1
"Arithmetic 6" fire
"Arithmetic 6" setViewerMask 16383
"Arithmetic 6" select
"Arithmetic 6" setPickable 1
" modifyInput="" applyCommands="" canBePaused="1" commandsNeedReplacement="1"/>
<Parameters>
<Parameter name="expr0" value="A-B"/>
<Parameter name="options" value="0"/>
<Parameter name="resultChannels" value="0"/>
<Parameter name="resultType" value="0"/>
</Parameters>
<Connections>
<Connection name="inputA" uid="ab549199-ff20-41a1-8108-f9e1c24fb3f6" resultSlot="0"/>
<Connection name="inputB" uid="9e38919f-342c-497c-8736-01544e4f7210" resultSlot="-1"/>
</Connections>
<Results>
<Result resultSlot="0"/>
</Results>
</Step>
<Step uid="aefc930a-6c4a-4a50-88f6-e037121676c4">
<CommonInfo room="HxWorkroomMain" reuseRoom="0" productName="Avizo" productVersion="2020.1"/>
<ToolInfo resourceKey="sphereerode3d" action="MODULE_TOOL" label="Erosion"/>
<StepInfo areVolatile="0" name="Module:Erosion" isResultSavedInRecordMode="0" comment="" paused="0" isResultExportedInPool="0" outputName=""/>
<Action getResultCommands="" isReproducible="1" initCommands="create sphereerode3d "Erosion"
"Erosion" setIconPosition 495 413
"Erosion" setVar "CustomHelp" {sphereerode3d.html}
"Erosion" Type setState {type Ball}
"Erosion" interpretation setValue 0
"Erosion" outputLocation setIndex 0 0
"Erosion" inputImage connect "Result2.am"
"Erosion" size setMinMax 0 1 2147483648
"Erosion" size setValue 0 1
"Erosion" precision setIndex 0 0
"Erosion" applyTransformToResult 1
"Erosion" fire
"Erosion" setViewerMask 16383
"Erosion" select
"Erosion" setPickable 1
" modifyInput="" applyCommands="" canBePaused="1" commandsNeedReplacement="1"/>
<Parameters>
<Parameter name="Type" value="Ball"/>
<Parameter name="interpretation" value="0"/>
<Parameter name="precision" value="0"/>
<Parameter name="size" value="1"/>
</Parameters>
<Connections>
<Connection name="inputImage" uid="db20e2ca-02cc-4253-9e55-2edd3597acc1" resultSlot="0"/>
</Connections>
<Results>
<Result resultSlot="0"/>
</Results>
</Step>
<Step uid="b4cd8365-2c24-40be-8c0a-a880b02eb9b6">
<CommonInfo room="HxWorkroomMain" reuseRoom="0" productName="Avizo" productVersion="2020.1"/>
<ToolInfo resourceKey="spheredilate3d" action="MODULE_TOOL" label="Dilation"/>
<StepInfo areVolatile="0" name="Module:Dilation" isResultSavedInRecordMode="1" comment="" paused="0" isResultExportedInPool="1" outputName=""/>
<Action getResultCommands="" isReproducible="1" initCommands="create spheredilate3d "Dilation"
"Dilation" setIconPosition 344 589
"Dilation" setVar "CustomHelp" {spheredilate3d.html}
"Dilation" Type setState {type Ball}
"Dilation" interpretation setValue 0
"Dilation" outputLocation setIndex 0 0
"Dilation" inputImage connect "Result2.eroded"
"Dilation" size setMinMax 0 1 2147483648
"Dilation" size setValue 0 1
"Dilation" precision setIndex 0 0
"Dilation" applyTransformToResult 1
"Dilation" fire
"Dilation" setViewerMask 16383
"Dilation" select
"Dilation" setPickable 1
" modifyInput="" applyCommands="" canBePaused="1" commandsNeedReplacement="1"/>
<Parameters>
<Parameter name="Type" value="Ball"/>
<Parameter name="interpretation" value="0"/>
<Parameter name="precision" value="0"/>
<Parameter name="size" value="1"/>
</Parameters>
<Connections>
<Connection name="inputImage" uid="aefc930a-6c4a-4a50-88f6-e037121676c4" resultSlot="0"/>
</Connections>
<Results>
<Result resultSlot="0"/>
</Results>
</Step>
</StepGraph>
</Macro>