You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/seg/itkimage2segimage.xml
+21-9Lines changed: 21 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -74,21 +74,22 @@
74
74
</integer>
75
75
76
76
<boolean>
77
-
<name>useLabelIDAsSegmentNumber</name>
78
-
<label>Use label ID as Segment Number</label>
79
-
<channel>output</channel>
80
-
<longflag>useLabelIDAsSegmentNumber</longflag>
77
+
<name>noDicomValueChecks</name>
78
+
<label>No DICOM Value Check</label>
79
+
<channel>input</channel>
80
+
<longflag>noDicomValueChecks</longflag>
81
81
<default>false</default>
82
-
<description>Use label IDs from ITK images as Segment Numbers in DICOM. Only works if label IDs are consecutively numbered starting from 1, otherwise conversion will fail.</description>
82
+
<description>Bypass DICOM value checks when writing segmentation file. This can be useful for
83
+
debugging or when taking over attributes from non-compliant DICOM image files.</description>
83
84
</boolean>
84
85
85
86
<boolean>
86
-
<name>noDicomValueChecks</name>
87
-
<label>No DICOM Value Check</label>
87
+
<name>useLabelIDAsSegmentNumber</name>
88
+
<label>Use label ID as Segment Number</label>
88
89
<channel>output</channel>
89
-
<longflag>noDicomValueChecks</longflag>
90
+
<longflag>useLabelIDAsSegmentNumber</longflag>
90
91
<default>false</default>
91
-
<description>Bypass DICOM value checks when writing segmentation file. This can be useful for debugging or when taking over attributes from non-compliant DICOM image files.</description>
92
+
<description>Use label IDs from ITK images as Segment Numbers in DICOM. Only works if label IDs are consecutively numbered starting from 1, otherwise conversion will fail.</description>
92
93
</boolean>
93
94
94
95
<boolean>
@@ -100,6 +101,17 @@
100
101
<description>Display more verbose output, useful for troubleshooting.</description>
101
102
</boolean>
102
103
104
+
<string-enumeration>
105
+
<name>segmentationType</name>
106
+
<label>DICOM Segmentation Type</label>
107
+
<channel>output</channel>
108
+
<longflag>segmentationType</longflag>
109
+
<default>binary</default>
110
+
<element>binary</element>
111
+
<element>labelmap</element>
112
+
<description>Type of DICOM SEG object to create. Use binary for classic 1-bit segments (default), or labelmap for direct labelmap SEG output.</description>
0 commit comments