When the Editor window opens, it shows the current SRView colormaps.
The image colormap is the set of 64 colors used by SRView to
display images.
The transparent mask colormap is the set of 32 colors used to
display
transparent masks over images. The opaque mask colormap is the
set
of 10 colors used to display masks in the "opaque" mask mode.
Cell
0 of the opaque colormap is normally used to show mask pixels in the
opaque
mask mode. Cells 1 and 2 are used in the "Two-Color Mask Display"
mode
to show mask pixels having values 1 and 2, respectively. Cells 1
and
2 are used in the "Multi-Color Mask Display" mode to show mask pixels
having
values 101 and 102, respectively. Cells 3 - 9 are used in the
multi-color
mask mode to show mask pixels having values 1 - 7, respectively.
For
more information on mask display modes, see "Multilevel Masks" in the
Quick
Start section of this manual.
To change colors in a colormap, first click (left mouse button) on a
color in the "Select Color" squares on the left of the window.
The color
is displayed in the "Selected Color" rectangle on the upper right side
of
the window. The upper rectangle on the lower left of the window
is
a color ramp from white to black. The lower two rectangles are
color
ramps from from black to the selected color and from the selected color
to
white. Colors can also be selected from the ramps by clicking on
them.
Once the desired color is in the "Selected Color" rectangle, click down
on that rectangle, drag the cursor to a colormap, and release the mouse
on the colormap cell to be changed. The number of the cell under
the cursor is shown on the right end of the colormap. The cells
between any two cells of a colormap can be linearly interpolated
between those two cell
colors by clicking down on one of the two cells, dragging to the other
cell,
and releasing the mouse button.
To open a lookup table file in the editor, click on "Open". A
file selection dialog opens to let you select the lookup table file.
Click "Save" to save a color table to a file.
A
file selection dialog opens to let you select where to save the lookup
table
and the name to give it. It has a default name of "default.lut"
in
the dialog box, and uses the current directory as the default
directory.
The new name you type isn't checked for an existing file by that name,
so it will overwrite a file. If you save default.lut in a
directory, SRView will read it when it is started in that
directory. You can
use any name for the lookup table, but you might want a suffix such as
.lut
to identify a lookup table.
Click "Apply" to apply the editor's current lookup table to SRView.