|
|
Line 93: |
Line 93: |
| '''Figure 40. Saving and printing intensity graphs'''<br /> | | '''Figure 40. Saving and printing intensity graphs'''<br /> |
| [[Image:SavingPrintingGrapghs.jpg]] | | [[Image:SavingPrintingGrapghs.jpg]] |
− |
| |
− | == Saving and printing images ==
| |
− |
| |
− | This section explains how to save images to the same format (as when opened) or in a different format. It also shows how to print images. In addition, it explains how to save an image as a TIFF file.
| |
− |
| |
− | === Saving images to the same format ===
| |
− | '''To save an image file in the same format (as when opened)'''<br />
| |
− | 1 Do one of the following in the MIPAV window:<br />
| |
− | <div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000"> Click the Save Image icon or use the Ctrl S combination of keys.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000"> Select File > Save 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: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> The Save dialog box appears (Figure 41).<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 In the dialog box, type the name of the file in File name and click Save.<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">
| |
− |
| |
− | '''Figure 41. Save dialog box '''<br />
| |
− | [[Image:dialogboxSave.jpg]]
| |
− |
| |
− |
| |
− | <br />
| |
− | '''Note:''' If you prefer for MIPAV to use the style of Open and Save dialog boxes that are used by the operating system (e.g., Microsoft Windows, Unix, or Apple) on your computer, read the section on "Using platform-specific Open and Save dialog boxes".<br />
| |
− |
| |
− | === Capturing images as TIFF(RGB) files ===
| |
− | MIPAV allows you to capture entire images or portions of images as RGB TIFF files. <br />
| |
− | <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 Select File > Capture image to TIFF(RGB) in the MIPAV window. The Capture Screen dialog box opens. See Figure 42.<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: 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 To capture only a portion of the image:<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline"><font color="#000000">Select </font></span><span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Region</font>'''</span><span style="font-style: normal; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline"><font color="#000000">, then</font></span><span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000"> </font>'''</span>draw a rectangle with the mouse around the region in the image you want to save. Click OK. The Save dialog box opens. Type the name of the file in File Name, and select the TIFF type of file. Click Save. The region is saved under the specified 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"> 3 To capture the entire image:<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline"><font color="#000000">Select</font></span><span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000"> Window,</font>'''</span> then click OK. The Save dialog box opens. Follow the instructions provided by the dialog box to save the image in TIFF format.<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">
| |
− | '''Figure 42. Capturing images or image regions'''<br /> [[Image:CapturingImage.jpg]]
| |
− |
| |
− | <br />
| |
− |
| |
− | To display the region in a separate window rather than save it, select '''Display in Window Instead of Save'''. The selected region appears in a separate window.
| |
− |
| |
− | To display the image in a separate window rather than save it, select '''Display in Window Instead of Save'''. The entire image appears in a separate window.
| |
− |
| |
− | === Saving images as ===
| |
− |
| |
− | MIPAV uses the file extension to save image into various formats. Thus, saving an image with the extension of <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">TIFF </font>''</span>causes the image to be saved as a TIFF image. Saving an image with the extension of <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">IMG</font>''</span> causes the image to be saved as an Analyze image. See Table 1 for file extensions supported by MIPAV.
| |
− |
| |
− | ==== To save images as RGB TIFF files ====
| |
− |
| |
− | <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 Select File > Save as in the MIPAV window.<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"> The Save Image as dialog box appears.<br /></font></div>
| |
− | 2 Type the name of the image in File name. Make sure you add <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">.tiff</font>''</span> as the extension.<br />
| |
− | 3 Click Save. MIPAV saves the file as a TIFF file under the name you specified.<br />
| |
− |
| |
− | ==== To save images to MINC format ====
| |
− | 1 Select File > Save As.The Save Image as dialog box appears. See Figure 41.<br />
| |
− | 2 Type the name of the file in File name. Make sure you add ''.mnc '' as the extension<br />
| |
− | 3 The Attributes to Save dialog box appears. See Figure 44.<br />
| |
− | 4 Complete the text boxes with the appropriate information. Note that the ''x, y,'' and ''z'' values differ from DICOM.<br />
| |
− | 5 Click Save. MIPAV saves the image to MINC format.<br />
| |
− |
| |
− |
| |
− | {| border="1" cellpadding="5"
| |
− | |+'''Figure 43. MINC Attributes to Save dialog box'''<br />
| |
− | |-
| |
− | |'''Image orientation'''
| |
− | |Specify the image orientation here if need. Note that, often the proper value is already entered in the dialog box. Then use the appropriate list boxes to specify the X, Y and Z axis orientation. <br /> L/R Start - TBD<br /> L/R Space - TBD<br /> P/A Start - TBD<br /> P/A Space - TBD<br /> I/S Start - TBD<br /> I/S Space - TBD<br />
| |
− | |
| |
− | [[Image:MINCAttributesToSaveDialogBox.jpg]]
| |
− | |-
| |
− | |'''OK'''
| |
− | |Saves the selected image based on your choices in this dialog box.||
| |
− | |-
| |
− | |'''Cancel'''
| |
− | | Disregards changes you made in this dialog box and closes the dialog box.||
| |
− | |}
| |
− |
| |
− |
| |
− |
| |
− | {| border="1" cellpadding="5"
| |
− | |+ '''Figure 44. The MINC Attributes to Save dialog box and comparison of MINC and DICOM image orientation'''
| |
− | |-
| |
− | |
| |
− | [[Image:minc_dicom.jpg]]
| |
− | |}
| |
− |
| |
− | ==== Saving images to XML format ====
| |
− |
| |
− | <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"> To record a history of actions that were performed on images, you should save the images to XML format. When you save images to XML format, MIPAV creates two files for each image: a RAW file, which contains image data, and an XML file. The XML file includes image attributes, such as action history. You can view the attributes of an image by selecting Image > Attributes > Edit Attributes or by viewing the .<span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">xml</font>''</span> file using a text editor or an internet browser. For more information on recording a history of actions, refer to "Saving a history of actions on images (TBD)".<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 images to XML format<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 Select File > Save as.<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"> The Save Image as 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"> 2 Accept the name currently in File name or type a new name. Make sure you add <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">.xml</font>''</span> as the extension.<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 Click Save.<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"> MIPAV saves the file under the name and extension you specified and begins, from this point on, recording a history of actions performed on the image.<br /></font></div>
| |
− |
| |
− | ==== Saving images to another format or renaming images ====
| |
− | '''To save images to format different from the original file<br />'''
| |
− | 1 Select File > Save as.The Save Image as dialog box appears (Figure 45). <br />
| |
− | 2 Type the new name in File name. To save the file in a different format, change the file extension. A list of extensions appears in Table 1, Appendix C.<br />
| |
− | 3 Click Save. MIPAV saves the file under the name and extension you specified.<br />
| |
− | '''To rename images<br />'''
| |
− | 1 Select File > Save as. The Save Image as dialog appears (Figure 45).<br />
| |
− | 2 Type the new name in File name. Either keep the extension already specified or change it to another file type. A list of extensions appears in Appendix C: Table 1.<br />
| |
− | 3 Click Save. MIPAV saves the file under the name and extension you specified.<br />
| |
− |
| |
− | '''Figure 45. Save Image as dialog box'''<br />
| |
− | [[Image:SaveImageAsDialogBox.jpg]]
| |
− |
| |
− | === Printing Images ===
| |
− | MIPAV offers the following printing command '''File > Capture and Print Image'''. This command calls the Print dialog box. Using this dialog you can set up a printer (to do it press the Properties button) or a file for printing (using the Print to File option), select the print copies and print range (all pages, current page, or selected pages).<br />
| |
− | '''To print an image with its current options:'''<br />
| |
− | Choose File > Capture and Print Image, and click OK.<br />
| |
− | '''To set printer and page setup options:'''<br />
| |
− | 1 Choose File > Capture and Print Image.<br />
| |
− | 2 Select an installed printer from the pop-up list at the top of the dialog box.<br />
| |
− | 3 Set additional options, such as paper size and layout, as desired. The available options depend on your printer, print drivers, and operating system.<br />
| |
| | | |
| [[Customizing MIPAV]] | | [[Customizing MIPAV]] |
The Logging page (Figure 37) displays the statistics in tabular form. Whether or not you chose a type of statistic on the Statistics Options page, the table includes a heading for each type. Blanks cells in the table indicate that you did not choose to obtain that particular type of statistics.
Each time you calculate the statistics for a VOI the Statistics Generator adds another row of statistics to the table. Note that the first column in the table lists the name of the VOI and, if appropriate, the slice and contour numbers. Also, you can change the width of each of the columns in the table by dragging the line between the columns in the heading.
You can include and review the statistics file in a database or in a spreadsheet program by double-clicking on the file name in Windows Explorer window and, in the Open with dialog box, selecting the application in which you want to open the file.
When the number of rows in the table exceeds the length of the Logging page, scroll bars appear on the right side of the table to allow you to scroll from the beginning or to the end of the table.
If at any time you want to clear, or erase, all of the rows of the table, select Options > Clear log window. The complete table disappears from the Logging page, which is now totally gray.
Go to the next task: "Reviewing the statistics".
You can generate an intensity profile for any VOI.
To generate a graph of a VOI
<
1 Select a VOI in an image window.
2 Use the right mouse button to call the context menu, then select one of the following: