Next: LUTSAVE - Saves the current colour table of an graphics device in an NDF
Up: Specifications of KAPPA applications
Previous: LUTRAMPS - Loads the coloured-ramps lookup table
LUTREAD
- Loads an graphics device lookup table from an NDF
- Description:
- This application reads a lookup table stored in an NDF with
the standard format, and loads it into the current graphics device.
device.
- Usage:
-
lutread lut
-
- Arguments:
-
LUT = LITERAL (Read)
-
The file containing the lookup table. It is passed to the
Parameter LUT but not validated.
- Parameters:
-
DEVICE = DEVICE (Read)
-
Name of the graphics device whose colour table is to be changed.
[Current graphics device]
-
LUT = NDF (Read)
-
Name of the NDF containing the lookup table as its data
array. The LUT must be two-dimensional, the first dimension
being 3, and the second being arbitrary. Linear interpolation
is used to compress or expand the colour table if the second
dimension is different from the number of unreserved colour
indices. Also the LUT's values must lie in the range 0.0-1.0.
- Notes:
- This is a procedure that calls LUTABLE. Therefore, the parameters
cannot be specified on the command line. You will only be
prompted for the parameters if the device is not suitable or not
available, and/or the lookup table file could not be accessed.
Next: LUTSAVE - Saves the current colour table of an graphics device in an NDF
Up: Specifications of KAPPA applications
Previous: LUTRAMPS - Loads the coloured-ramps lookup table
KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2013 February 14
E-mail:starlink@jiscmail.ac.uk
Copyright © 2013 Science and Technology Facilities Council