<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998) originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Look-Up Tables</TITLE> <META NAME="description" CONTENT="Look-Up Tables"> <META NAME="keywords" CONTENT="vol1"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <LINK REL="STYLESHEET" HREF="vol1.css"> <LINK REL="next" HREF="node104.html"> <LINK REL="previous" HREF="node102.html"> <LINK REL="up" HREF="node100.html"> <LINK REL="next" HREF="node104.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html1825" HREF="node104.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html1821" HREF="node100.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html1815" HREF="node102.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html1823" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <A NAME="tex2html1824" HREF="node216.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="icons.gif/index_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html1826" HREF="node104.html">Intensity Transformation Tables</A> <B> Up:</B> <A NAME="tex2html1822" HREF="node100.html">XWindow display</A> <B> Previous:</B> <A NAME="tex2html1816" HREF="node102.html">Using the Cursors</A> <BR> <BR> <!--End of Navigation Panel--> <H3><A NAME="SECTION001021300000000000000"> </A> <A NAME="x-look-up-tables"> </A> <BR> Look-Up Tables </H3> Look-up tables or LUTs are the tables that map the data in the image memory into colours on the display when the system is used in PseudoColor mode. <BR> In contrast to hardware display systems, the size of the LUT is not constant but depends upon how many colors are already used by other X applications running already. If less colors than a given <I>LUTmin</I> value are available, a so called <I>private</I> LUT is generated. This LUT is then only applicable when the focus is in that display window, changing the colors of all other windows in a nice psychedelic way (the <I>LUTmin</I> value is specified in the <TT>INITIALIZE/DISPLAY</TT> command). <BR> Commands exist to load LUTs into the image display, to modify the LUTs interactively and to read back LUTs from the image display. <BR> <BR> In RGB mode the unique LUT used is a ramp in the three colors. <BR> <BR> Some of the existing LUTs for PseudoColor mode are:<BLOCKQUOTE> <TT><TT>backgr </TT> <BR> <TT>color </TT> <BR> <TT>heat </TT> <BR> <TT>idl4, idl5, ...4, idl5, ...</TT> </TT>!inspired by the IDL system<TT> <BR> <TT>light </TT> <BR> <TT>pastel </TT> <BR> <TT>pseudo1, pseudo2</TT> <BR> <TT>rainbow, rainbow1</TT> ... <TT>rainbow4</TT> <BR> <TT>random, random1</TT> ... <TT>random4</TT> <BR> <TT>smooth</TT> <BR> <TT>staircase </TT> <BR> <TT>stairs8 </TT></TT></BLOCKQUOTE>Use the command <TT>TUTORIAL/LUT</TT> to see how some of the available LUTs actually look like and how to modify a LUT interactively. <BR> <BR> The main commands associated with LUTs are: <BR> <BR> <TT>LOAD/LUT</TT> - <I>load a look-up table </I> <BR> <TT>GET/LUT</TT> - <I>read back a look-up table </I> <BR> <TT>MODIFY/LUT</TT> - <I>interactively modify a look-up table </I> <BR> <TT>CLEAR/LUT</TT> - <I>bypass the look-up table </I> <BR> <TT>SET/LUT</TT> - <I>pass through a look-up table </I> <BR> <TT>DISPLAY/LUT</TT> - <I>show the look-up table as a colour bar </I> <BR> <TT>CREATE/LUT</TT> - <I>create a look-up table using the HSI colour model </I> <BR> <BR> Via the MIDAS application procedure (i.e. a procedure executed via the MIDAS command <TT>@a</TT>) <TT>vertlut.prg</TT> you can display the active LUT in a vertical bar at the left/right of the window with tick marks and intensities. <BR> <BR> Commands like <TT>MODIFY/LUT</TT> need a displacement. Use the <I>arrow</I> keys to move left, right and down (to thin) or up (to thicken) a colour bar. Again the speed of the movements is controlled via the keys 0, 1, ..., 9. <P> <HR> <!--Navigation Panel--> <A NAME="tex2html1825" HREF="node104.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html1821" HREF="node100.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html1815" HREF="node102.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html1823" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <A NAME="tex2html1824" HREF="node216.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="icons.gif/index_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html1826" HREF="node104.html">Intensity Transformation Tables</A> <B> Up:</B> <A NAME="tex2html1822" HREF="node100.html">XWindow display</A> <B> Previous:</B> <A NAME="tex2html1816" HREF="node102.html">Using the Cursors</A> <!--End of Navigation Panel--> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-09</I> </ADDRESS> </BODY> </HTML>