8 bit pseudo color in PV-WAVE. [message #245] |
Wed, 20 November 1991 10:56 |
ejdw
Messages: 1 Registered: November 1991
|
Junior Member |
|
|
In response to Jennifer Dungan's question:
> I read with interest a posting 2 days ago about the
> color_quan function in IDL. I tried it on a friend's
> system (a SPARC 2), and it worked well. I'm sorry I
> can't help with the VMS problem, but does anyone
> know if there is an equivalent function in PV-WAVE
> (i.e. a function that creates psuedo color tables
> for an 8 bit display based on red, green and blue
> images)?
>
> Jennifer Dungan
> NASA Ames Research Center
There is a routine in PV-WAVE to generate a psuedo true color table for
8 bit displays. The routine is called img_true8.pro. You must be running
version 3.1 of PV-WAVE and have installed the optional advanced rendering
library (arl). If you have installed these optional files, this is where
you will find the routine:
$WAVE_DIR/demo/applications/arl/lib
The procedure takes as inputs three arrays that contain the red, green, and
blue components of a 24 bit image and returns a single 8 bit image as well
as the corresponding red, green, and blue colortable arrays. There is an
example program that uses this routine in the following directory:
$WAVE_DIR/demo/applications/arl/examples
The example program is called, img_demo1.pro.
Jeff Wille
Precision Visuals, Inc.
--
*** Jeff Wille boulder!pvi!ejdw ***
*** Precision Visuals, Inc. ***
*** Boulder, Colorado ***
*** (303)530-9000 Disclaimer: mine... ***
|
|
|