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

``Display'' - Display an image files in D4 or mdisplay

VFX name:
iDisplay.
IMPROMPTU name:
Display.
purpose:
Display a final resulting image or viewing intermediate results during the running of a process.
input:
An 8-bit volume.
output:
A D4 or mdisplay window displaying the volume.
parameters:
Default parameters menu is
display_program = mdisplay
window_title = ``title name''
icon_title = ``icon name''
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.


next up previous index
Next: ``Load'' - load a Up: Input/Output Previous: Input/Output
MultiDimensional Image Processing Lab, Penn State University