Next: Registration modules
Up: Main Program
Previous: Control functions
Some features are common to many of the Matlab programs developed at
NRU. The usage of these is explained in this section.
Colormap editing: In many of the programs for visualisation of
image data, the change of colormap settings is made in the same
way.
Figure 2:
3-pane image viewer
|
In e.g. the 3-pane image viewer (Figure 2), changes
can be made by double clicking the shown colorbar using the mouse.
Left double clicking brings up the colormap selector (left in Figure
3). From its menu, colormaps can be selected from a
predefined list, and the current colormap inverted or edited. Editing
the colormap is done using the color editor (middle in Figure
3). Double clicking any color field brings up the single
color selecor (right in Figure 3), from which any RGB color
can be defined. To interpolate between two colors in the color editor,
right click the first color, and drag to the other color.
Figure 3:
Colormap selector, color editor and single color selector
|
To adjust limits of a given colormap, (e.g. in Figure
2), right double click the shown colorbar. This will
present til color limit selector (Figure 4)
Figure 4:
Color limit selector.
|
Changing the min and max values, will scale the current colormap to
these values, since values v>max are set to max, and v<min are set to min.
Note: In some programs, e.g. IIO and inspect, this functionality
is realised using input fields on the user interface.
Next: Registration modules
Up: Main Program
Previous: Control functions
Claus Svarer
2006-01-11