Difference between revisions of "Reviewing VOI statistics"

From MIPAV
Jump to: navigation, search
(To save images to MINC format)
m (Saving and printing graphs)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.<br />
+
== Reviewing statistics on a single VOI and VOI groups ==
  
{| border="1" cellpadding="5"
+
The [[Calculating VOI statistics#StatisticsGenerator | Statistics Generator]] command on the VOI menu in the MIPAV window opens the [[Calculating statistics on VOI groups | Calculate Statistics on VOI Groups]] window, which allows you to obtain statistics on [[Delineating volumes of interest (VOIs)| a single VOI]] or on multiple [[Delineating volumes of interest (VOIs)#StatisticsVoiGroups | grouped VOIs]]. You can save the statistics to a tab-delimited file, which can then be incorporated into a database. For more information, refer to [[Calculating statistics on VOI groups]] page.
|+ '''Figure 37. The Logging page in the Calculate Statistics on VOI Groups window'''<br />
+
|-
+
|
+
[[Image:LoggingVOIStatistics.jpg]]
+
|}
+
  
 +
== Viewing VOI statistics ==
 +
[[File:LoggingVOIStatistics.jpg|300px|thumb|left|Calculate Statistics on VOI Groups dialog box - the Logging page]]
  
 +
The Logging page of the [[Calculating statistics on VOI groups | Calculate Statistics on VOI Groups dialog box]] displays the [[Calculating VOI statistics | VOI statistics]] in the 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.
+
Each time you calculate the statistics for a VOI the [[Calculating VOI statistics#StatisticsGenerator | 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.
 
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.
Line 18: Line 16:
 
If at any time you want to clear, or erase, all of the rows of the table, select Options &gt; Clear log window. The complete table disappears from the Logging page, which is now totally gray.
 
If at any time you want to clear, or erase, all of the rows of the table, select Options &gt; Clear log window. The complete table disappears from the Logging page, which is now totally gray.
  
<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">
+
=== Overwriting statistics files ===
 +
[[File:messageFileExistsWarning.jpg|200px|thumb|right|A warning message]]
  
{| border="1" cellpadding="5"
+
[[File:menuOptionsOverwriteFileNoEdges.jpg|200px|thumb|left|Overwrite file automatically]]
|+
+
|-
+
|
+
'''Overwriting statistics files'''<br />
+
<div class="CellBody">If you previously ran the Statistics Generator and obtained statistics, after you click Calculate a message appears stating that a statistics file already exists. It asks whether to overwrite the file or to cancel the action. <br clear="all" />
+
|
+
[[Image:messageFileExists.jpg]]
+
|}
+
''If you not want to overwrite the file,'' click Cancel. The following warning message appears. <br clear="all" />
+
  
[[Image:messageFileExistsWarning.jpg]]
+
If you previously ran the Statistics Generator and obtained statistics, after you click Calculate a message appears stating that a statistics file already exists. It asks whether to overwrite the file or to cancel the action. ''If you not want to overwrite the file,'' click Cancel. The following warning message appears.
  
Return to the VOI selection page and choose another file name in the VOI statistic file destination box. Then click Calculate to obtain the new set of statistics. The Statistics Generator calculates the statistics and saves them in the file that you indicated. The statistics appear on the Logging page. ''If it's all right to overwrite the file,''click Overwrite. The Statistics Generator calculates the statistics and overwrites the previously recorded statistics file.
+
Return to the VOI selection page and choose another file name in the VOI statistic file destination box. Then click Calculate to obtain the new set of statistics. The Statistics Generator calculates the statistics and saves them in the file that you indicated. The statistics appear on the Logging page.  
'''Tip:''' If you always want the Statistics Generator to overwrite the file, either select Options &gt; Overwrite file automatically or press Alt O.<br clear="all" />
+
  
[[Image:menuOptionsOverwriteFileNoEdges.jpg]]
+
If it's all right to overwrite the file,click Overwrite. The Statistics Generator calculates the statistics and overwrites the previously recorded statistics file.  
<br clear="all" /></div> <div class="CellBody">Go to the next task: "Reviewing the statistics". </div>
+
  
== Modifying image resolutions ==
+
'''Tip:''' If you always want the Statistics Generator to overwrite the file, either select Options &gt; Overwrite file automatically or press Alt O.
'''To modify the image resolution'''<br />
+
1 Open an image.<br />
+
2 Select Image &gt; Attributes &gt; Edit attributes in the MIPAV window. The Image Attributes dialog box opens. See Figure 38.<br />
+
3 Click Resolutions. The Resolution page appears.<br />
+
4 Modify the resolutions.<br />
+
5 Click Apply. <br />
+
6 Click OK or Close when complete. The window closes.<br />
+
 
+
{| border="1" cellpadding="5"
+
|+ '''Figure 38. The Resolutions tab of the Image Attributes dialog box; the Unit of Resolutions list box shows different units available in MIPAV'''<br />
+
|-
+
|
+
[[Image:ImageAttributesDialogREsolutionsTab.jpg]]
+
|}
+
  
 
== Generating graphs (intensity profiles) ==
 
== Generating graphs (intensity profiles) ==
'''MIPAV''' can generate a graph of the intensity values of a region bound by a VOI. You can then save this graph or ''intensity profile,'' to a file for future reference. <br />
+
'''MIPAV''' can generate [http://library.wolfram.com/infocenter/Demos/399/ a graph of the intensity values] of a region bound by a VOI. You can then save this graph or ''intensity profile,'' to a file for future reference. <br />
  
 
=== Generating new graphs ===
 
=== Generating new graphs ===
You can generate an intensity profile for any VOI. <br />'''To generate a graph of a VOI'''<br /><
+
You can generate an [http://library.wolfram.com/infocenter/Demos/399/ intensity profile] for any VOI. To generate a graph of a VOI:
  
1 Select a VOI in an image window.<br />
+
<ol>
2 Use the right mouse button to call the context menu, then select one of the following:<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">  Graph &gt; Boundary Intensity<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">  Graph &gt; Total Intensity<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">  Graph &gt; Average Intensity<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">  Graph &gt; Total Intensity with Threshold<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">  Graph &gt; Average Intensity with Threshold<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"> The chosen Intensity Graph window appears. Each function on the graph represents the intensity levels within each channel. Refer to Figure 39.<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 Close the graph by either selecting File &gt; Close graph or pressing <span style="font-style: normal; font-weight: normal; text-decoration: none; text-transform: capitalize; vertical-align: baseline"><font color="#000000">ctrl x</font></span>.<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"> .
+
<li>Select a VOI in an image window.</li>
 +
<li> Use the right mouse button to call the context menu, then select one of the following:</li>
 +
<ul>
 +
<li>Graph > Boundary Intensity</li>
 +
<li>Graph > Total Intensity</li>
 +
<li>Graph > Average Intensity</li>
 +
<li>Graph > Total Intensity with Threshold</li>
 +
<li>Graph > Average Intensity with Threshold</li>
 +
</ul>
 +
<li>The chosen Intensity Graph window appears. Each function on the graph represents the intensity levels within each channel.  
 +
<li>Close the graph by either selecting File > Close graph or pressing '''Ctrl + x'''.</li>
 +
</ol>
  
 
{| border="1" cellpadding="5"
 
{| border="1" cellpadding="5"
|+ '''Figure 39. The Intensity graphs'''<br />
+
|+ '''Intensity profiles'''<br />
 
|-
 
|-
|[[Image:GraphMenu.jpg]]
+
|[[File:GraphMenu.jpg|200px|thumb|right|The Graph menu]]
|[[Image:IntensityGraph.jpg]]
+
|[[File:IntensityGraph.jpg|200px|thumb|right|Boundary intensity]]
|[[Image:TotalIntensityGraph.jpg]]
+
|[[File:TotalIntensityGraph.jpg|200px|thumb|right|Total intensity]]
 
|-
 
|-
|[[Image:AverageIntensityGraph.jpg]]
+
|[[File:AverageIntensityGraph.jpg|200px|thumb|right|Average intensity]]
|[[Image:IntensitywithThresholdGraph.jpg]]
+
|[[File:IntensitywithThresholdGraph.jpg|200px|thumb|right|Intensity with a given threshold]]
|[[Image:AverageIntensitywithThresholdGraph.jpg]]
+
|[[File:AverageIntensitywithThresholdGraph.jpg|200px|thumb|right|Average intensity with a given threshold ]]
 
|}
 
|}
  
 +
== Saving and printing graphs ==
 +
[[File:SavingPrintingGrapghs.jpg|400px|thumb|left|Saving and printing intensity profiles]]
  
 +
=== To save a graph to a file: ===
 +
<ol>
 +
<li>Select File &gt; Save graph in the Intensity Graph window or press Ctrl S. The Save dialog box appears.</li>
 +
<li>Type a name for the graph in File name.</li>
 +
<li>Make sure that Graphs (''.plt'') appears in Files of type.</li>
 +
<li>Click Save. MIPAV saves the file under a specified name.</li>
 +
</ol>
  
==== Saving graphs to a file ====
+
=== To print graphs: ===
'''To save a graph<br />'''
+
<ol>
1 Select File &gt; Save graph in the Intensity Graph window or press Ctrl S.<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. See Figure 40.<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>
+
<li>Select File &gt; Print graph in the Intensity Graph window. The Print dialog box appears.</li>
2 Type a name for the graph in File name.<br />
+
<li>In the dialog box, select the printer and adjust the print options if necessary.</li>
3 Make sure that Graphs (''.plt'') appears in Files of type. Refer to Figure 40.<br /><
+
<li>Click OK to print the graph or image on your default printer.</li>
4 Click Save. MIPAV saves the file under a specified name.<br />
+
</ol>
 
+
==== Printing graphs ====
+
'''To print graphs <br />'''
+
1 Select File &gt; Print graph in the Intensity Graph window. The Print dialog box appears.<br />
+
2 In the dialog box, select the printer and adjust the print options if necessary.<br />
+
3 Click OK to print the graph or image on your default printer.<br />
+
 
+
'''Figure 40. Saving and printing intensity graphs'''<br />
+
[[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 &gt; 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 &gt; 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 &gt; 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 &gt; 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 &gt; Attributes &gt; 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 &gt; 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 ====
+
 
+
<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 format different from the original 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">  1 Select File &gt; Save as.The Save Image as dialog box appears (Figure 45). <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 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]].<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. MIPAV saves the file under the name and extension you specified.<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 rename images<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 &gt; Save as. The Save Image as dialog appears (Figure 45).<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 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 /></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. MIPAV saves the file under the name and extension you specified.<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 45. Save Image as dialog box'''<br />
+
== See also: ==
[[Image:SaveImageAsDialogBox.jpg]]
+
  
=== Printing Images ===
+
*[[Changing Image Contrast]]
 +
*[[Modifying image resolutions]]
 +
*[[Delineating volumes of interest (VOIs)| Volumes of Interest]]
 +
**[[Delineating volumes of interest (VOIs)]] 
 +
**[[Calculating VOI statistics]]
 +
**[[Calculating VOI statistics#VoiStatistics| VOI statistics dialog box]]
 +
**[[Reviewing VOI statistics]] - you are here
 +
**[[Calculating statistics on VOI groups]]
  
<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"> MIPAV offers the following printing command <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">File &gt; Capture and Print Image</font>'''</span>. 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 /></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 print an image with its current options:<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"> Choose File &gt; Capture and Print Image, and click OK.<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 set printer and page setup options:<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 Choose File &gt; Capture and Print 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 an installed printer from the pop-up list at the top of the dialog box.<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 Set additional options, such as paper size and layout, as desired. The available options depend on your printer, print drivers, and operating system.<br /></font></div>
+
*[[Customizing MIPAV]]
  
[[Customizing MIPAV]]
+
[[Category:Help]]
 +
[[Category:Getting started]]

Latest revision as of 13:18, 26 April 2012

Reviewing statistics on a single VOI and VOI groups

The Statistics Generator command on the VOI menu in the MIPAV window opens the Calculate Statistics on VOI Groups window, which allows you to obtain statistics on a single VOI or on multiple grouped VOIs. You can save the statistics to a tab-delimited file, which can then be incorporated into a database. For more information, refer to Calculating statistics on VOI groups page.

Viewing VOI statistics

Calculate Statistics on VOI Groups dialog box - the Logging page

The Logging page of the Calculate Statistics on VOI Groups dialog box displays the VOI statistics in the 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.

Overwriting statistics files

A warning message
Overwrite file automatically

If you previously ran the Statistics Generator and obtained statistics, after you click Calculate a message appears stating that a statistics file already exists. It asks whether to overwrite the file or to cancel the action. If you not want to overwrite the file, click Cancel. The following warning message appears.

Return to the VOI selection page and choose another file name in the VOI statistic file destination box. Then click Calculate to obtain the new set of statistics. The Statistics Generator calculates the statistics and saves them in the file that you indicated. The statistics appear on the Logging page.

If it's all right to overwrite the file,click Overwrite. The Statistics Generator calculates the statistics and overwrites the previously recorded statistics file.

Tip: If you always want the Statistics Generator to overwrite the file, either select Options > Overwrite file automatically or press Alt O.

Generating graphs (intensity profiles)

MIPAV can generate a graph of the intensity values of a region bound by a VOI. You can then save this graph or intensity profile, to a file for future reference.

Generating new graphs

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:
  • Graph > Boundary Intensity
  • Graph > Total Intensity
  • Graph > Average Intensity
  • Graph > Total Intensity with Threshold
  • Graph > Average Intensity with Threshold
  • The chosen Intensity Graph window appears. Each function on the graph represents the intensity levels within each channel.
  • Close the graph by either selecting File > Close graph or pressing Ctrl + x.
  • Intensity profiles
    The Graph menu
    Boundary intensity
    Total intensity
    Average intensity
    Intensity with a given threshold
    Average intensity with a given threshold

    Saving and printing graphs

    Saving and printing intensity profiles

    To save a graph to a file:

    1. Select File > Save graph in the Intensity Graph window or press Ctrl S. The Save dialog box appears.
    2. Type a name for the graph in File name.
    3. Make sure that Graphs (.plt) appears in Files of type.
    4. Click Save. MIPAV saves the file under a specified name.

    To print graphs:

    1. Select File > Print graph in the Intensity Graph window. The Print dialog box appears.
    2. In the dialog box, select the printer and adjust the print options if necessary.
    3. Click OK to print the graph or image on your default printer.

    See also: