Difference between revisions of "Correcting image spacing"
(→Understanding how MIPAV solves the image spacing problem) |
|||
Line 258: | Line 258: | ||
|} | |} | ||
− | <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 / | + | <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 /> |
[[Cropping images]] | [[Cropping images]] |
Revision as of 17:35, 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.