Operator Reference

disp_lutT_disp_lutDispLutDispLutdisp_lut (Operator)

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

Warning

disp_lutdisp_lutDispLutDispLutdisp_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_lutDispLutDispLutdisp_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_lutDispLutDispLutdisp_lut creates a graphical view of the table assigned to the output window with the logical window number WindowHandleWindowHandleWindowHandlewindowHandlewindow_handle and displays it for every basic color (red, green, blue). RowRowRowrowrow and ColumnColumnColumncolumncolumn define the position of the center of the graphic. ScaleScaleScalescalescale 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_colorSetColorSetColorset_color, set_rgbset_rgbSetRgbSetRgbset_rgb, etc.). Tables for displaying “false colors” are viewed with red, green and blue for each color component.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

Parameters

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

Window handle.

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

Row of center of the graphic.

Default: 128

Value range: 0 ≤ Row Row Row row row ≤ 511

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

Column of center of the graphic.

Default: 128

Value range: 0 ≤ Column Column Column column column ≤ 511

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

Scaling of the graphic.

Default: 1

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

Value range: 0 ≤ Scale Scale Scale scale scale ≤ 20

Result

disp_lutdisp_lutDispLutDispLutdisp_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_lutSetLutSetLutset_lut

See also

open_windowopen_windowOpenWindowOpenWindowopen_window, set_lutset_lutSetLutSetLutset_lut, set_fixset_fixSetFixSetFixset_fix, set_pixelset_pixelSetPixelSetPixelset_pixel, write_lutwrite_lutWriteLutWriteLutwrite_lut, get_lutget_lutGetLutGetLutget_lut, set_colorset_colorSetColorSetColorset_color

Module

Foundation