-
Notifications
You must be signed in to change notification settings - Fork 514
/
LabelMapSmoothing.xml
69 lines (69 loc) · 3.15 KB
/
LabelMapSmoothing.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
<?xml version="1.0" encoding="UTF-8"?>
<executable>
<category>Surface Models</category>
<title>Label Map Smoothing</title>
<description><![CDATA[This filter smoothes a binary label map. With a label map as input, this filter runs an anti-alising algorithm followed by a Gaussian smoothing algorithm. The output is a smoothed label map.]]></description>
<version>1.0</version>
<documentation-url>https://slicer.readthedocs.io/en/latest/user_guide/modules/labelmapsmoothing.html</documentation-url>
<license/>
<contributor>Dirk Padfield (GE), Josh Cates (Utah), Ross Whitaker (Utah)</contributor>
<acknowledgements><![CDATA[This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. This filter is based on work developed at the University of Utah, and implemented at GE Research.]]></acknowledgements>
<parameters advanced="true">
<label>Label Selection Parameters</label>
<description><![CDATA[Parameters for selecting the label to smooth]]></description>
<integer>
<name>labelToSmooth</name>
<longflag>--labelToSmooth</longflag>
<description><![CDATA[The label to smooth. All others will be ignored. If no label is selected by the user, the maximum label in the image is chosen by default.]]></description>
<label>Label to smooth</label>
<default>-1</default>
</integer>
</parameters>
<parameters advanced="true">
<label>AntiAliasing Parameters</label>
<description><![CDATA[Parameters for the AntiAliasing algorithm]]></description>
<integer>
<name>numberOfIterations</name>
<longflag>--numberOfIterations</longflag>
<description><![CDATA[The number of iterations of the level set AntiAliasing algorithm]]></description>
<label>Number of Iterations</label>
<default>50</default>
</integer>
<float>
<name>maxRMSError</name>
<longflag>--maxRMSError</longflag>
<description><![CDATA[The maximum RMS error.]]></description>
<label>Maximum RMS Error</label>
<default>0.01</default>
</float>
</parameters>
<parameters advanced="true">
<label>Gaussian Smoothing Parameters</label>
<description><![CDATA[Parameters for Gaussian Smoothing]]></description>
<float>
<name>gaussianSigma</name>
<longflag>--gaussianSigma</longflag>
<description><![CDATA[The standard deviation of the Gaussian kernel]]></description>
<label>Sigma</label>
<default>0.2</default>
</float>
</parameters>
<parameters>
<label>IO</label>
<description><![CDATA[Input/output parameters]]></description>
<image type="label">
<name>inputVolume</name>
<label>Input Volume</label>
<channel>input</channel>
<index>0</index>
<description><![CDATA[Input label map to smooth]]></description>
</image>
<image type="label" reference="inputVolume">
<name>outputVolume</name>
<label>Output Volume</label>
<channel>output</channel>
<index>1</index>
<description><![CDATA[Smoothed label map]]></description>
</image>
</parameters>
</executable>