GUI Structure

IRIS uses a graphical interface for the rendering and segmentation of volume data sets. This is the only way that one can practically segment data that is inherently 3-dimensional and it is through the GUI that the user interacts with the IRIS system.

Goals of the GUI system:

The aim of the GUI is enable the user to interactively view and segment images. The language that the GUI is written in should be portable to different platforms. We therefore could not write this using system specific languages such as the Microsoft Foundations classes. In addition, we wanted to use a language that was easy to use and allowed for rapid development and extendibility of the interface; something that is not allowed by using TCL/Tk. With this in mind FLTK was used (

Interface Layout :

The major componets of the GUI are :

Fig1 : The GUI

The whole of the GUI was created using FLUID, FLTK's graphical editor. In addition to the public member functions specified in the Coding Documentation, other FLTK specific private members are created by FLUID, but these do not affect how the system components interact with one another.

The toolbar is used to set the different modes that the program can be in - e.g. Polygon Drawing, Navigation etc. It also allows the user to change the contrast and brightness of the display and the choose different color labels for segmenting the scene. Each of these components are Widgets in FLTK.

The three 2-dimensional windows give views of the volume data set, each of which is orthogonal to the other. Therefore we have the XY, YZ, XZ views of the volume. It is through these windows that the user can view segmented regions of the data set and also to add to and modify old segmentations. All events in a child 2-d window are handled by that window itself. When the user is satisfied with the new segmentation they can click the Accept to commit it. The user can also flip through the slices using the associated scrollbar. Appropriate changes are then made to the segmented data. (Note: Events associated with scrollbars, buttons etc are handled by the GUI which processes the event and then calls the appropriate functions of the windows).

There is also a window that renders a 3-dimensional orthographic projection of the segmented regions (bottom left sub-window in fig 1.).

The 2-d and 3-d windows are implemented using OpenGL and the FLTK adaptation of this (FL_GL_Window). This type of window renders similar to OpenGL but handles events differently.