Help for RGB2PSEUDO
rgb2pseudo takes a 24-bit RGB triplet (either 3 separate files or 3 bands
in a single file) and converts it to 8 bit (256 color) pseudo-color. The
resultant output consists of two files: one BYTE format image and one
VIDS format (IBIS tabular file) pseudo-color table file.
The purpose of rgb2pseudo is to select the "best" 256 colors with which to
view a given image, so that it may be displayed in color on workstations
which only display 256 colors simultaneously.
To view the pseudo-color image:
Pixel Pusher (Macintosh): Use "Open New Transfer" in the "File" menu
to open each of the two output files. For the Lookup table file,
use the "Attach to:" pop-up menu to select the image window, and
click on "Attach".
VIDS (VICAR systems): Display the image file with JDISP. Use the
JLOAD-PSEUDO command to load the lookup table file as a pseudo-
color table. Use the JPSEUDO command to put the device in pseudo-
color mode.
HISTORY: 6 March 1995 J. Turner (CRI) Made portable for UNIX
PARAMETERS:
INP
24 bit color input file names:
3 files (red, green, blue) OR
1 3-band file
OUT
Two output files: (image,lut)
NBITS
Number of most significant bits
of each color for histogram.
See Examples:
Cognizant Programmer: