Logical-constant Operations

Logical-constant Operations

This submenu contains the available logical operations between a buffer and a constant value. For logical operations between a pair of buffers, see [qA: ALU operations]. This option is effectively the same as performing an ALU operation on a pair of buffers, one of which is set to a constant value. Note, however, that the present option supports windowing, while the ALU operation does not.

A buffer AND constant.

This logical and may be used to select certain bit planes out of the image. If bit n is set in the constant, then the contents of bit pane n will be included in the resultant buffer.

B buffer NAND constant.

This option performs a logical NAND (NOT AND) operation.

C NOT(buffer) AND constant.

This option is similar to [A buffer AND constant] except that the contents of the buffer are first inverted.

M NOT(buffer) OR constant.

This option is similar to [O buffer OR constant] except that the contents of the buffer are first inverted.

N buffer NOR constant.

This option performs a logical NOR (NOT OR) function.

O buffer OR constant.

This option may be used to set specific bits within the image.

X buffer XOR constant.

This option may be used to toggle specific bit planes.

Y buffer XNOR constant.

This option performs the NOT(buffer XOR constant) operation.


Parent menu

Main Menu

DigImage User Documentation


Stuart Dalziel, last page update: 19 February 1996