Difference between revisions of "Customizing MIPAV"

From MIPAV
Jump to: navigation, search
m (Saving a history of actions on images)
m (Saving a history of actions on images)
 
(46 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
* In the [[#FileTab | File tab]], you can specify how would you like to open and save images in MIPAV.
 
* In the [[#FileTab | File tab]], you can specify how would you like to open and save images in MIPAV.
  
* In the [[#OtherTab| Other tab]], you can specify MIPAV settings for [http://medical.nema.org/ DICOM images], data provenance settings and set the debug level (if needed).
+
* In the [[#OtherTab| Other tab]], you can specify MIPAV settings for [http://medical.nema.org/ DICOM images], data provenance, and set the debug level (if needed).
  
 
<div id="DisplayTab"></div>
 
<div id="DisplayTab"></div>
Line 20: Line 20:
 
|'''Display Splash screen'''
 
|'''Display Splash screen'''
 
|Displays the MIPAV opening splash screen, or title screen, when MIPAV is started. By default, this check box is clear.
 
|Displays the MIPAV opening splash screen, or title screen, when MIPAV is started. By default, this check box is clear.
|[[File:Display.jpg|300px|thumb|right|The Display tab]]
+
|rowspan="6" colspan="2"|[[File:Display.jpg|400px|thumb|center|The Display tab]]
 
|-
 
|-
 
|'''Open images in tiled format'''
 
|'''Open images in tiled format'''
|rowspan="1" colspan="2"| By default, this check box is clear.
+
| If checked, MIPAV opens images in tile format. By default, this check box is clear.
 
|-
 
|-
 
|'''Display positions and intensity on left mouse click'''
 
|'''Display positions and intensity on left mouse click'''
|rowspan="1" colspan="2"| If checked, MIPAV displays x and y coordinates and intensity values for a given image point on left mouse click (e.g. 52,91:124,0). By default, this check box is clear.
+
|If checked, MIPAV displays x and y coordinates and intensity values for a given image point on left mouse click (e.g. 52,91:124,0). By default, this check box is clear.
 
|-
 
|-
 
|'''Adjust window/level on right mouse click'''
 
|'''Adjust window/level on right mouse click'''
|rowspan="1" colspan="2"| If checked allows to change [[Changing Image Contrast#AdjustWindow |image contrast]] on right mouse click. By default, this check box is clear.
+
|If checked allows to change [[Changing Image Contrast#AdjustWindow |image contrast]] on right mouse click. By default, this check box is clear.
 
|-
 
|-
 
|'''Font options'''
 
|'''Font options'''
|rowspan="1" colspan="2"| You can specify which font type and size to use in MIPAV dialogs.
+
| You can specify which font type and size to use in MIPAV dialogs.
 
|-
 
|-
 
|'''Load image using default'''
 
|'''Load image using default'''
|rowspan="1" colspan="2"| Specifies which default values (min and max, [[Changing Image Contrast#AdjustWindow| window and level]], or [[Changing Image Contrast#ModifyingHistograms| LUT]]) to use when load images in MIPAV.
+
| Specifies which default values (min and max, [[Changing Image Contrast#AdjustWindow| window and level]], or [[Changing Image Contrast#ModifyingHistograms| LUT]]) to use when load images in MIPAV.
 
|-
 
|-
 
|'''Show complex image information using:'''
 
|'''Show complex image information using:'''
| rowspan="1" colspan="2"|Specifies which parameters to use to display the numerical values of complex data.
+
| rowspan="1" colspan="3"| Specifies which parameters to use to display the numerical values of complex data.
 
|-
 
|-
 
|'''Display log magnitude of complex images'''
 
|'''Display log magnitude of complex images'''
| rowspan="1" colspan="2"|Indicates whether images are displayed using the log of their magnitude.
+
| rowspan="1" colspan="3"|Indicates whether images are displayed using the log of their magnitude.
 
|-
 
|-
 
|'''Interpolate image display'''
 
|'''Interpolate image display'''
| rowspan="1" colspan="2"|Indicates whether images are displayed with interpolation.
+
| rowspan="1" colspan="3"|Indicates whether images are displayed with interpolation.
 
|-
 
|-
 
|'''Save VOIs in LPS coordinates'''
 
|'''Save VOIs in LPS coordinates'''
| rowspan="1" colspan="2"| Indicates whether to use the LPS coordinates to save [[Delineating volumes of interest (VOIs) | VOIs]]. The LPS coordinate system, which stays for Left, Posterior, Superior, is used in DICOM images and by the ITK toolkit. For more information, refer to [http://www.slicer.org/slicerWiki/index.php/Coordinate_systems slicer.org].
+
| rowspan="1" colspan="3"| Indicates whether to use the LPS coordinates to save [[Delineating volumes of interest (VOIs) | VOIs]]. The LPS coordinate system, which stays for Left, Posterior, Superior, is used in DICOM images and by the ITK toolkit. For more information, refer to [http://www.slicer.org/slicerWiki/index.php/Coordinate_systems slicer.org].
 
|-
 
|-
 
|'''Draw new contours without holding [SHIFT]'''
 
|'''Draw new contours without holding [SHIFT]'''
| rowspan="1" colspan="2"|If checked, allows to draw new VOIs without holding the Shift key..
+
| rowspan="1" colspan="3"|If checked, allows to draw new VOIs without holding the Shift key..
 
|-
 
|-
 
|'''Display angle for line VOIs'''
 
|'''Display angle for line VOIs'''
| rowspan="1" colspan="2"| If checked, MIPAV will show an angle for [[Delineating volumes of interest (VOIs) | line VOIs]].
+
| rowspan="1" colspan="3"| If checked, MIPAV will show an angle for [[Delineating volumes of interest (VOIs) | line VOIs]].
 
|-
 
|-
 
|'''Crosshair cursor color'''
 
|'''Crosshair cursor color'''
|rowspan="1" colspan="2"|Specifies the color of the crosshair cursor. You can choose from several colors and styles. By default, the color is set to "Default."
+
|rowspan="1" colspan="3"|Specifies the color of the crosshair cursor. You can choose from several colors and styles. By default, the color is set to "Default."
 
|-
 
|-
 
|'''Active image border color'''
 
|'''Active image border color'''
 
| Specifies the color of the border around images. When you click on this box, the Pick Active Color dialog box, which allows you to select a different color, opens. By default, the color is red.
 
| Specifies the color of the border around images. When you click on this box, the Pick Active Color dialog box, which allows you to select a different color, opens. By default, the color is red.
|
+
| rowspan="4" colspan="2" | [[Image:dialogboxPickActiveColor.jpg]]
[[Image:dialogboxPickActiveColor.jpg]]
+
 
|-
 
|-
 
|'''VOI draw color'''
 
|'''VOI draw color'''
|rowspan="1" colspan="2"|Allows you to choose the color that is used to draw VOIs. After you finish drawing VOIs, the completed VOIs appear in the Starting VOI color.
+
|Allows you to choose the color that is used to draw VOIs. After you finish drawing VOIs, the completed VOIs appear in the Starting VOI color.
 
|-
 
|-
 
|'''Starting VOI color'''
 
|'''Starting VOI color'''
| rowspan="1" colspan="2"|Specifies the initial color for completed VOIs. That is, when you draw VOIs, they appear in the color chosen for VOI draw color; the completely drawn VOIs appear in the color you selected for this field.
+
|Specifies the initial color for completed VOIs. That is, when you draw VOIs, they appear in the color chosen for VOI draw color; the completely drawn VOIs appear in the color you selected for this field.
 
|-
 
|-
 
|'''VOI point draw type'''
 
|'''VOI point draw type'''
| rowspan="1" colspan="2"|Specifies the type of a VOI point, you can choose among 4 shapes: [[Image:VoiCrosshair.jpg]]
+
|Specifies the type of a VOI point, you can choose among 4 shapes: [[Image:VoiCrosshair.jpg]]
 
|-
 
|-
 
|'''Apply'''
 
|'''Apply'''
|rowspan="1" colspan="2"|Saves and immediately applies all of the selected parameters in this dialog box.
+
|rowspan="1" colspan="3"|Saves and immediately applies all of the selected parameters in this dialog box.
 
|-
 
|-
 
|'''Cancel'''
 
|'''Cancel'''
|rowspan="1" colspan="2"|Disregards any changes you made in this dialog box, closes the dialog box, and does not save the specified options.
+
|rowspan="1" colspan="3"|Disregards any changes you made in this dialog box, closes the dialog box, and does not save the specified options.
 
|-
 
|-
 
|'''Help'''
 
|'''Help'''
|rowspan="1" colspan="2"|Displays online help for this dialog box
+
|rowspan="1" colspan="3"|Displays online help for this dialog box
 
|}
 
|}
  
 
<div id="FileTab"></div>
 
<div id="FileTab"></div>
 
 
=== The File tab in the MIPAV Options dialog box ===
 
=== The File tab in the MIPAV Options dialog box ===
  
Line 91: Line 89:
 
|'''Prompt overwrite on save'''
 
|'''Prompt overwrite on save'''
 
|Displays a prompt, or a message, when you save a file under the same name as an already existing file. The message indicates that saving the file under the same name as an existing file overwrites the file.
 
|Displays a prompt, or a message, when you save a file under the same name as an already existing file. The message indicates that saving the file under the same name as an existing file overwrites the file.
| [[File:File.jpg|300px|thumb|right|File tab]]
+
|rowspan="6" colspan="2"| [[File:File.jpg|400px|thumb|center|File tab]]
 
|-
 
|-
 
|'''Save all on save'''
 
|'''Save all on save'''
|rowspan="1" colspan="2"|Saves the active image and all VOIs presently displayed on the image so that the next time you open the image MIPAV opens the image and VOIs. The VOIs are saved in a sub-directory of the directory in which the image is stored.By default, this check box is clear.
+
|Saves the active image and all VOIs presently displayed on the image so that the next time you open the image MIPAV opens the image and VOIs. The VOIs are saved in a sub-directory of the directory in which the image is stored.By default, this check box is clear.
 
|-
 
|-
 
|'''Always save .hdr/img files'''
 
|'''Always save .hdr/img files'''
|rowspan="1" colspan="2"| This options provides you with choices on how to save Analyze files, see [[Supported Formats]]. You can save them in format which you specify in the Save as dialog box. Or you can always save these files in one of specified formats, e.g. Analyze, Interfile, or Nifti. To learn more about MIPAV supported formats, see [[Supported Formats]].
+
| This options provides you with choices on how to save Analyze files, see [[Supported Formats]]. You can save them in format which you specify in the Save as dialog box. Or you can always save these files in one of specified formats, e.g. Analyze, Interfile, or Nifti. To learn more about MIPAV supported formats, see [[Supported Formats]].
 
|-
 
|-
 
|'''Always save .mnc files'''
 
|'''Always save .mnc files'''
|rowspan="1" colspan="2"| This options provides you with choices on how to save Minc files, see [[Supported Formats]].
+
| This options provides you with choices on how to save Minc files, see [[Supported Formats]].
 
|-
 
|-
 
|'''Save thumbnails for MIPAV XML files'''
 
|'''Save thumbnails for MIPAV XML files'''
|rowspan="1" colspan="2"| If checked, this option allows to save image thumbnails if saving in MIPAV XML format, allowing you to view the thumbnails in the image browser. See [[Supported Formats]].
+
|If checked, this option allows to save image thumbnails if saving in MIPAV XML format, allowing you to view the thumbnails in the image browser. See [[Supported Formats]].
 
|-
 
|-
 
|'''Default frame rate for Save image as AVI'''
 
|'''Default frame rate for Save image as AVI'''
|rowspan="1" colspan="2"| In this box, you can specify a default frame rate for AVI files, which would be used when saving images as <span style="font-family:courier">.avi</span> files. By default, this check box is clear. The default frame rate is set to 10.0.
+
|In this box, you can specify a default frame rate for AVI files, which would be used when saving images as <span style="font-family:courier">.avi</span> files. By default, this check box is clear. The default frame rate is set to 10.0.
 
|-
 
|-
 
|'''Flip Y axis on NIFTI read IS and PA'''
 
|'''Flip Y axis on NIFTI read IS and PA'''
|rowspan="1" colspan="2"| If checked, corrects some Y-axis origin and matrix issues when reading Nifti images that need to be flipped, see [[Supported Formats]].
+
|rowspan="1" colspan="3"|If checked, corrects some Y-axis origin and matrix issues when reading Nifti images that need to be flipped, see [[Supported Formats]].
 
|-
 
|-
 
|'''Save XML header with Analyze images'''
 
|'''Save XML header with Analyze images'''
| rowspan="1" colspan="2" |Saves an XML header for an Analyze image when the image is saved. If you choose this option, the image has two headers: the normal header and an XML header. Both point to the image file. By default, this check box is clear.
+
|rowspan="1" colspan="3" |Saves an XML header for an Analyze image when the image is saved. If you choose this option, the image has two headers: the normal header and an XML header. Both point to the image file. By default, this check box is clear.
 
|-
 
|-
 
|'''Recently used image list'''
 
|'''Recently used image list'''
| rowspan="1" colspan="2" | You can specify here how many recently used images you would like to have on your list.
+
| rowspan="1" colspan="3" | You can specify here how many recently used images you would like to have on your list.
 
|-
 
|-
 
|'''File filter default'''
 
|'''File filter default'''
| rowspan="1" colspan="2" |Specifies the types of files that should be shown in the Files of type box in the Open Image and Save Image as dialog boxes. Refer to "Choosing the default file types to display or save" for more information.  
+
| rowspan="1" colspan="3" |Specifies the types of files that should be shown in the Files of type box in the Open Image and Save Image as dialog boxes. Refer to "Choosing the default file types to display or save" for more information.  
 
|-
 
|-
 
|'''Temporary directory'''
 
|'''Temporary directory'''
| rowspan="1" colspan="2" |In this box you can specify the directory where MIPAV will temporary store file content, while reading/writing ZIP files.  
+
| rowspan="1" colspan="3" |In this box you can specify the directory where MIPAV will temporary store file content, while reading/writing ZIP files.  
 
|-
 
|-
 
|-
 
|-
 
|'''Apply'''
 
|'''Apply'''
| rowspan="1" colspan="2" |Saves and immediately applies all of the selected parameters in this dialog box.
+
| rowspan="1" colspan="3" |Saves and immediately applies all of the selected parameters in this dialog box.
 
|-
 
|-
 
|'''Cancel'''
 
|'''Cancel'''
| rowspan="1" colspan="2" |Disregards any changes you made in this dialog box, closes the dialog box, and does not save the specified options.
+
| rowspan="1" colspan="3" |Disregards any changes you made in this dialog box, closes the dialog box, and does not save the specified options.
 
|-
 
|-
 
|'''Help'''
 
|'''Help'''
| rowspan="1" colspan="2" |Displays online help for this dialog box.
+
| rowspan="1" colspan="3" |Displays online help for this dialog box.
 
|}
 
|}
  
 
<div id="OtherTab"></div>
 
<div id="OtherTab"></div>
 
 
=== The Other tab in the MIPAV Options dialog box ===
 
=== The Other tab in the MIPAV Options dialog box ===
  
Line 142: Line 139:
 
|-  
 
|-  
 
| '''Start DICOM receiver on start-up'''
 
| '''Start DICOM receiver on start-up'''
| If checked, MIPAV will automatically start DICOM receiver.
+
| If checked, MIPAV will automatically start DICOM receiver on its next start.
| rowspan="2" colspan="1" |[[File:MipavOptionsOther.jpg|300px|thumb|right|Other tab of MIPAV Options dialog box]]
+
| rowspan="6" colspan="1" |[[File:MipavOptionsOther.jpg|400px|thumb|right|Other tab of MIPAV Options dialog box]]
 
|-
 
|-
 
| '''Multi-Threading enabled (2 cores)'''
 
| '''Multi-Threading enabled (2 cores)'''
Line 149: Line 146:
 
|-
 
|-
 
| '''GPU Computing enabled'''
 
| '''GPU Computing enabled'''
| If checked, enables graphical processing unit (GPU) volume rendering. See also: [http://144.206.159.178/ft/CONF/16412650/16412654.pdf Cheng 2006].  
+
| If checked, enables graphical processing unit (GPU) volume rendering. if the GPU computing enabled option is grayed out in the MIPAV Options - Other dialog box, that means that you need either update your video card driver, or your video card, or both. For more information, refer to [[MIPAV system requirements#GpuComputing | MIPAV system requirements - GPU computing]] and [http://144.206.159.178/ft/CONF/16412650/16412654.pdf Cheng 2006].  
 
|-  
 
|-  
 
| '''Save dialog settings'''
 
| '''Save dialog settings'''
Line 158: Line 155:
 
|-  
 
|-  
 
|'''Image level data provenance'''
 
|'''Image level data provenance'''
| rowspan="1" colspan="2" |Keeps a record of all of the actions-algorithms and utilities-performed on images. The history may be viewed in the '''Image data provenance ''' dialog box while the actions are performed, or in the XMP file when an image is saved in [[Supported Formats#MipavXmlFormat | MIPAV XML format]]. By default, this check box is clear.
+
|Keeps a record of all of the actions-algorithms and utilities-performed on images. The history may be viewed in the '''Image data provenance ''' dialog box while the actions are performed, or in the XMP file when an image is saved in [[Supported Formats#MipavXmlFormat | MIPAV XML format]]. By default, this check box is clear.
 
|-
 
|-
 
|'''LAX/Preferences memory check'''
 
|'''LAX/Preferences memory check'''
Line 165: Line 162:
 
|-  
 
|-  
 
| '''Check on closing frame'''
 
| '''Check on closing frame'''
| rowspan="1" colspan="2" | Adds messages to confirm deletions of images. By default, this check box is clear.  
+
| rowspan="1" colspan="2" |Adds messages to confirm deletions of images. By default, this check box is clear.  
 
|-  
 
|-  
 
| '''Log errors to:'''
 
| '''Log errors to:'''
Line 196: Line 193:
 
|}
 
|}
  
== Showing or hiding the splash screen on start-up ==
+
<div id="SplashScreen"></div>
 +
== Showing and hiding the splash screen on start-up ==
  
 
The ''splash screen'' is the window that first appears briefly when you start MIPAV. It appears immediately before the MIPAV window and the Output window open. The splash screen displays the name of the program and the MIPAV logo.
 
The ''splash screen'' is the window that first appears briefly when you start MIPAV. It appears immediately before the MIPAV window and the Output window open. The splash screen displays the name of the program and the MIPAV logo.
Line 219: Line 217:
 
</ol>
 
</ol>
  
 
+
<div id="DebuggingMipav"></div>
 
+
 
== Debugging MIPAV ==
 
== Debugging MIPAV ==
  
 
You can track debugging information and error messages generated by MIPAV during a session by placing it in debug mode. If errors occur during the session, the program displays any error messages in the Output window on the Debug page. By default, the debug mode is off when you start the program.
 
You can track debugging information and error messages generated by MIPAV during a session by placing it in debug mode. If errors occur during the session, the program displays any error messages in the Output window on the Debug page. By default, the debug mode is off when you start the program.
  
'''Recommendation:''' The debugging information is primarily intended for MIPAV developers and not for users. The best course for a user is to leave the debug mode ''Off'' unless a MIPAV developer asks for he/she to turn it on.<br />
+
'''Recommendation:''' The debugging information is primarily intended for MIPAV developers and not for users. The best course for a user is to leave the debug mode ''Off'' unless a MIPAV developer asks for he/she to turn it on. For more information about MIPAV debug mode, please refer to [[Technical Support]].
For more information about MIPAV debug mode, please refer to "Troubleshooting", "Placing MIPAV in debug mode".<br />
+
  
 +
<div id="ActionsHistory"></div>
 
== Saving a history of actions on images  ==
 
== Saving a history of actions on images  ==
MIPAV allows you to keep a history of all of the actions-the algorithms and utilities-that you perform on images. The history includes the specific parameters that were set for the action. In addition, if you save the images as XML, the history of actions and their parameters appears in the .xmp file (the XML file).
+
MIPAV allows to keep a history of all of the actions(algorithms, utilities and transformations applied) performed on images. The history includes the specific parameters that were set for the action. Each time an image is modified and saved in MIPAV (no matter in which format) the history of actions and their parameters appears in the corresponding .xmp file (an XML file).
  
 
'''Note:''' By default, MIPAV does ''not '' record a history of actions unless you specifically select the Global data provenance and Image data provenance check boxes in the MIPAV Options &gt; Other dialog box.
 
'''Note:''' By default, MIPAV does ''not '' record a history of actions unless you specifically select the Global data provenance and Image data provenance check boxes in the MIPAV Options &gt; Other dialog box.
Line 238: Line 235:
 
The history appears in the Image data provenance dialog box while the actions are performed, or in the XMP file when an image is saved in [[Supported Formats#MipavXmlFormat | MIPAV XML format]].  
 
The history appears in the Image data provenance dialog box while the actions are performed, or in the XMP file when an image is saved in [[Supported Formats#MipavXmlFormat | MIPAV XML format]].  
  
 +
=== MIPAV System Data Provenance dialog box ===
 +
[[File:MipavDataProvenance.jpg|450px|thumb|left|MIPAV Data Provenance dialog box]]
  
=== To view the history of actions recorded in the XML file: ===
+
The dialog box appears when you call Help &gt; MIPAV Data Provenance menu. It shows a global history of actions performed in MIPAV including timestamps of each action, a user name,a MIPAV algorithm/utility, a JVM version and MIPAV version. This information can be saved as a data provenance (XMP) file in MIPAV XML format.
  
 +
=== To view the history of actions recorded in the XML (XMP) file: ===
 
<ol>
 
<ol>
 
<li>Save the sample image as an XML file by selecting File &gt; Save Image as. The Save Image as dialog box opens. </li>
 
<li>Save the sample image as an XML file by selecting File &gt; Save Image as. The Save Image as dialog box opens. </li>
Line 248: Line 248:
 
<li> Open Windows Explorer by right-clicking on Start and then selecting Explore. The Windows Explorer window opens.</li>
 
<li> Open Windows Explorer by right-clicking on Start and then selecting Explore. The Windows Explorer window opens.</li>
 
<li> Navigate to the directory where you stored the XML file. This directory should have 3 files named "SampleImage": <span style="font-family:courier">SampleImage.xml</span>, <span style="font-family:courier">SampleImage.raw</span>, and <span style="font-family:courier">SampleImage.xmp</span>. The history of actions performed on an image is saved in <span style="font-family:courier">SampleImage.xmp</span>.</li>
 
<li> Navigate to the directory where you stored the XML file. This directory should have 3 files named "SampleImage": <span style="font-family:courier">SampleImage.xml</span>, <span style="font-family:courier">SampleImage.raw</span>, and <span style="font-family:courier">SampleImage.xmp</span>. The history of actions performed on an image is saved in <span style="font-family:courier">SampleImage.xmp</span>.</li>
<li> Open the .xmp file in an Internet browser (or in Notepad). You will see the history of actions recorded between <span style="font-family:courier"><provenance></span> and <span style="font-family:courier"></provenance></span> tags. Note that the information includes not only a list of algorithms and utilities applied ti an image file, but also timestamps for all actions performed, user names, host names, OS, and algorithm arguments.</li>
+
<li> Open the <span style="font-family:courier">.xmp</span> file in an Internet browser (or in Notepad). You will see the history of actions recorded between <span style="font-family:courier"><provenance></span> and <span style="font-family:courier"></provenance></span> tags. Note that the information includes not only a list of algorithms and utilities applied ti an image file, but also timestamps for all actions performed, user names, host names, OS, and algorithm arguments.</li>
 
</ol>
 
</ol>
  
 
''' A example of history of actions performed on an image written in an XMP file'''
 
''' A example of history of actions performed on an image written in an XMP file'''
  
 
+
<pre style="white-space: pre-wrap;
<nowiki>
+
white-space: -moz-pre-wrap;
 +
word-wrap: break-word">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
 
 
<!-- MIPAV Data Provenance file -->
 
<!-- MIPAV Data Provenance file -->
 
 
<provenance>
 
<provenance>
 
 
<processStep>
 
<processStep>
 
 
<program version="5.4.1">MIPAV</program>
 
<program version="5.4.1">MIPAV</program>
 
 
<programArguments inputs="">FrequencyFilter(Sample, &quot;do_output_new_image boolean true&quot;, &quot;do_process_in_2.5D boolean false&quot;, &quot;do_crop_image boolean true&quot;, &quot;kernel_diameter int 15&quot;, &quot;filter_type int 2&quot;, &quot;freq1 float 1.2566371&quot;, &quot;freq2 float 0.7&quot;, &quot;construction_method int 1&quot;, &quot;butterworth_order int 0&quot;)</programArguments>
 
<programArguments inputs="">FrequencyFilter(Sample, &quot;do_output_new_image boolean true&quot;, &quot;do_process_in_2.5D boolean false&quot;, &quot;do_crop_image boolean true&quot;, &quot;kernel_diameter int 15&quot;, &quot;filter_type int 2&quot;, &quot;freq1 float 1.2566371&quot;, &quot;freq2 float 0.7&quot;, &quot;construction_method int 1&quot;, &quot;butterworth_order int 0&quot;)</programArguments>
 
 
<timeStamp>2012/3/24-10-29-59-136-Eastern Standard Time</timeStamp>
 
<timeStamp>2012/3/24-10-29-59-136-Eastern Standard Time</timeStamp>
 
 
<user>your_user_name</user>
 
<user>your_user_name</user>
 
 
<hostName>YOUR_HOST_NAME</hostName>
 
<hostName>YOUR_HOST_NAME</hostName>
 
 
<architecture>x86</architecture>
 
<architecture>x86</architecture>
 
 
<platform version="6.0">Windows Vista</platform>
 
<platform version="6.0">Windows Vista</platform>
 
 
<compiler version="1.6.0_31">java</compiler>
 
<compiler version="1.6.0_31">java</compiler>
 
 
</processStep>
 
</processStep>
 
 
<processStep>
 
<processStep>
 
 
<program version="5.4.1">MIPAV</program>
 
<program version="5.4.1">MIPAV</program>
 
 
<programArguments inputs="">SaveImageAs(Sample_freqFilter, &quot;file_type string .xml&quot;, &quot;file_name string Cell_Colony_freqFilter.xml&quot;)</programArguments>
 
<programArguments inputs="">SaveImageAs(Sample_freqFilter, &quot;file_type string .xml&quot;, &quot;file_name string Cell_Colony_freqFilter.xml&quot;)</programArguments>
 
 
<timeStamp>2012/3/24-10-30-20-574-Eastern Standard Time</timeStamp>
 
<timeStamp>2012/3/24-10-30-20-574-Eastern Standard Time</timeStamp>
 
 
<user>your_user_name</user>
 
<user>your_user_name</user>
 
 
<hostName>YOUR_HOST_NAME</hostName>
 
<hostName>YOUR_HOST_NAME</hostName>
 
 
<architecture>x86</architecture>
 
<architecture>x86</architecture>
 
 
<platform version="6.0">Windows Vista</platform>
 
<platform version="6.0">Windows Vista</platform>
 
 
<compiler version="1.6.0_31">java</compiler>
 
<compiler version="1.6.0_31">java</compiler>
 
 
</processStep>
 
</processStep>
 +
</provenance>
 +
</pre>
  
</provenance></nowiki>
+
<div id="DefaultFileTypes"></div>
  
== Choosing the default file types to display or save ==
+
== Choosing the default file types to display and/or save ==
  
When you using MIPAV, chances are that you are working with the same type of files every day or perhaps for a certain period of time. For example, suppose you normally work with medical files (files whose extensions are .dcm, .xml, .ima, .img, .mnc, .sig, .head, etc.). In this situation, when opening or saving images, you want to see only the medical files, not other file types. One of the ways of customizing MIPAV is the ability to show only specific types of files by default.<br />
+
When you using MIPAV, chances are that you are working with the same type of files every day or perhaps for a certain period of time. For example, suppose you normally work with medical files (files whose extensions are <span style="font-family:courier">.dcm, .xml, .ima, .img, .mnc, .sig, .head</span>, etc.). In this situation, when opening or saving images, you want to see only the medical files, not other file types. One of the ways of customizing MIPAV is the ability to show only specific types of files by default. See also: [[Understanding Image Basics#FilesExtensions| Image files supported by MIPAV]].
  
 
The File Filter Default box on the MIPAV Options dialog box allows you to choose which types of files should be shown in the Files of type box in the Open Image and Save Image as dialog boxes.
 
The File Filter Default box on the MIPAV Options dialog box allows you to choose which types of files should be shown in the Files of type box in the Open Image and Save Image as dialog boxes.
  
'''To choose the default file types to display or save<br />'''
+
<div id="DefaultFileTypes1"></div>
1 Select Help &gt; MIPAV Options. The MIPAV Options dialog box opens.<br />
+
=== To choose the default file types to display and/or save ===
2 Click File. The File page appears.<br />
+
<ol>
3 Click File filter default. The Choose File Filter dialog box appears.<br />
+
<li>Select Help &gt; MIPAV Options. The MIPAV Options dialog box opens.</li>
4 Select one of the file filters. You can choose one of the following collections of file types:<br />
+
<li>Click File. The File page appears.</li>
<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">  All (*.*)<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">  AVI (*.avi)<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">  Class files (*.class)<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">  FreeSurfer (*.asc)<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">  General (*.gif, *.jpeg, *.jpg, *.pict, *.psd, *.tif, *.tiff)<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">  Graphs (*.plt)<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">  Look-up tables files (*.lut)<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">  Matrix files (*.mtx, *.mat)<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">  Medical (*.dcm, *.xml, *.ima, *,img, *.mnc, *.sig, *.head)<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">  Microscopy (*.avi, *.ics, *.lsm, *.pic, *.stk, *.tif, *.tiff, *.xml)<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">  Misc. (*.avi, *.bmp, *.pcx, *.png, *.tga, *.xbm, *. xpm)<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">  Optical (*.avi, *.bmp, *.img, *.jpg, *.pict, *.psd, *.tif, *.tiff, *.xml)<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">  Project (*.xml)<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">  Script files (*.sct)<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">  Surface files (*.sur, *.wrl)<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">  Transfer function files (*.fun)<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">  VOI files (*.voi)<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">  Nonlinear transformation files (*.nlt)<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">  User Defined<br /></font></div>
+
<li>Click File filter default. The Choose File Filter dialog box appears.</li>
5 Click OK. The Choose File Type dialog box closes and the file type you chose appears on the File filter default button.<br />
+
<li> Select one of the file filters. You can choose one of the following collections of [[Supported Formats#SupportedFiles |file types:]]</li>
6 Click Apply in the MIPAV Options dialog box. This change takes effect immediately.<br />
+
  
 +
*All (*.*)
 +
*AVI (*.avi)
 +
*Class files (*.class)
 +
*FreeSurfer (*.asc)
 +
*General (*.gif, *.jpeg, *.jpg, *.pict, *.psd, *.tif, *.tiff)
 +
*Graphs (*.plt)
 +
*Look-up tables files (*.lut)
 +
*Matrix files (*.mtx, *.mat)
 +
*Medical (*.dcm, *.xml, *.ima, *,img, *.mnc, *.sig, *.head)
 +
*Microscopy (*.avi, *.ics, *.lsm, *.pic, *.stk, *.tif, *.tiff, *.xml)
 +
*Misc. (*.avi, *.bmp, *.pcx, *.png, *.tga, *.xbm, *. xpm)
 +
*Optical (*.avi, *.bmp, *.img, *.jpg, *.pict, *.psd, *.tif, *.tiff, *.xml)
 +
*Project (*.xml)
 +
*Script files (*.sct)
 +
*Surface files (*.sur, *.wrl)
 +
*Transfer function files (*.fun)
 +
*VOI files (*.voi)
 +
*Nonlinear transformation files (*.nlt)
 +
*User Defined
 +
<li>Click OK. The Choose File Type dialog box closes and the file type you chose appears on the File filter default button.</li>
 +
<li>Click Apply in the MIPAV Options dialog box. This change takes effect immediately.</li>
 +
</ol>
  
 +
=== To verify that the filters you chose are used as default filters ===
 +
<ol>
 +
<li> Select File &gt; Open &gt; Image(A). The Open Image dialog box appears. The Files of type box should show the filters you chose.</li>
 +
<li>Select File &gt; Save Image as. The Save Image as dialog box opens with the Files of type box listing the file filters you chose.</li>
 +
</ol>
  
{| border="1" cellpadding="5"
+
<div id="AddingShortcuts"></div>
|+ '''The File Filter Default button is located on File toolbar of the MIPAV Options dialog box. The Choose File Filter dialog box appears when you press that button'''
+
== Adding shortcuts ==
|-
+
MIPAV allows you to create shortcuts using the Ctrl, Alt, and Shift keys plus the alphanumeric key of your choice. Shortcuts provide a quick way for you to perform a command on a menu or a command on one of the [[MIPAV toolbars]].
|
+
[[Image:SelectFileFilters.jpg]]
+
|}
+
  
<br />
+
'''Example:''' Suppose you frequently clone images. Rather than taking the time to select Utilities &gt; Clone, you may find it easier and faster to simply press Ctrl C, the keys you assigned to the shortcut.
'''To verify that the filters you chose are used as the default filters'''<br />
+
1 Select File &gt; Open &gt; Image(A). The Open Image dialog box appears. The Files of type box should show the filters you chose.<br />
+
2 Select File &gt; Save Image as. The Save Image as dialog box opens with the Files of type box listing the file filters you chose.<br />
+
  
{| border="1" cellpadding="5"
+
=== To add shortcut keys ===
|+ '''Figure 53. Setting up the Medical file filter as a default filter. The Save As dialog box offers only Medical file types as types to save'''
+
[[File:Shortcuts.jpg|450px|thumb|left|Adding shortcut keys]]
|-
+
|
+
[[Image:SelectFileFiltersMedical.jpg]]
+
|}
+
  
== Adding shortcuts ==
+
<ol>
MIPAV allows you to create shortcuts using the Ctrl, Alt, and Shift keys plus the alphanumeric key of your choice. Shortcuts provide a quick way for you to perform a command on a menu or a command on one of the toolbars. <br />
+
<li>Select Help &gt; Shortcut editor. The Shortcuts dialog box opens.</li>
'''Example:''' Suppose you frequently clone images. Rather than taking the time to select Utilities &gt; Clone, you may find it easier and faster to simply press Ctrl C, the keys you assigned to the shortcut.<br />
+
<li>Click Add. The New Shortcut dialog box opens.</li>
'''To add shortcut keys'''<br />
+
<li> Select Ctrl, Alt, or Shift or any combination of these check boxes. You can select only one of these check boxes, or you can select any combination of these check boxes. Valid selections can include only Ctrl, only Alt, or only Shift, or you can select Ctrl and Alt, Ctrl and Shift, Alt and Shift, or all three of the check boxes.</li>
1 Select Help &gt; Shortcut editor. The Shortcuts dialog box opens.<br />
+
<li>Type an alphanumeric character in Character, and then press OK.</li>
2 Click Add. The New Shortcut dialog box opens. See Figure 54-1.<br />
+
<li>A message appears directing you to select a command on a menu or in a toolbar. Press OK again. The message disappears.</li>
3 Select Ctrl, Alt, or Shift or any combination of these check boxes. You can select only one of these check boxes, or you can select any combination of these check boxes. Valid selections can include only Ctrl, only Alt, or only Shift, or you can select Ctrl and Alt, Ctrl and Shift, Alt and Shift, or all three of the check boxes. See Figure 54-2.<br />
+
<li>Select a toolbar icon or select a command on a menu in the MIPAV window to which you want to assign this shortcut. A message appears indicating that the shortcut was successfully created.</li>
4 Type an alphanumeric character in Character, and then press OK.<br /><
+
<li>Click OK. The message disappears, and the shortcut appears on the Shortcuts dialog box.</li>
5 A message appears directing you to select a command on a menu or in a toolbar. See Figure 54-3. Press OK again. The message disappears.<br />
+
</ol>
6 Select a toolbar icon or select a command on a menu in the MIPAV window to which you want to assign this shortcut. A message appears indicating that the shortcut was successfully created. See Figure 54-4.<br />
+
7 Click OK. The message disappears, and the shortcut appears on the Shortcuts dialog box.<br />
+
  
{| border="1" cellpadding="5"
+
=== To remove shortcut keys ===
|+ '''Figure 54. Creating a new shortcut. Steps 1-4 are explained in the text above'''
+
|-
+
|
+
[[Image:Shortcuts.jpg]]
+
|}
+
  
<br />
+
<ol>
'''To remove shortcut keys'''<br /><
+
<li> Select Help &gt; Shortcut editor. The Shortcuts dialog box opens.</li>
1 Select Help &gt; Shortcut editor. The Shortcuts dialog box opens.<br /><
+
<li> Select the shortcut you want to delete.</li>
2 Select the shortcut you want to delete.<br /><
+
<li>Click Remove. MIPAV removes the shortcut, and the shortcut disappears from the list of shortcuts in the Shortcuts dialog box.</li>
3 Click Remove. MIPAV removes the shortcut, and the shortcut disappears from the list of shortcuts in the Shortcuts dialog box.<br />
+
</li>Make sure you do want to delete this shortcut. You cannot undo the deletion.</li>
Make sure you want to delete the shortcut. You cannot undo the deletion. <br />
+
</ol>
  
== Developing and using plug-in programs ==
+
== See also: ==
 +
*[[Introducing MIPAV]]
 +
*[[Understanding MIPAV capabilities]]
 +
*[[MIPAV mailing list]]
 +
*[[Installing mipav#MipavNews|Viewing MIPAV News and Updates]]
 +
*[[Developing new tools using the API]]
 +
*[[Supported Formats]]
  
A ''plug-in'' program allows you to add customized functionality to MIPAV. Before you create a plug-in, you should have a strong understanding of the underlying structure of MIPAV's software design and data structure. Because plug-ins are written in Java, you should also have a basic understanding of that programming language. After you create the plug-in, you must then install it. Once it is installed, you can access it from the Plug-Ins menu in the main MIPAV window. Plug-ins are addressed in Chapter 12, "Developing Plug-in Programs", in the ''MIPAV User's Guide''.<br />
+
[[Category: Help]]
 +
[[Category: Getting started]]

Latest revision as of 20:34, 8 May 2013

MIPAV Options dialog box

MIPAV is a powerful program with a lot of commands, options, and features. However, it was designed to allow users to customize its appearance, to control what information is displayed and how it responds to a user input.

The MIPAV options dialog box offers means to customize MIPAV. The dialog box appears when you call Help > MIPAV options menu.

  • In the Display tab, you can customize the MIPAV user interface, including MIPAV splash screen, fonts, appearance of images, VOI boundary colors and some other MIPAV features.
  • In the File tab, you can specify how would you like to open and save images in MIPAV.
  • In the Other tab, you can specify MIPAV settings for DICOM images, data provenance, and set the debug level (if needed).

The Display tab in the MIPAV Options dialog box

Display Tab
Display Splash screen Displays the MIPAV opening splash screen, or title screen, when MIPAV is started. By default, this check box is clear.
The Display tab
Open images in tiled format If checked, MIPAV opens images in tile format. By default, this check box is clear.
Display positions and intensity on left mouse click If checked, MIPAV displays x and y coordinates and intensity values for a given image point on left mouse click (e.g. 52,91:124,0). By default, this check box is clear.
Adjust window/level on right mouse click If checked allows to change image contrast on right mouse click. By default, this check box is clear.
Font options You can specify which font type and size to use in MIPAV dialogs.
Load image using default Specifies which default values (min and max, window and level, or LUT) to use when load images in MIPAV.
Show complex image information using: Specifies which parameters to use to display the numerical values of complex data.
Display log magnitude of complex images Indicates whether images are displayed using the log of their magnitude.
Interpolate image display Indicates whether images are displayed with interpolation.
Save VOIs in LPS coordinates Indicates whether to use the LPS coordinates to save VOIs. The LPS coordinate system, which stays for Left, Posterior, Superior, is used in DICOM images and by the ITK toolkit. For more information, refer to slicer.org.
Draw new contours without holding [SHIFT] If checked, allows to draw new VOIs without holding the Shift key..
Display angle for line VOIs If checked, MIPAV will show an angle for line VOIs.
Crosshair cursor color Specifies the color of the crosshair cursor. You can choose from several colors and styles. By default, the color is set to "Default."
Active image border color Specifies the color of the border around images. When you click on this box, the Pick Active Color dialog box, which allows you to select a different color, opens. By default, the color is red. DialogboxPickActiveColor.jpg
VOI draw color Allows you to choose the color that is used to draw VOIs. After you finish drawing VOIs, the completed VOIs appear in the Starting VOI color.
Starting VOI color Specifies the initial color for completed VOIs. That is, when you draw VOIs, they appear in the color chosen for VOI draw color; the completely drawn VOIs appear in the color you selected for this field.
VOI point draw type Specifies the type of a VOI point, you can choose among 4 shapes: VoiCrosshair.jpg
Apply Saves and immediately applies all of the selected parameters in this dialog box.
Cancel Disregards any changes you made in this dialog box, closes the dialog box, and does not save the specified options.
Help Displays online help for this dialog box

The File tab in the MIPAV Options dialog box

File Tab
Prompt overwrite on save Displays a prompt, or a message, when you save a file under the same name as an already existing file. The message indicates that saving the file under the same name as an existing file overwrites the file.
File tab
Save all on save Saves the active image and all VOIs presently displayed on the image so that the next time you open the image MIPAV opens the image and VOIs. The VOIs are saved in a sub-directory of the directory in which the image is stored.By default, this check box is clear.
Always save .hdr/img files This options provides you with choices on how to save Analyze files, see Supported Formats. You can save them in format which you specify in the Save as dialog box. Or you can always save these files in one of specified formats, e.g. Analyze, Interfile, or Nifti. To learn more about MIPAV supported formats, see Supported Formats.
Always save .mnc files This options provides you with choices on how to save Minc files, see Supported Formats.
Save thumbnails for MIPAV XML files If checked, this option allows to save image thumbnails if saving in MIPAV XML format, allowing you to view the thumbnails in the image browser. See Supported Formats.
Default frame rate for Save image as AVI In this box, you can specify a default frame rate for AVI files, which would be used when saving images as .avi files. By default, this check box is clear. The default frame rate is set to 10.0.
Flip Y axis on NIFTI read IS and PA If checked, corrects some Y-axis origin and matrix issues when reading Nifti images that need to be flipped, see Supported Formats.
Save XML header with Analyze images Saves an XML header for an Analyze image when the image is saved. If you choose this option, the image has two headers: the normal header and an XML header. Both point to the image file. By default, this check box is clear.
Recently used image list You can specify here how many recently used images you would like to have on your list.
File filter default Specifies the types of files that should be shown in the Files of type box in the Open Image and Save Image as dialog boxes. Refer to "Choosing the default file types to display or save" for more information.
Temporary directory In this box you can specify the directory where MIPAV will temporary store file content, while reading/writing ZIP files.
Apply Saves and immediately applies all of the selected parameters in this dialog box.
Cancel Disregards any changes you made in this dialog box, closes the dialog box, and does not save the specified options.
Help Displays online help for this dialog box.

The Other tab in the MIPAV Options dialog box

Other Tab
Start DICOM receiver on start-up If checked, MIPAV will automatically start DICOM receiver on its next start.
Other tab of MIPAV Options dialog box
Multi-Threading enabled (2 cores) If checked, MIPAV will work in Multi-threading mode.
GPU Computing enabled If checked, enables graphical processing unit (GPU) volume rendering. if the GPU computing enabled option is grayed out in the MIPAV Options - Other dialog box, that means that you need either update your video card driver, or your video card, or both. For more information, refer to MIPAV system requirements - GPU computing and Cheng 2006.
Save dialog settings Saves the active dialog box settings in a log file.
Global data provenance Keeps a global record of all of the actions-algorithms and utilities-performed on images. The history may be viewed in the MIPAV system data provenance dialog box. By default, this check box is clear.
Image level data provenance Keeps a record of all of the actions-algorithms and utilities-performed on images. The history may be viewed in the Image data provenance dialog box while the actions are performed, or in the XMP file when an image is saved in MIPAV XML format. By default, this check box is clear.
LAX/Preferences memory check Enables MIPAV developers to debug the program. If you experience problems with the program, you may be asked to select this check box.

Recommendation:
Do not select this check box unless otherwise instructed by MIPAV development. By default, this check box is clear.

Check on closing frame Adds messages to confirm deletions of images. By default, this check box is clear.
Log errors to: Allows you to select the file in which MIPAV records any errors that occur. By default MIPAV logs errors to C:\Program Files\mipav\mipav.log unless the name and path of the log file was changed during installation.
Debug levels: Minor Records only minor error messages in mipav.log.
Debug levels: Algorithm Records only error messages with algorithms in mipav.log.
Debug levels: FileIO Records only FileIO (file input and output) error messages in mipav.log.
Debug levels: Comms Records only error messages involving communications in mipav.log.
Debug levels: Scripts

Records all error messages in mipav.log.

Apply Saves and immediately applies all of the selected parameters in this dialog box.
Cancel Disregards any changes you made in this dialog box, closes the dialog box, and does not save the specified options.
Help Displays online help for this dialog box.

Showing and hiding the splash screen on start-up

The splash screen is the window that first appears briefly when you start MIPAV. It appears immediately before the MIPAV window and the Output window open. The splash screen displays the name of the program and the MIPAV logo.

By default, MIPAV always displays the splash screen on start-up unless you decide to hide it. To do so, you need to change the option in the MIPAV Options dialog box.

To hide the splash screen or prevent it from appearing on start-up

  1. Select Help > Program Options. The MIPAV Options dialog box opens.
  2. Clear the Display Splash Screen box.
  3. Click Close. After you quit MIPAV and then start it again, the splash screen doesn't appear.

After hiding the splash screen, you may later decide to display it.

To show the splash screen

  1. Select Help > Program Options. The MIPAV Options dialog box opens.
  2. Mark Display splash screen. A check mark appears in the check box.
  3. Click Apply, and then click Close. After you quit MIPAV and then start it again, the splash screen appears.

Debugging MIPAV

You can track debugging information and error messages generated by MIPAV during a session by placing it in debug mode. If errors occur during the session, the program displays any error messages in the Output window on the Debug page. By default, the debug mode is off when you start the program.

Recommendation: The debugging information is primarily intended for MIPAV developers and not for users. The best course for a user is to leave the debug mode Off unless a MIPAV developer asks for he/she to turn it on. For more information about MIPAV debug mode, please refer to Technical Support.

Saving a history of actions on images

MIPAV allows to keep a history of all of the actions(algorithms, utilities and transformations applied) performed on images. The history includes the specific parameters that were set for the action. Each time an image is modified and saved in MIPAV (no matter in which format) the history of actions and their parameters appears in the corresponding .xmp file (an XML file).

Note: By default, MIPAV does not record a history of actions unless you specifically select the Global data provenance and Image data provenance check boxes in the MIPAV Options > Other dialog box.

To keep a global record of all of the actions-algorithms and utilities-performed on images, check the Global data provenance box. The history appears in the MIPAV system data provenance dialog box.

To keep a local record of all of the actions-algorithms and utilities-performed on an image(s), check the Image level data provenance box. The history appears in the Image data provenance dialog box while the actions are performed, or in the XMP file when an image is saved in MIPAV XML format.

MIPAV System Data Provenance dialog box

MIPAV Data Provenance dialog box

The dialog box appears when you call Help > MIPAV Data Provenance menu. It shows a global history of actions performed in MIPAV including timestamps of each action, a user name,a MIPAV algorithm/utility, a JVM version and MIPAV version. This information can be saved as a data provenance (XMP) file in MIPAV XML format.

To view the history of actions recorded in the XML (XMP) file:

  1. Save the sample image as an XML file by selecting File > Save Image as. The Save Image as dialog box opens.
  2. Select the directory where you want to save the file in the Save in box.
  3. Type the name of the file. For example, use SampleImage as the file name-and type an .xml file extension in the File Name box.
  4. Click Save.
  5. Open Windows Explorer by right-clicking on Start and then selecting Explore. The Windows Explorer window opens.
  6. Navigate to the directory where you stored the XML file. This directory should have 3 files named "SampleImage": SampleImage.xml, SampleImage.raw, and SampleImage.xmp. The history of actions performed on an image is saved in SampleImage.xmp.
  7. Open the .xmp file in an Internet browser (or in Notepad). You will see the history of actions recorded between <provenance> and </provenance> tags. Note that the information includes not only a list of algorithms and utilities applied ti an image file, but also timestamps for all actions performed, user names, host names, OS, and algorithm arguments.

A example of history of actions performed on an image written in an XMP file

<?xml version="1.0" encoding="UTF-8"?>
<!-- MIPAV Data Provenance file -->
<provenance>
	<processStep>
		<program version="5.4.1">MIPAV</program>
		<programArguments inputs="">FrequencyFilter(Sample, "do_output_new_image boolean true", "do_process_in_2.5D boolean false", "do_crop_image boolean true", "kernel_diameter int 15", "filter_type int 2", "freq1 float 1.2566371", "freq2 float 0.7", "construction_method int 1", "butterworth_order int 0")</programArguments>
		<timeStamp>2012/3/24-10-29-59-136-Eastern Standard Time</timeStamp>
		<user>your_user_name</user>
		<hostName>YOUR_HOST_NAME</hostName>
		<architecture>x86</architecture>
		<platform version="6.0">Windows Vista</platform>
		<compiler version="1.6.0_31">java</compiler>
	</processStep>
	<processStep>
		<program version="5.4.1">MIPAV</program>
		<programArguments inputs="">SaveImageAs(Sample_freqFilter, "file_type string .xml", "file_name string Cell_Colony_freqFilter.xml")</programArguments>
		<timeStamp>2012/3/24-10-30-20-574-Eastern Standard Time</timeStamp>
		<user>your_user_name</user>
		<hostName>YOUR_HOST_NAME</hostName>
		<architecture>x86</architecture>
		<platform version="6.0">Windows Vista</platform>
		<compiler version="1.6.0_31">java</compiler>
	</processStep>
</provenance>

Choosing the default file types to display and/or save

When you using MIPAV, chances are that you are working with the same type of files every day or perhaps for a certain period of time. For example, suppose you normally work with medical files (files whose extensions are .dcm, .xml, .ima, .img, .mnc, .sig, .head, etc.). In this situation, when opening or saving images, you want to see only the medical files, not other file types. One of the ways of customizing MIPAV is the ability to show only specific types of files by default. See also: Image files supported by MIPAV.

The File Filter Default box on the MIPAV Options dialog box allows you to choose which types of files should be shown in the Files of type box in the Open Image and Save Image as dialog boxes.

To choose the default file types to display and/or save

  1. Select Help > MIPAV Options. The MIPAV Options dialog box opens.
  2. Click File. The File page appears.
  3. Click File filter default. The Choose File Filter dialog box appears.
  4. Select one of the file filters. You can choose one of the following collections of file types:
  • All (*.*)
  • AVI (*.avi)
  • Class files (*.class)
  • FreeSurfer (*.asc)
  • General (*.gif, *.jpeg, *.jpg, *.pict, *.psd, *.tif, *.tiff)
  • Graphs (*.plt)
  • Look-up tables files (*.lut)
  • Matrix files (*.mtx, *.mat)
  • Medical (*.dcm, *.xml, *.ima, *,img, *.mnc, *.sig, *.head)
  • Microscopy (*.avi, *.ics, *.lsm, *.pic, *.stk, *.tif, *.tiff, *.xml)
  • Misc. (*.avi, *.bmp, *.pcx, *.png, *.tga, *.xbm, *. xpm)
  • Optical (*.avi, *.bmp, *.img, *.jpg, *.pict, *.psd, *.tif, *.tiff, *.xml)
  • Project (*.xml)
  • Script files (*.sct)
  • Surface files (*.sur, *.wrl)
  • Transfer function files (*.fun)
  • VOI files (*.voi)
  • Nonlinear transformation files (*.nlt)
  • User Defined
  • Click OK. The Choose File Type dialog box closes and the file type you chose appears on the File filter default button.
  • Click Apply in the MIPAV Options dialog box. This change takes effect immediately.
  • To verify that the filters you chose are used as default filters

    1. Select File > Open > Image(A). The Open Image dialog box appears. The Files of type box should show the filters you chose.
    2. Select File > Save Image as. The Save Image as dialog box opens with the Files of type box listing the file filters you chose.

    Adding shortcuts

    MIPAV allows you to create shortcuts using the Ctrl, Alt, and Shift keys plus the alphanumeric key of your choice. Shortcuts provide a quick way for you to perform a command on a menu or a command on one of the MIPAV toolbars.

    Example: Suppose you frequently clone images. Rather than taking the time to select Utilities > Clone, you may find it easier and faster to simply press Ctrl C, the keys you assigned to the shortcut.

    To add shortcut keys

    Adding shortcut keys
    1. Select Help > Shortcut editor. The Shortcuts dialog box opens.
    2. Click Add. The New Shortcut dialog box opens.
    3. Select Ctrl, Alt, or Shift or any combination of these check boxes. You can select only one of these check boxes, or you can select any combination of these check boxes. Valid selections can include only Ctrl, only Alt, or only Shift, or you can select Ctrl and Alt, Ctrl and Shift, Alt and Shift, or all three of the check boxes.
    4. Type an alphanumeric character in Character, and then press OK.
    5. A message appears directing you to select a command on a menu or in a toolbar. Press OK again. The message disappears.
    6. Select a toolbar icon or select a command on a menu in the MIPAV window to which you want to assign this shortcut. A message appears indicating that the shortcut was successfully created.
    7. Click OK. The message disappears, and the shortcut appears on the Shortcuts dialog box.

    To remove shortcut keys

    1. Select Help > Shortcut editor. The Shortcuts dialog box opens.
    2. Select the shortcut you want to delete.
    3. Click Remove. MIPAV removes the shortcut, and the shortcut disappears from the list of shortcuts in the Shortcuts dialog box.
    4. Make sure you do want to delete this shortcut. You cannot undo the deletion.

    See also: