Article View: comp.soft-sys.khoros
Article #1051Re: colormaps?
From: Joachim Glaubrecht #Alwd#
Date: Mon, 11 Jan 1993 11:37
Date: Mon, 11 Jan 1993 11:37
34 lines
1897 bytes
1897 bytes
In article <SCHULTZ.93Jan8170850@halley.est.3m.com> schultz@halley.est.3m.com (John C. Schultz) writes: >Basically I do not understand how colormaps should/can be used. For a >single band image is it valid to think of them as a lookup table? > ... > For example the kitten >image distributed with Khoros looks the same on an 8 bit SPARC display >whether I use the colormap or not. Why? hi, sorry, i do not understand the question, but the task is quite simple: one-band khoros images look like this: header map image-data ------=====+++++++++++++++... if there IS a map, and you use putimage to display the image, a byte/int/short from the image-data is taken and map[image-data] is displayed. if you use "putimage -use_cmap false" the "raw" image-data WITHOUT the map information is used. the image-processing tools ALWAYS use the mapped information, so it is NOT GOOD to add optional maps INSIDE the image. you can use "stand allown" map-files with the "[-cmap_image]" parameter form putimage. -- ___ _________________________________________ >>>>>>>>><<<<<<<<< / / _____ ! jogl@tolkien.imib.rwth-aachen.de ! >>> ATTENTION: <<< __/__/_/ Gl ! Inst. f. med.Inform. & Biometrie (IMIB) ! NEW EMail-Address /_/ !___Never_send_a_boy_to_do_a_man's_job____! (imsd --> imib)
Technical Details
Message-ID:
<1irm5pINN1k1@urmel.informatik.rwth-aachen.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!spool.mu.edu!yale.edu!ira.uka.de!Germany.EU.net!urmel.informatik.rwth-aachen.de!merry.imib.rwth-aachen.de!joglReferences:
<SCHULTZ.93Jan8170850@halley.est.3m.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!spool.mu.edu!yale.edu!ira.uka.de!Germany.EU.net!urmel.informatik.rwth-aachen.de!merry.imib.rwth-aachen.de!jogl From: jogl@merry.imib.rwth-aachen.de (Joachim Glaubrecht #Alwd#) Newsgroups: comp.soft-sys.khoros Subject: Re: colormaps? Date: 11 Jan 1993 11:37:29 GMT Organization: Institut f. Med. Statistics @ Dokumentation Lines: 34 Distribution: comp Message-ID: <1irm5pINN1k1@urmel.informatik.rwth-aachen.de> References: <SCHULTZ.93Jan8170850@halley.est.3m.com> NNTP-Posting-Host: merry.imib.rwth-aachen.de