This application allows manipulation of the
colour table of an
graphics device provided some data are, according to the
graphics database, already displayed upon the device. A
two-dimensional data array, stored in the input NDF structure, may
be nominated to assist in defining the colour table via an histogram
equalisation. There are two stages to the running of this
- The way in which the lookup table (LUT) is to distributed
amongst the pens (colour indices) of the colour table is
required. Some pens are reserved by KAPPA as a
for annotation. This application only modifies the unreserved
portion of the colour table.
- The lookup table is now chosen from a programmed selection or
read from an NDF.
The two stages may be repeated cyclically if desired. To exit the
loop give the null response, !, to a prompt. Looping will not
occur if the lookup table and the distribution method are supplied
on the command line.