ImageReadDicomWrite.xml 6.21 KB
Newer Older
lorensen's avatar
lorensen committed
1
2
<?xml version="1.0" encoding="utf-8"?>
<executable>
millerjv's avatar
millerjv committed
3
  <category>Converters</category>
lorensen's avatar
lorensen committed
4
  <title>Create a DICOM Series</title>
taox's avatar
taox committed
5
  <description>Create a DICOM Series from a Slicer3 volume. User can specify values for selected DICOM tags in the UI. Given the number of tags DICOM series have, it is impossible to expose all tags in UI. So only important tags can be set by the user.</description>
6
  <version>0.1.0.$Revision$(alpha)</version>
taox's avatar
taox committed
7
  <documentation-url>http://wiki.slicer.org/slicerWiki/index.php/Modules:CreateaDicomSeries-Documentation-3.6</documentation-url>
lorensen's avatar
lorensen committed
8
9
  <license></license>
  <contributor>Bill Lorensen</contributor>
lorensen's avatar
lorensen committed
10
  <acknowledgements>This command module was derived from Insight/Examples (copyright) Insight Software Consortium</acknowledgements>
lorensen's avatar
lorensen committed
11

lorensen's avatar
lorensen committed
12
  <parameters advanced="true">
lorensen's avatar
lorensen committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
    <label>Patient Parameters</label>
    <description>Parameters that apply to a patient</description>

    <string>
      <name>patientName</name>
      <longflag>--patientName</longflag>
      <description>The name of the patient [0010-0010]</description>
      <label>Patient Name</label>
      <default>Anonymous</default>
    </string>

    <string>
      <name>patientID</name>
      <longflag>--patientID</longflag>
      <description>The patient ID [0010-0020]</description>
      <label>Patient ID</label>
      <default>123456</default>
    </string>

    <string>
      <name>patientComments</name>
      <longflag>--patientComments</longflag>
      <description>Patient comments [0010-4000]</description>
      <label>Patient Comments</label>
37
      <default>None</default>
lorensen's avatar
lorensen committed
38
39
40
41
    </string>

 </parameters>

lorensen's avatar
lorensen committed
42
  <parameters advanced="true">
lorensen's avatar
lorensen committed
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
    <label>Study Parameters</label>
    <description>Parameters that apply to a study</description>

    <string>
      <name>studyID</name>
      <longflag>--studyID</longflag>
      <description>The study ID [0020-0010]</description>
      <label>Study ID</label>
      <default>123456</default>
    </string>

    <string>
      <name>studyDate</name>
      <longflag>--studyDate</longflag>
      <description>The date of the study [0008-0020]</description>
      <label>Study Date</label>
      <default>20060101</default>
    </string>

    <string>
      <name>studyComments</name>
      <longflag>--studyComments</longflag>
      <description>Study comments[0032-4000]</description>
      <label>Study Comments</label>
67
      <default>None</default>
lorensen's avatar
lorensen committed
68
69
70
71
72
73
    </string>

    <string>
      <name>studyDescription</name>
      <longflag>--studyDescription</longflag>
      <description>Study description[0008-1030]</description>
taox's avatar
taox committed
74
      <label>Study Descriptions</label>
75
      <default>None</default>
lorensen's avatar
lorensen committed
76
77
78
79
80
81
82
83
84
85
86
87
88
89
    </string>

    <string>
      <name>modality</name>
      <longflag>--modality</longflag>
      <description>Modality [0008-0060]</description>
      <label>Modality</label>
      <default>CT</default>
    </string>

    <string>
      <name>manufacturer</name>
      <longflag>--manufacturer</longflag>
      <description>Manufacturer [0008-0070]</description>
taox's avatar
taox committed
90
      <label>Manufacturer</label>
lorensen's avatar
lorensen committed
91
92
93
94
95
96
97
98
      <default>GE Medical Systems</default>
    </string>

    <string>
      <name>model</name>
      <longflag>--model</longflag>
      <description>model [0008-1090]</description>
      <label>Model</label>
99
      <default>None</default>
lorensen's avatar
lorensen committed
100
101
102
103
    </string>

 </parameters>

lorensen's avatar
lorensen committed
104
  <parameters advanced="true">
lorensen's avatar
lorensen committed
105
106
107
108
109
110
111
112
113
114
115
116
117
118
    <label>Series Parameters</label>
    <description>Parameters that apply to a series</description>

    <string>
      <name>seriesNumber</name>
      <longflag>--seriesNumber</longflag>
      <description>The series number [0020-0011]</description>
      <label>Series Number</label>
      <default>123456</default>
    </string>

    <string>
      <name>seriesDescription</name>
      <longflag>--seriesDescription</longflag>
119
      <description>Series description [0008-103E]</description>
lorensen's avatar
lorensen committed
120
      <label>Series Description</label>
121
      <default>None</default>
lorensen's avatar
lorensen committed
122
123
124
125
    </string>

 </parameters>

126
127
128
129
130
 <parameters advanced="true">
    <label>Image Parameters</label>
    <description>Parameters that apply to the images and data in each image</description>

    <double>
taox's avatar
taox committed
131
132
133
134
       <label>Rescale intercept</label>
       <name>rescaleIntercept</name>
       <longflag>--rescaleIntercept</longflag>
       <description>Rescale interscept [0028-1052]. Converts pixel values on disk to pixel values in memory. (Pixel value in memory) = (Pixel value on disk) * rescaleSlope + rescaleIntercept.  Default is 0.0. Data values are converted on write (the data is scaled and shifted so that the slope and interscept will bring it back to the current intensity range).</description>
135
136
137
138
       <default>0.0</default>
    </double>

    <double>
millerjv's avatar
millerjv committed
139
       <label>Rescale slope</label>
140
141
       <name>rescaleSlope</name>
       <longflag>--rescaleSlope</longflag>
millerjv's avatar
millerjv committed
142
       <description>Rescale slope [0028-1053]. Converts pixel values on disk to pixel values in memory. (Pixel value in memory) = (Pixel value on disk) * rescaleSlope + rescaleInterscept.  Default is 1.0. Data values are converted on write (the data is scaled and shifted so that the slope and interscept will bring it back to the current intensity range).</description>
143
144
145
146
       <default>1.0</default>
    </double>
 </parameters>

lorensen's avatar
lorensen committed
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186

  <parameters>
    <label>Input</label>
    <description>Input parameters</description>
    <image>
      <name>inputVolume</name>
      <label>Input Volume</label>
      <channel>input</channel>
      <index>0</index>
      <description>Input volume to be resampled</description>
    </image>
  </parameters>

  <parameters>
    <label>Output</label>
    <description>Output parameters</description>
    <directory>
      <name>dicomDirectory</name>
      <longflag>--dicomDirectory</longflag>
      <description>The directory to contain the DICOM series.</description>
      <label>DICOM Directory</label>
      <default>./</default>
    </directory>
    <string>
      <name>dicomPrefix</name>
      <longflag>--dicomPrefix</longflag>
      <description>The prefix of the DICOM filename.</description>
      <label>DICOM filename prefix</label>
      <default>IMG</default>
    </string>
    <boolean>
      <name>reverseImages</name>
      <longflag>--reverseImages</longflag>
      <description>Reverse the slices.</description>
      <label>Reverse Slices</label>
      <default>false</default>
    </boolean>
  </parameters>

</executable>