After having executed the three lines of our program, the graphics window actually displays three layers of iconic variables: the image Clip, the region Region, and the tuple of regions ConnectedRegions (from bottom to top). Place the mouse pointer over the icons in the variable window to obtain basic information about the variables.
The display properties of images and the topmost region can be adjusted from the context menu of the graphics window. For images, the look-up table (henceforth called LUT) and the display mode (referred to as “paint”) can be set. The LUT specifies gray value mappings. Experiment with different settings: Right-click in the graphics window and select some values from the menus Lut and Paint. Make sure, the menu entry Apply Changes Immediately is checked. Notice how the display of the image changes while the regions remain unchanged.
The menu entries Colored, Color, Draw, Line Width, and Shape change the display properties of the topmost region. Set Draw to `margin', Color to `cyan', and Shape to `ellipse'. The display of ConnectedRegions (which is the topmost layer) changes accordingly. The region Region is still displayed in filled red.
A more convenient way to set many display properties at once is available through the menu entry Set Parameters. It opens the settings window displayed in figure 4.5.
After trying some settings, click the button Reset to restore the default visualization settings.
You cannot change the display properties of regions (or XLDs) other than the topmost. What you can do is rebuild the image stack in the graphics window manually by double-clicking iconic variables in the variable window and changing the properties each time another layer is added. The stack is cleared whenever an image is added that uses the full domain. To clear the stack (and thus the graphics window) manually, click (see figure 6.77).