-
Notifications
You must be signed in to change notification settings - Fork 7
/
MeshToLabelMap.xml
96 lines (96 loc) · 3.78 KB
/
MeshToLabelMap.xml
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
<?xml version="1.0" encoding="utf-8"?>
<executable>
<title>Mesh To Label Map</title>
<description>This module converts a 3D model into a label map</description>
<category>Surface Models</category>
<contributor>Francois Budin, Ipek Oguz</contributor>
<version>1.0.0</version>
<license>Apache License, Version 2.0</license>
<acknowledgements>
This work was funded by National Institute of Dental and Craniofacial Research (NIDCR) and the National Institute of Biomedical Imaging and Bioengineering (NIBIB) through the Grant R01 DE024450
</acknowledgements>
<parameters>
<label>I/O parameters</label>
<geometry fileExtensions=".vtk">
<name>mesh</name>
<label>Input Mesh</label>
<channel>input</channel>
<longflag>input_mesh</longflag>
<flag>-m</flag>
<description><![CDATA[Input mesh to convert into a label map]]></description>
</geometry>
<image type="label">
<name>labelMap</name>
<longflag>output_labelmap</longflag>
<flag>l</flag>
<label>Output Label Map</label>
<channel>output</channel>
<description><![CDATA[Output label map]]></description>
</image>
</parameters>
<parameters>
<label>Output label map information</label>
<image>
<name>reference</name>
<longflag>reference_volume</longflag>
<flag>R</flag>
<label>Reference Image</label>
<channel>input</channel>
<description><![CDATA[Reference image: used to set the output image size, orientation, spacing and dimensions]]></description>
</image>
<integer>
<name>value</name>
<longflag>pixel_value</longflag>
<label>Pixel Value</label>
<default>1</default>
<description><![CDATA[Label map pixel value (needs to be an integer between 1 and 255 included)]]></description>
<constraints>
<minimum>1</minimum>
<maximum>255</maximum>
</constraints>
</integer>
<double-vector>
<name>spacingVec</name>
<longflag>spacing</longflag>
<flag>s</flag>
<label>Spacing</label>
<default>-1,-1,-1</default>
<description><![CDATA[Output label map volume spacing (in mm)]]></description>
</double-vector>
<double-vector>
<name>boundaryExtension</name>
<longflag>boundary_extension</longflag>
<flag>e</flag>
<label>Boundary Extension</label>
<default>1,1,1</default>
<description><![CDATA[Extension (in number of voxel) of the boundary box computed from the input mesh]]></description>
</double-vector>
</parameters>
<parameters advanced="true">
<label>Post-processing parameters</label>
<boolean>
<name>smoothing</name>
<longflag>median</longflag>
<label>Apply smoothing</label>
<default>0</default>
<description><![CDATA[Select if a median image filter smoothing is applied to the output label map]]></description>
</boolean>
<double-vector>
<name>smoothingRadius</name>
<longflag>median_radius</longflag>
<label>Smoothing kernel radius</label>
<default>-1,-1,-1</default>
<description><![CDATA[Radius (in number of voxel) of the kernel of the median smoothing]]></description>
</double-vector>
</parameters>
<parameters advanced="true">
<label>Advanced parameters</label>
<boolean>
<name>verbose</name>
<longflag>verbose</longflag>
<label>Verbose</label>
<default>0</default>
<description><![CDATA[Print information while tool in running]]></description>
</boolean>
</parameters>
</executable>