Next: Running LUTEDIT
Up: Creating Lookup Tables
Previous: Creating Lookup Tables
You can make a text file of the RGB intensities and use
TRANDAT to create the NDF , or manipulate
the colour table and then save it in a lookup-table NDF. If you
choose the second option remember that all RGB intensities must lie in
the range 0.0-1.0, where 1.0 is the maximum intensity; and that equal
red, green, and blue intensities yields a shade of grey. So for
example if you want a six equal blocks of red, blue, yellow, pink,
sienna and turquoise you could create the text file col6.dat
with contents
# Red, blue, yellow, pink, sienna, and turquoise LUT
1.0 0.0 0.0
0.0 0.0 1.0
1.0 1.0 0.0
0.9 0.56 0.56
0.56 0.42 0.14
0.68 0.92 0.92
and then run TRANDAT to make the NDF called collut6.
% trandat col6 collut6 shape='[3,6]' auto
Next: Running LUTEDIT
Up: Creating Lookup Tables
Previous: Creating Lookup Tables
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