The scale operation maps the gray values between the green line and the red line to the full range (usually 0...255). See also scale_image.
The gray values of the image are scaled such that the gray value 0 of the scaled image corresponds to the selected minimum gray value and the gray value 255 to the selected maximum gray value. Again, the combo box Output Window determines the graphics window, in which the result is displayed. This mode is useful to interactively set a “window” of gray values that should be displayed with a large dynamic range.
You can define as many scale operations as you like, but only one of them may be visualized in the graphics window at the same time.
Click the button Insert Code to generate HDevelop code that performs the currently visualized scale operation in your program. The code is inserted at the IC.