Parent Topic: DCP

BITPLANE COMMANDS

        BC:Bitplane Colour      BL:Bitplane Logic
        BD:Bitplane Display     BR:Bitplane Result

BC

Bitplane Colour colours a bitplane using the pseudocolour table. This does not cause the bitplane to appear if it is not already displayed (use BD to display the bitplane).

 BC [n1],n2[,n3,n4]

 n1:      Bitplane to be coloured        <last bitplane>
 n2:      Red grey level (or colour code)     <0>
 n3:      Green grey level                    <0>
 n4:      Blue grey level                     <0>
If n2,n3,n4 are all specified, the graphic plane colour is set explicitly to the specified RGB colour. If n3,n4 are not specified, and n2 is between 1 and 16, then n2 represents a colour code.

n1 is the bitplane, within an unspecified image plane, which will be assigned the given colour.

Bitplanes are bit-sliced planes within an image plane, and are numbered 1 to 8. Data are entered into bitplanes with the task BBT to create an O-map, which is then loaded to an image channel on the display before applying this group of interactive bitplane commands in DCP.

The available colour codes and their RGB values are listed below:

  n2   Colour           Red    Green    Blue

   1   Light Pink       255      127     255
   2   Pink             255       63     255
   3   Magenta          255        0     255
   4   Red              255        0       0
   5   Light Orange     255      127       0
   6   Orange           255       63       0
   7   Yellow           255      255       0
   8   White            255      255     255
   9   Black              0        0       0
  10   Forest Green       0      127       0
  11   Dark Green         0       63       0
  12   Green              0      255       0
  13   Blue               0        0     255
  14   Turquoise          0      127     255
  15   Dark Turquoise     0       63     255
  16   Cyan               0      255     255

BD

Bitplane Display displays a bitplane within an image plane.

 BD [n1,n2]

 n1:      Image plane of bitplane       <last image plane>
 n2:      Bitplane to display           <last bitplane>
n1 is the image plane onto which an O-map (created with BBT) has been loaded. The data in this image plane are organized in bitplanes.

n2 is the bitplane within the image plane that is to be displayed.

Bitplanes are bit-sliced planes within an image plane, and are numbered 1 to 8. Data are entered into bitplanes with the task BBT to create an O-map. This O-map is then loaded to an image channel on the display before applying this group of interactive bitplane commands in DCP.

BL

Bitplane Logic performs bitplane logical operations.

 BL [n1],n2

 n1:    Image plane of bitplane         <last image plane>
 n2:    Logical expression of bitplanes <>
n1 is the image plane onto which an O-map (created with BBT) has been loaded. The data in this image plane are organized in bitplanes.

n2 is a logical expression consisting of any syntactically correct combination of logical operators, bitplane numbers, and parentheses. The simple logical operators are as follows:

 Operator   Type     Example
 +-------------------------+
 AND       binary   1 AND 2
 OR        binary   3 OR 4
 XOR       binary   1 XOR 4
 SUB       binary   5 SUB 3
 NOT       unary    NOT (6)
These simple operators can be combined into more complex forms such as:

 DCP>BL1, (1 AND 2) XOR (3 OR 4) XOR NOT (6)
The simple logical operators have the following truth tables:

  i | j | i AND j    i | j | i OR j    i | j | i XOR j
 +--+---+--------   ---+---+-------   ---+---+--------
  0 | 0 |    0       0 | 0 |    0      0 | 0 |    0
  0 | 1 |    0       0 | 1 |    1      0 | 1 |    1
  1 | 0 |    0       1 | 0 |    1      1 | 0 |    1
  1 | 1 |    1       1 | 1 |    1      1 | 1 |    0

  i | j | i SUB j = i AND NOT j        i | NOT i
 +--+---+--------                     ---+------
  0 | 0 |    0                         0 |   1
  0 | 1 |    0                         1 |   0
  1 | 0 |    1
  1 | 1 |    0
The logical operation is a non-destructive operation (does not change the data), that is performed using the display pseudocolour table. Each logical expression causes the colour table to be manipulated such that only the results of the logical expression are visible. The colour in which the results are shown can be modified with the BR (Bitplane Result) command.

See the task OLO (Overlay Logical Operation) for database logical operations using a pseudocolour table saved from the display.

BR

Bitplane Result sets the colour of the result of a logical bitplane operation (the results of a BL command). This changes only the colour of a currently showing logical result of a bitplane operation, but not the colours of single bitplanes.

 BR n1[,n2,n3]

 n1:      Red grey level (or colour code)     <0>
 n2:      Green grey level                    <0>
 n3:      Blue grey level                     <0>
If n1,n2,n3 are all specified, the bitplane colour is set explicitly to the specified RGB colour. If n2,n3 are not specified, and n1 is between 1 and 16, then n1 represents a colour code.

The available colour codes and their RGB values are shown below:

  n1   Colour           Red    Green    Blue

   1   Light Pink       255      127     255
   2   Pink             255       63     255
   3   Magenta          255        0     255
   4   Red              255        0       0
   5   Light Orange     255      127       0
   6   Orange           255       63       0
   7   Yellow           255      255       0
   8   White            255      255     255
   9   Black              0        0       0
  10   Forest Green       0      127       0
  11   Dark Green         0       63       0
  12   Green              0      255       0
  13   Blue               0        0     255
  14   Turquoise          0      127     255
  15   Dark Turquoise     0       63     255
  16   Cyan               0      255     255

Parent Topic: DCP
About PCI Help Gateway