Difference between revisions of "Correcting image spacing"
(→Understanding how MIPAV solves the image spacing problem) |
(→Understanding how MIPAV solves the image spacing problem) |
||
Line 23: | Line 23: | ||
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 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 /> |
{| border="1" cellpadding="5" | {| border="1" cellpadding="5" | ||
Line 157: | Line 157: | ||
<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> | <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" | | | rowspan="1" colspan="2" | | ||
− | <div class="CellBody"> | + | <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" | | | 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> | <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" | {| 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 | + | |+ <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> |
|- | |- | ||
| | | |
Revision as of 17:34, 15 February 2012
Correcting image spacing
Understanding contiguous planes' effect on image scanning
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
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.
To use the Correct Image Spacing utility, DICOM images must first be saved in XML format. The following DICOM tags (Figure 13) are used:
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.
Case
|
New slice thickness (N)
|
Number of images in new set for each original image
|
Number of blanks inserted for each original image
|
Total images in set now
|
New image set origin File:MIPAV Utilities24.gif
|
2
|
|||||
else
|
don't handle, give message
|
|
| ||
Legend: T = Original slice thickness S = Original space between slices
|
G = Gap = S - T M = Number of original images
|
O = Original image set origin N = New slice thickness
|
General Options
| ||
Save image slices to separate files
|
If checked, allows to save the image slices as separate files. The slices will be saved as files with the file name contains the name of the original image followed by the slice number specified by a user, e.g. patientX001. Here patientX is the name of the original image and 001 is the number of the slice. Refer to [MIPAV_Utilities.html#1169544 "Understanding contiguous planes' effect on image scanning" on page 423].
|
|
First File Starting Number File Name Number of Digits
|
Set the start counter number and how many digits will appear in the counter number.
| |
Choose Range of Slices to Save
| ||
First Slice
|
Specify the number of the first slice.
| |
Last Slice
|
Specify the number of the last slice.
| |
Choose Range of Time Periods to Save
| ||
First Time period
|
Specify the first time period.
| |
Last Time Period
|
Specify the last time period.
| |
TIFF options
| ||
Save with packed bit compression
|
Packed bit compression uses a single control byte to indicate how the next byte or series of bytes will be used. The high bit in the control byte indicates if the following byte or bytes should be a used as a series or should be used as individual bytes. The remaining 7 bits indicate the number of bytes that are indicated in the control byte.
| |
OK
|
Applies the changes you made in this dialog box, saves the image as a range of slices, and closes the dialog box.
| |
Cancel
|
Disregards any changes you made in this dialog box, closes the dialog box, and does not save the image as a range of slices.
| |
Help
|
Displays online help for this dialog box.
|
To determine whether images contain spacing problems, remember to view them using the triplanar view or to view the header file.