To use imtool from within IRAF one must define the logical device and enable image cursor input. For example,
cl> reset stdimage = imt512would configure IRAF and imtool for use with a 512 pixel square frame buffer (image display image memory). A variety of frame buffer sizes are predefined; see the
imtoolrc file (normally in /usr/local/lib) for a
complete list of possible configurations.
cl> reset stdimcur = stdimage
stdimcur to "text"
disables the image cursor, allowing cursor values to be typed in interactively
in the terminal window. This is useful, for example, when running image
oriented programs from a simple terminal.
The display server has the capability of displaying the cursor (mouse) position and pixel value in image pixel units as the mouse is moved about in the window. In addition, text file cursor lists can be generated and displayed, or the image cursor can be read interactively from within IRAF. The image cursor may be called up at any time by typing
cl> =imcurinto the CL. Applications programs which read the interactive image cursor will do this automatically during program execution.
Imtool supports a number of special function keys and other keyboard
accelerators, a frame menu, a setup panel and so on.
Further information on the operation of imtool is given in the online manual
page, imtool(l) (a UNIX level manpage). Further information on the
use of the image cursor is given in the online help page cursors.