disp_lut — 查找表(lut)的图形视图。
disp_lut 已过时,仅出于向后兼容性考虑而保留。
disp_lut( : : WindowHandle, Row, Column, Scale : )
disp_lut displays a graphical view of the look-up-table (lut)
in the valid window. A look-up-table defines the transformation of
image gray values to colors/gray levels on the screen. On most systems
this can be modified.
disp_lut creates a graphical view of the table assigned to
the output window with the logical window number WindowHandle and
displays it for every basic color
(red, green, blue).
Row and Column define the position of the center of
the graphic.
Scale allows scaling of the graphic, whereby 1 means
displaying all 256 values, 2 means displaying 128 values, 3
means displaying only 64 values, etc.
Tables for monochrome-representations are displayed in the currently set
color (see set_color, set_rgb, etc.).
Tables for displaying “false colors” are viewed with red, green and blue
for each color component.
WindowHandle (输入控制) window → (handle)
窗口句柄。
Row (输入控制) point.y → (integer)
Row of center of the graphic.
默认值: 128
值范围:
0
≤
Row
≤
511
Column (输入控制) point.x → (integer)
Column of center of the graphic.
默认值: 128
值范围:
0
≤
Column
≤
511
Scale (输入控制) integer → (integer)
Scaling of the graphic.
默认值: 1
值列表: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
值范围:
0
≤
Scale
≤
20
disp_lut returns 2 (
H_MSG_TRUE)
if the hardware supports a look-up-table,
the window is valid and the parameters are correct.否则将抛出异常。
open_window,
set_lut,
set_fix,
set_pixel,
write_lut,
get_lut,
set_color
基础