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. The combo box Output Window determines the graphics window, in which the result is displayed. Use this to interactively set a “window” of gray values that should be displayed with a large dynamic range. Note that, not more than one scale operations can be visualized in the graphics window at the same time.
Click Insert Code to generate HDevelop code that performs the currently visualized scale operation in your program. The code is inserted at the IC.