Parent Topic: DCP

PSEUDOCOLOUR COMMANDS

General Pseudocolour Command Syntax: DCP> P? n1,n2 ...

where ? is replaced by the particular command.

PSEUDOCOLOUR MEMORY COMMANDS AVAILABLE:

 PB:Pseudocolour Bar        PD:Pseudocolour Display  
 PL:Pseudocolour Listing    PM:Pseudocolour Modify  
 PP:Pseudocolour Paint      PR:Pseudocolour Roll
 PX:Pseudocolour Xfr        PZ:Pseudocolour Init

PB

Pseudocolour Bar draws a grey scale bar in the bottom 16 lines of the display.

 PB [n1]

 n1:      Control flag                          <0>
             n1 =  0  Draw grey scale bar
             n1 <> 0  Restore image data

PD

Pseudocolour Display displays an image plane in pseudocolour mode.

 PD [n1,n2]

 n1:      Image plane to show through PCM.    <last image>
 n2:      Type of pseudocolour table to use  <0>
            0: Table is not changed
            1: Smooth colour ramp
            2: Smooth grey scale ramp
            3: Stepped colour ramp
            4: Random colour map

PL

Pseudocolour Listing produces a pseudocolour listing of current output red, green, and blue values for each input grey level value. This command has no parameters.

 PL

PM

Pseudocolour Modify performs non-interactive pseudocolour modification.

 PM n1,n2,n3,n4,n5

 n1:      Start position in table (0-255)     <0>
 n2:      Stop position in table (0-255)      <0>
 n3:      Red value (0-255)                   <0>
 n4:      Green value (0-255)                 <0>
 n5:      Blue value (0-255)                  <0>
Grey levels n1 to n2 are set to the colour specified by n3, n4, and n5 (red, green, and blue).

PP

Pseudocolour Paint performs interactive painting.

 PP [n1,n2]

 n1:      Image plane to show through PCM     <last image>
 n2:      Initial PCM table for colour bar    <1>
            1: Smooth colour ramp
            2: Smooth grey scale ramp
            3: Stepped colour ramp
            4: Random colour map
The user is repeatedly prompted as follows:

 Choose option:   Select colour   Paint   Exit   [S/P/X]:
If "S" is chosen, the initial pseudocolour table specified by n2 is displayed in a colour bar at the bottom of the display, and the user is prompted to move the cursor to the desired colour. If "P" is chosen, then all pixels which have the same grey level as the pixel under the current cursor position are set to the colour chosen by the "S" option.

PR

Pseudocolour Roll rolls pseudocolour memory.

 PR [n1,n2,n3]

 n1:      number of units to roll per repeat  <1>
              n1 > 0: right roll
              n1 < 0: left roll
 n2:      number of repeats                   <1>
 n3:      tenths of seconds between repeats   <0>
The pseudocolour roll can be terminated before completion by typing any keyboard character during the roll.

PX

Pseudocolour Transfer transfers the lookup table for image n1 to the pseudocolour table.

 PX n1

 n1:      Image plane's LUT                   <0>
The result is a black-and-white pseudocolour table, where the RGB values for each grey level come from the lookup table for image plane n1.

PZ

Pseudocolour Initialize initializes pseudocolour memory.

 PZ [n1]

 n1:     Type of pseudocolour table to use   <1>
            1: Smooth colour ramp
            2: Smooth grey-scale ramp
            3: Stepped colour ramp
            4: Random colour map
Pseudocolour memory is not shown if not enabled. Use the PD command to enable pseudocolour memory.


Parent Topic: DCP
About PCI Help Gateway