|
|
(8 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | == Correcting image spacing ==
| + | The Correct Image Spacing command on the Utilities menu corrects images in which slice thickness and slice spacing are unequal, which may distort images. To understand how this problem can occur, the following section presents some background information.<br /> |
| | | |
− | <div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> The Correct Image Spacing command on the Utilities menu corrects images in which slice thickness and slice spacing are unequal, which may distort images. To understand how this problem can occur, the following section presents some background information.<br /></font></div> | + | <div id="UnderstandingContiguousPlanes"><div> |
− | | + | == Understanding contiguous planes' effect on image scanning == |
− | ==== Understanding contiguous planes' effect on image scanning ====
| + | Image scanning is usually done in contiguous planes. For example, if the first slice is centered at position 5.0 and the slices are 2 mm thick, the second slice is centered at 7.0. In such a case, the slice thickness, 2, and the slice spacing, 2, are equal. There are, however, two scenarios when the slice spacing does not equal the slice thickness:<br /> |
− | | + | * '''Slice spacing is less than the slice thickness''' -In this case, although the images are, for example, 2 mm thick, they are spaced only 1 mm apart (Figure 13). This scenario arises when the ZIP x 2 feature is used during MRI scanning, which enables the acquisition of slices only 1 mm apart but uses signals from a 2-mm slab to increase the signal-to-noise ratio.<br /> |
− | <div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> Image scanning is usually done in contiguous planes. For example, if the first slice is centered at position 5.0 and the slices are 2 mm thick, the second slice is centered at 7.0. In such a case, the slice thickness, 2, and the slice spacing, 2, are equal. There are, however, two scenarios when the slice spacing does not equal the slice thickness:<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Slice spacing is less than the slice thickness</font>'''</span>-In this case, although the images are, for example, 2 mm thick, they are spaced only 1 mm apart (Figure 13). This scenario arises when the ZIP x 2 feature is used during MRI scanning, which enables the acquisition of slices only 1 mm apart but uses signals from a 2-mm slab to increase the signal-to-noise ratio.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Slice spacing is greater than the slice thickness</font>'''</span>-This scenario (Figure 13), which is more common than the first, occurs when the operator chooses to acquire images at intervals greater than the slice thickness (i.e., there is a gap between successive image slices) in order to cover a deeper field of view.<br /></font></div>
| + | * '''Slice spacing is greater than the slice thickness''' -This scenario (Figure 13), which is more common than the first, occurs when the operator chooses to acquire images at intervals greater than the slice thickness (i.e., there is a gap between successive image slices) in order to cover a deeper field of view.<br /> |
| | | |
| MIPAV assumes that successive images are contiguous. So, for example, if users chose the triplanar view to display an image that had slice spacing larger than slice thickness, the image would appear shortened in the out-of-plane direction. The Correct Image Spacing utility corrects both situations in which the slice thickness and spacing are not equal. Once the correction is applied, the slice thickness and slice spacing for the given image dataset are the same. | | MIPAV assumes that successive images are contiguous. So, for example, if users chose the triplanar view to display an image that had slice spacing larger than slice thickness, the image would appear shortened in the out-of-plane direction. The Correct Image Spacing utility corrects both situations in which the slice thickness and spacing are not equal. Once the correction is applied, the slice thickness and slice spacing for the given image dataset are the same. |
| | | |
− | ==== Understanding how MIPAV solves the image spacing problem ==== | + | <div id="UnderstandingImageSpacing"><div> |
− | | + | == Understanding how MIPAV solves the image spacing problem == |
− | <div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> When the spacing between slices is <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">less</font>''</span> than the slice thickness, the Correct Image Spacing utility assigns the slice spacing to the slice thickness (refer to Figure 13 for triplanar views before and after correction). When the slice spacing is <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">larger</font>''</span> than the slice thickness (refer to Figure 13 for triplanar views before and after correction), the utility inserts blank slices between the existing images. <br /></font></div>
| + | When the spacing between slices is ''less'' than the slice thickness, the Correct Image Spacing utility assigns the slice spacing to the slice thickness (refer to Figure 13 for triplanar views before and after correction). When the slice spacing is ''larger'' than the slice thickness (refer to Figure 13 for triplanar views before and after correction), the utility inserts blank slices between the existing images. <br /> |
| | | |
| Since all slices within an image volume must have the same slice thickness, in many cases more than one slice must be inserted and the original images must be repeated so that a new value can be found for the slice thickness that fits evenly into the original slice spacing. Since there are an infinite number of combinations of slice spacing and thickness, not all could be handled. Table 2 displays the most common combinations and the algorithms MIPAV uses for handling them. | | Since all slices within an image volume must have the same slice thickness, in many cases more than one slice must be inserted and the original images must be repeated so that a new value can be found for the slice thickness that fits evenly into the original slice spacing. Since there are an infinite number of combinations of slice spacing and thickness, not all could be handled. Table 2 displays the most common combinations and the algorithms MIPAV uses for handling them. |
| | | |
− | <div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">T</font>''</span> = Original slice thickness<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">S</font>''</span> = Original space between slices<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">G</font>''</span> = Gap = <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">S</font>''</span> - <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">T</font>''</span><br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">M</font>''</span> = Number of original images<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">O</font>''</span> = Original image set origin<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">N</font>''</span> = New slice thickness<br /></font></div>
| + | ''T'' = Original slice thickness<br /> |
| + | ''S'' = Original space between slices<br / |
| + | ''G'' = Gap = ''S'' - ''T''<br /> |
| + | ''M'' = Number of original images<br /> |
| + | ''O'' = Original image set origin<br /> |
| + | ''N'' = New slice thickness<br /> |
| | | |
| To use the Correct Image Spacing utility, DICOM images must first be saved in XML format. The following DICOM tags (Figure 13) are used: | | To use the Correct Image Spacing utility, DICOM images must first be saved in XML format. The following DICOM tags (Figure 13) are used: |
− | | + | (0018, 0050) Slice Thickness<br /> |
− | <div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000"> (0018, 0050) Slice Thickness<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000"> (0018, 0088) Spacing Between Slices<br /></font></div>
| + | (0018, 0088) Spacing Between Slices<br /> |
| | | |
| You can also find this information listed in the Essential Image Information section of the image header (Figure 13) as Pixel resolution 2 (i.e., slice thickness) and Slice Spacing. | | You can also find this information listed in the Essential Image Information section of the image header (Figure 13) as Pixel resolution 2 (i.e., slice thickness) and Slice Spacing. |
| | | |
− | <div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To view image attributes<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 1 Open an image.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 2 Select Image > Attributes > View Header. The Header dialog box (Figure 13) opens.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 3 Find the tags under Essential Image Information to find the values for Pixel resolution 2 and Slice Spacing, or find the values of the DICOM tags Slice Thickness and Spacing Between Slices.<br /> | + | <div id="ViewImageAttributes"><div> |
| + | <div id="ImageAttributes"><div> |
| + | === To view and edit image attributes === |
| + | 1 Open an image.<br /> |
| + | 2 Select one of the tabs - Image Attributes > General, or Image Attributes >Orientation/Origin, or Image Attributes > Transformation matrix.<br /> |
| + | 3 In the Transformation matrix tab find values for Pixel resolution 2 and Slice Spacing, or find the values of the DICOM tags Slice Thickness and Spacing Between Slices.<br /> |
| | | |
− | {| border="1" cellpadding="5"
| + | [[File:ImageAttributesDialogBox.jpg |frame|center|Image Attributes dialog box]] |
− | |+ <div class="TableTitle">Table 2. Solutions for correct image spacing </div>
| + | |
− | |-
| + | |
− | |
| + | |
− | <div class="CellHeading">Case</div>
| + | |
− | |
| + | |
− | <div class="CellHeading">New slice thickness</div> <div class="CellHeading">(N)</div>
| + | |
− | |
| + | |
− | <div class="CellHeading">Number of images in new set for each original image</div>
| + | |
− | |
| + | |
− | <div class="CellHeading">Number of blanks inserted for each original image</div>
| + | |
− | |
| + | |
− | <div class="CellHeading">Total images in set now</div>
| + | |
− | |
| + | |
− | <div class="CellHeading">New image set origin [[Image:MIPAV_Utilities24.gif]]</div>
| + | |
− | |- | + | |
− | | | + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities26.gif]]</div>
| + | |
− | | | + | |
− | <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">[[Image:MIPAV_Utilities28.gif]] </font>''</span></div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities31.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities34.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">[[Image:MIPAV_Utilities37.gif]] </font>''</span></div>
| + | |
− | |
| + | |
− | <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">[[Image:MIPAV_Utilities40.gif]] </font>''</span></div>
| + | |
− | |-
| + | |
− | |
| + | |
− | <div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:MIPAV_Utilities43.gif]]<br /></font></div>
| + | |
− | |
| + | |
− | <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">[[Image:MIPAV_Utilities46.gif]] </font>''</span></div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities49.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities52.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">[[Image:MIPAV_Utilities55.gif]] </font>''</span></div>
| + | |
− | |
| + | |
− | <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">[[Image:MIPAV_Utilities58.gif]] </font>''</span></div>
| + | |
− | |-
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities61.gif]] and [[Image:MIPAV_Utilities64.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">[[Image:MIPAV_Utilities67.gif]] </font>''</span></div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities70.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities73.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities76.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities79.gif]]</div>
| + | |
− | |-
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities97.gif]] and [[Image:MIPAV_Utilities100.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities106.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities118.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities126.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities129.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities132.gif]]</div>
| + | |
− | |-
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities138.gif]] and [[Image:MIPAV_Utilities141.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities144.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">2</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities147.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities150.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities153.gif]]</div>
| + | |
− | |-
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities156.gif]] and [[Image:MIPAV_Utilities159.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities162.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities165.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities168.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities171.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities174.gif]]</div>
| + | |
− | |-
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities177.gif]] and [[Image:MIPAV_Utilities180.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities183.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities186.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilitiesa.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities4.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities7.gif]]</div>
| + | |
− | |-
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities10.gif]] and [[Image:MIPAV_Utilities13.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities16.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities19.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities22.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities25.gif]]</div>
| + | |
− | |
| + | |
− | <div class="CellBody">[[Image:MIPAV_Utilities27.gif]]</div>
| + | |
− | |-
| + | |
− | |
| + | |
− | <div class="CellBody">else</div>
| + | |
− | | rowspan="1" colspan="3" |
| + | |
− | <div class="CellBody">don't handle, give message</div>
| + | |
− | |
| + | |
− | <div class="CellBody"> </div>
| + | |
− | |
| + | |
− | <div class="CellBody"> </div>
| + | |
− | |-
| + | |
− | | rowspan="1" colspan="2" |
| + | |
− | <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">Legend: </font>''</span></div> <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">T</font>''</span> = Original slice thickness</div> <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">S</font>''</span> = Original space between slices</div>
| + | |
− | | rowspan="1" colspan="2" |
| + | |
− | <div class="CellBody"> </div> <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">G</font>''</span> = Gap = <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">S</font>''</span> - <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">T</font>''</span></div> <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">M</font>''</span> = Number of original images</div>
| + | |
− | | rowspan="1" colspan="2" |
| + | |
− | <div class="CellBody"> </div> <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">O</font>''</span> = Original image set origin</div> <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">N = </font>''</span>New slice thickness</div>
| + | |
− | |}
| + | |
| | | |
| | | |
| | | |
− | {| border="1" cellpadding="5"
| + | <div id="SaveDicomXml"><div> |
− | |+ <div style="font-style: normal; margin-bottom: 3pt; margin-left: 0pt; margin-right: 0pt; margin-top: 9pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> Figure 13. Views of the Header dialog box showing the tags listed under (A) Essential Image Information and (B) the DICOM tags in a later section of the header <br /></font>'''</div>
| + | |
− | |-
| + | |
− | |
| + | |
− | [[Image:dialogboxViewHeaderDICOMtags.jpg]]
| + | |
| | | |
− | |}
| + | === To save DICOM images as XML files === |
| + | |
| + | The Correct Image Spacing utility works only on XML files.<br /> |
| + | 1 Open the DICOM image.<br /> |
| + | 2 Select File > Save Image as in the MIPAV window. The Open dialog box appears.<br /> |
| + | 3 Type the name for the file including the XML extension in File Name.<br /> |
| + | 4 The Select DICOM tags to convert to XML dialog box opens.<br /> |
| + | 5 In the left dialog box window, select tags which you would like to convert to XML. Use the CTRL right mouse button combination of keys to select multiple tags. Then, use the arrows to move selected tags to the right window. See Figure 14 for more information.<br /> |
| + | 6 Press Save to save the file.<br /> |
| | | |
− | <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To save DICOM images as XML files<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> The Correct Image Spacing utility works only on XML files.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 1 Open the DICOM image.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 2 Select File > Save Image as in the MIPAV window. The Open dialog box appears.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 3 Type the name for the file including the XML extension in File Name.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 4 The Select DICOM tags to convert to XML dialog box opens.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 5 In the left dialog box window, select tags which you would like to convert to XML. Use the CTRL right mouse button combination of keys to select multiple tags. Then, use the arrows to move selected tags to the right window. See Figure 14 for more information.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 6 Press Save to save the file.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000">
| |
| | | |
| {| border="1" cellpadding="5" | | {| border="1" cellpadding="5" |
− | |+ <div style="font-style: normal; margin-bottom: 3pt; margin-left: 0pt; margin-right: 0pt; margin-top: 9pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> Figure 14. Saving a DICOM image as an XML file<br /></font>'''</div> | + | |+ '''Figure 14. Saving a DICOM image as an XML file''' |
| |- | | |- |
| | | | | |
Line 181: |
Line 59: |
| |} | | |} |
| | | |
− | <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To save other images as XML files<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> The Correct Image Spacing utility works only on XML files.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 1 Open the image that has spacing problems if you have not already done so.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 2 Select File > Save Image as in the MIPAV window. The Open dialog box appears.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 3 Type the name for the file including the XML extension in File Name.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 4 Select Medical, which includes XML files, in Files of Type.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 5 Click OK. The Save Range of Slices dialog box appears. Complete the dialog box and press OK. See Figure 15.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 6 The program saves the image as an XML file.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000">
| + | <div id="SaveOtherXml"><div> |
| + | === To save other images as XML files === |
| + | The Correct Image Spacing utility works only on XML files.<br /> |
| + | 1 Open the image that has spacing problems if you have not already done so.<br /> |
| + | 2 Select File > Save Image as in the MIPAV window. The Open dialog box appears.<br /> |
| + | 3 Type the name for the file including the XML extension in File Name.<br /> |
| + | 4 Select Medical, which includes XML files, in Files of Type.<br /> |
| + | 5 Click OK. The Save Range of Slices dialog box appears. Complete the dialog box and press OK. See Figure 15.<br /> |
| + | 6 The program saves the image as an XML file.<br /> |
| + | |
| | | |
| {| border="1" cellpadding="5" | | {| border="1" cellpadding="5" |
− | |+<div style="font-style: normal; margin-bottom: 3pt; margin-left: 0pt; margin-right: 0pt; margin-top: 9pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> Figure 15. The Save Range of Slices dialog box options <br /></font>'''</div> | + | |+ '''Figure 15. The Save Range of Slices dialog box options ''' |
| |- | | |- |
| | rowspan="1" colspan="3" | | | | rowspan="1" colspan="3" | |
Line 251: |
Line 138: |
| |} | | |} |
| | | |
− | <br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To correct image spacing<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 1 Open the image that contains spacing problems. <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 7pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Tip:</font>'''</span><br clear="all" />
| + | <div id="CorrectImageSpacing"><div> |
| + | === To correct image spacing === |
| | | |
− | {|
| + | 1 Open the image that contains spacing problems. <br /> |
− | |
| + | <br clear="all" />To determine whether images contain spacing problems, remember to view them using the triplanar view or to view the header file.<br /> |
− | [[Image:MIPAV_Utilities23.gif]]
| + | 2 Save the image as an XML file.<br /> |
− | |}
| + | 3 Select Utility > Correct Image Spacing. <br /> |
| + | *If the image file does have spacing problems, then the program runs the utility. <br /> |
| + | *If the image spacing is correct, the program displays a message indicating that the spacing is correct.<br /> |
| | | |
− | <br clear="all" />To determine whether images contain spacing problems, remember to view them using the triplanar view or to view the header file.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 2 Save the image as an XML file.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 3 Select Utility > Correct Image Spacing. <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> If the image file does have spacing problems, then the program runs the utility. <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> If the image spacing is correct, the program displays a message indicating that the spacing is correct.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 600pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div>
| + | [[Cropping images]] |
| | | |
− | [[Cropping images]] | + | [[Category:Help]] |
The Correct Image Spacing command on the Utilities menu corrects images in which slice thickness and slice spacing are unequal, which may distort images. To understand how this problem can occur, the following section presents some background information.