next up previous
Next: ``Load'' -- load Up: Input/Output Previous: Input/Output

 

``Display'' -- display a volume in a graphics window

 

purpose:
Display a volume in a graphics window. Useful for viewing intermediate and final results.
input:
An 8-bit volume.
output:
A graphics window displaying the volume.
parameters:
Default parameters menu is
display program = mdisplay
display volume # = 0
The display program can be set to either ``mdisplay'' or ``D4''. This function creates temporary files to hold the specified volume and runs the display program to pop up a window containing the volume. If the display program is not in your search path, the function will use the environment variables $MDISPLAYHOME or $D4HOME to try to locate the executable. These environment variables should be set to the directory containing the display program executable.

NOTE: This function creates temporary files each time it is executed, but the temporary files are NOT automatically deleted. By default, these files are created in /tmp (but this can be modified using the $TMPDIR environment variable, see the tempnam(3) manual page for details), and have the form ``vN_xxxxxxx.img'' and ``vN_xxxxxxx.hdr'', where N is volume number and ``xxxxxxx'' is a string supplied by the operating system. Users should periodically check for and delete these temporary files.

comments:
This step will only work when there is a windowing system running and the $DISPLAY environment variable is set. Take special care when using this step in batch mode.

 



 

Philip Americus
The Multidimensional Image Processing Lab
Fri Aug 30 10:26:42 EDT 1996