Operators |
set_fix — Set fixing of “look-up-table” (lut)
set_fix is obsolete and is only provided for reasons of backward compatibility.
set_fix( : : WindowHandle, Mode : )
Behaviour for Mode = 'true' : set_fix fixes that pixel lastly ascertained by one of the operators set_gray, set_color, set_hsi or set_rgb (Remark: Here a pixel is the index within the current look-up-table). To assign a new color to a fixed pixel set a color or gray value by using set_color, set_rgb, set_hsi or set_gray. This makes it possible to define any color (set_color), any gray value (set_gray) and any color combination (set_rgb, set_hsi) at any position of the look-up-table.
Mode set to 'false' reset the fixing. To modify or create a look-up-table process set_pixel, set_fix(::WindowHandle,'true':) , set_rgb and set_fix(::WindowHandle,'false':) one after another.
As a side effect set_fix can change colors of “non-HALCON windows”.
Window handle.
Mode of fixing.
Default value: 'true'
List of values: 'false' , 'true'
set_fix returns 2 (H_MSG_TRUE) if the window is valid, the hardware supports a look-up-table and all parameters are correct. Otherwise an exception is raised.
get_fix, set_pixel, set_rgb, set_color, set_hsi, set_gray
Foundation
Operators |