Article View: comp.soft-sys.khoros
Article #1061colormaps?
From: John C. Schultz
Date: Mon, 11 Jan 1993 15:04
Date: Mon, 11 Jan 1993 15:04
23 lines
1428 bytes
1428 bytes
... > Can I do this mapping? Waht data does > EDITIMAGE see - the 8 bit or the 16 bit? Editimage gets the 16bit data but maps them according to the map. So the data you interactively work with is the result from the mapping process(8bit). Unfortunately putimage seems to know about the underlying data so that the pixel display shows real image intensities, not just the 8 bit displayed intensities. Editimage seems to operate on only the 8 bit data. :-( > What happens if I use > the second map (which must be of type LONG or FLOAT) to store the > histogram? I only want 8 bits of data for the display but the "other" > colormap (which is actually a histogram) must be at least 4 bytes/entry. You cannot have two different data storage types for maps in a single viff file. As the Histogram is not really a map anyway, i'd suggest writing it into another file. While I might end up doing this, my preference was to stay within the VIFF I/O structure so I did not end up reading/writing a lot of custom images. Thanks for the very understandable comments.
Technical Details
Message-ID:
<42539@pprg.eece.unm.edu.pprg.unm.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!fmsrl7!lynx.unm.edu!pprg.unm.edu!daemonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!fmsrl7!lynx.unm.edu!pprg.unm.edu!daemon From: schultz@hivehom.serc.3m.com (John C. Schultz) Newsgroups: comp.soft-sys.khoros Subject: colormaps? Message-ID: <42539@pprg.eece.unm.edu.pprg.unm.edu> Date: 11 Jan 93 15:04:35 GMT Sender: daemon@pprg.unm.edu Lines: 23