set_lut_style ( : : Hue, Saturation, Intensity : )

Changing the look-up-table (lut).

set_lut_style changes the look-up-table (lut) of the device displaying the active output window. It has got three parameters: Hue: Rotation of color space, Hue = 1.9 conforms to a one-time rotation of the color space. No changement: Hue = 0.0 Complement colors: Hue = 0.5 Saturation Changement of saturation, No changement: Saturation = 1.0 Gray value image: Saturation = 0.0 Intensity Changement of intensity, No changement: Intensity = 1.0 Black image: Intensity = 0.0 Changement affects only the part of an look-up-table that is used for diplaying images. The parameter of modification remain until the next call of set_lut_style. Calling set_lut has got no effect on these parameters.


Parameters

Hue (input_control)
real -> real
Modification of color value.
Default value: 0.0
Range of values: 0.0 <= Hue <= 1.0
Restriction: (0.0 <= Hue) && (Hue <= 1.0)

Saturation (input_control)
real -> real
Modification of saturation.
Default value: 1.5
Range of values: 0.0 <= Saturation
Restriction: 0.0 <= Saturation

Intensity (input_control)
real -> real
Modification of intensity.
Default value: 1.5
Range of values: 0.0 <= Intensity
Restriction: 0.0 <= Intensity


Example
read_image(:Image:'affe':) >
set_lut(::'color':) >
repeat(:::) >
get_mbutton(:::Row,Column,Button) >
eval(::Row/300.0:Saturation) >
eval(::Column/512.0:Hue) >
set_lut_style(::Hue,Saturation,1.0:) >
until(::Button = 1:).

Result

set_lut_style returns TRUE if a window is activated and the parameter is correct. Otherwise an exception is raised.


Possible Predecessors

get_lut_style


Possible Successors

set_lut


Alternatives

set_lut, scale__


See also

get_lut_style



Copyright © 1996-1997 MVTec Software GmbH