disp_lutT_disp_lutDispLutDispLutdisp_lut (Operator)

Name

disp_lutT_disp_lutDispLutDispLutdisp_lut — Graphical view of the look-up-table (lut).

Warning

disp_lutdisp_lutDispLutDispLutDispLutdisp_lut is obsolete and is only provided for reasons of backward compatibility.

Signature

disp_lut( : : WindowHandle, Row, Column, Scale : )

Herror T_disp_lut(const Htuple WindowHandle, const Htuple Row, const Htuple Column, const Htuple Scale)

void DispLut(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Scale)

void HWindow::DispLut(Hlong Row, Hlong Column, Hlong Scale) const

static void HOperatorSet.DispLut(HTuple windowHandle, HTuple row, HTuple column, HTuple scale)

void HWindow.DispLut(int row, int column, int scale)

def disp_lut(window_handle: HHandle, row: int, column: int, scale: int) -> None

Description

disp_lutdisp_lutDispLutDispLutDispLutdisp_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_lutdisp_lutDispLutDispLutDispLutdisp_lut creates a graphical view of the table assigned to the output window with the logical window number WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle and displays it for every basic color (red, green, blue). RowRowRowRowrowrow and ColumnColumnColumnColumncolumncolumn define the position of the center of the graphic. ScaleScaleScaleScalescalescale 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_colorset_colorSetColorSetColorSetColorset_color, set_rgbset_rgbSetRgbSetRgbSetRgbset_rgb, etc.). Tables for displaying “false colors” are viewed with red, green and blue for each color component.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

RowRowRowRowrowrow (input_control)  point.y HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Row of center of the graphic.

Default value: 128

Typical range of values: 0 ≤ Row Row Row Row row row ≤ 511

ColumnColumnColumnColumncolumncolumn (input_control)  point.x HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Column of center of the graphic.

Default value: 128

Typical range of values: 0 ≤ Column Column Column Column column column ≤ 511

ScaleScaleScaleScalescalescale (input_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Scaling of the graphic.

Default value: 1

List of values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

Typical range of values: 0 ≤ Scale Scale Scale Scale scale scale ≤ 20

Result

disp_lutdisp_lutDispLutDispLutDispLutdisp_lut returns 2 (H_MSG_TRUE) if the hardware supports a look-up-table, the window is valid and the parameters are correct. Otherwise an exception is raised.

Possible Predecessors

set_lutset_lutSetLutSetLutSetLutset_lut

See also

open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window, set_lutset_lutSetLutSetLutSetLutset_lut, set_fixset_fixSetFixSetFixSetFixset_fix, set_pixelset_pixelSetPixelSetPixelSetPixelset_pixel, write_lutwrite_lutWriteLutWriteLutWriteLutwrite_lut, get_lutget_lutGetLutGetLutGetLutget_lut, set_colorset_colorSetColorSetColorSetColorset_color

Module

Foundation