The 3 color maximum operator takes 3 input operands, transforms them according to assigned color settings and creates a virtual variable containing samples whose colors represent the maximum of the transformed operands. The algorithm is based on that described by Kloser et al.
The settings (Minimum color, Maximum color, Color display minimum, Color range) for each operand are entered on the 3 Color Maximum page of the Variable Properties dialog box. It may also be useful to specify the Color scheme for the new virtual variable on the Display page of the Variable Properties dialog box.
Each operand's sample values are transformed to scaled values. Samples with No_data value, result in an output sample color that represents the No_data color for the color scheme specified on the Display page of the Variable Properties dialog box.
The Scaled value algorithm is:
Scaled value = (Sample value – Color display minimum) / Color display range
Where:
Sample value
is the value of the sample in the original operand
Color display minimum
is Color display minimum on the 3 Color Maximum page of the Variable Properties dialog box.
Color display range
is the Color display range on the 3 Color Maximum page of the Variable Properties dialog box.
The scaled values from the operands are compared. The greatest scaled value (of the operands) becomes the Output color for the sample in the virtual variable.
|
If the greatest of the scaled values is |
greater than 1 |
the output color is set to the "above threshold" color for the Color scheme on the Display page of the Variable Properties dialog box. |
| between 0 and 1 | the output color is specified by the settings of the operand which had the greatest scaled value. If there is a tie the earlier operand wins (that is operand 1 before operand 2 before operand 3). The Output color is the linear interpolation between the Minimum color and the the Maximum color specified on the 3 Color Maximum page of the Variable Properties dialog box. | |
| less than 0 |
the output color is the “below threshold” color for the Color scheme on the Display page of the Variable Properties dialog box. |
3 color maximum operator
3 color maximum settings
3 color maximum keyboard shortcuts