ClassesClassesClassesClasses | | | | Operators

disp_lutdisp_lutDispLutdisp_lutDispLutDispLut (Operator)

Name

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

Warning

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

Signature

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

Herror disp_lut(const Hlong WindowHandle, const Hlong Row, const Hlong Column, const Hlong Scale)

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

Herror disp_lut(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Scale)

void HWindow::DispLut(const HTuple& Row, const HTuple& Column, const HTuple& Scale) const

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

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

void HOperatorSetX.DispLut(
[in] VARIANT WindowHandle, [in] VARIANT Row, [in] VARIANT Column, [in] VARIANT Scale)

void HWindowX.DispLut(
[in] Hlong Row, [in] Hlong Column, [in] Hlong Scale)

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

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

Description

disp_lutdisp_lutDispLutdisp_lutDispLutDispLut 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_lutDispLutdisp_lutDispLutDispLut creates a graphical view of the table assigned to the output window with the logical window number WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle and displays it for every basic color (red, green, blue). RowRowRowRowRowrow and ColumnColumnColumnColumnColumncolumn define the position of the centre of the graphic. ScaleScaleScaleScaleScalescale allows scaling of the graphic, whereas 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_colorSetColorset_colorSetColorSetColor, set_rgbset_rgbSetRgbset_rgbSetRgbSetRgb, etc.). Tables for displaying “false colors” are viewed with red, green and blue for each color component.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Window handle.

RowRowRowRowRowrow (input_control)  point.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Row of centre of the graphic.

Default value: 128

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

ColumnColumnColumnColumnColumncolumn (input_control)  point.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Column of centre of the graphic.

Default value: 128

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

ScaleScaleScaleScaleScalescale (input_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (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

Example (HDevelop)

set_lut(WindowHandle,'color1')
disp_lut(WindowHandle,256,256,1)
get_mbutton(WindowHandle,_,_,_)
set_lut(WindowHandle,'sqrt')
disp_lut(WindowHandle,128,128,2)

Example (C)

set_lut(WindowHandle,"color1") ;
disp_lut(WindowHandle,256,256,1) ;
get_mbutton(WindowHandle,NULL,NULL,NULL) ;
set_lut(WindowHandle,"sqrt") ;
disp_lut(WindowHandle,128,128,2) ;

Example (HDevelop)

set_lut(WindowHandle,'color1')
disp_lut(WindowHandle,256,256,1)
get_mbutton(WindowHandle,_,_,_)
set_lut(WindowHandle,'sqrt')
disp_lut(WindowHandle,128,128,2)

Example (HDevelop)

set_lut(WindowHandle,'color1')
disp_lut(WindowHandle,256,256,1)
get_mbutton(WindowHandle,_,_,_)
set_lut(WindowHandle,'sqrt')
disp_lut(WindowHandle,128,128,2)

Example (HDevelop)

set_lut(WindowHandle,'color1')
disp_lut(WindowHandle,256,256,1)
get_mbutton(WindowHandle,_,_,_)
set_lut(WindowHandle,'sqrt')
disp_lut(WindowHandle,128,128,2)

Example (HDevelop)

set_lut(WindowHandle,'color1')
disp_lut(WindowHandle,256,256,1)
get_mbutton(WindowHandle,_,_,_)
set_lut(WindowHandle,'sqrt')
disp_lut(WindowHandle,128,128,2)

Result

disp_lutdisp_lutDispLutdisp_lutDispLutDispLut 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_lutSetLutset_lutSetLutSetLut

See also

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, set_lutset_lutSetLutset_lutSetLutSetLut, set_fixset_fixSetFixset_fixSetFixSetFix, set_pixelset_pixelSetPixelset_pixelSetPixelSetPixel, write_lutwrite_lutWriteLutwrite_lutWriteLutWriteLut, get_lutget_lutGetLutget_lutGetLutGetLut, set_colorset_colorSetColorset_colorSetColorSetColor

Module

Foundation


ClassesClassesClassesClasses | | | | Operators