next up previous contents index
Next:   SEQUENCE Up: The KEYBOARD INTERFACE: Command Previous:   RUN MACRO


  SELECT PIXEL OPERATION

The SELECT PIXEL OPERATION command allows particular pixels to be selected for either multiplication or addition operations with a scalar, depending on an input intensity value criterion. The user can select either pixels which have an intensity greater than an input constant, or pixels which have an intensity less than an input constant. The pixels selected may either be multiplied by an input scalar, or added to an input scalar. The operations take place within the main program array.

This operation may be of use in ``flagging'' over-loaded pixels.

Here is an example of the program output when all pixel values with greater than 700 have been multiplied by 1.5.

Main menu: ENTER COMMAND [HELP]:select
GREATER THAN COMPARISON [YES]:?
"YES" if pixels are to be selected by a greater than comparison (exclusive)
"NO" if pixels are to be selected by a lesser than comparison (exclusive).
GREATER THAN COMPARISON [YES]:
DECISION PIXEL VALUE [16382.5]:?
Input pixel value for comparison
DECISION PIXEL VALUE [16382.5]:700
MULTIPLICATION ("NO" = ADDITION) [YES]:?
"YES" if the pixel values are to be multiplied by a constant, "NO" if a
constant is to be added to the selected pixels.
MULTIPLICATION ("NO" = ADDITION) [YES]:
OPERAND VALUE [0.0]:?
Input value to multiply or add to pixel values
OPERAND VALUE [0.0]:1.5



Andrew Hammersley
2004-01-09