HALCON Reference Manual 10.0.2
Table of Contents / Graphics / LUT ClassesClassesClasses | | | Operators

get_lutT_get_lutget_lutGetLutGetLut (Operator)

Name

get_lutT_get_lutget_lutGetLutGetLut — Get current look-up-table (lut).

Signature

get_lut( : : WindowHandle : LookUpTable)

Herror T_get_lut(const Htuple WindowHandle, Htuple* LookUpTable)

Herror get_lut(const HTuple& WindowHandle, HTuple* LookUpTable)

HTuple HWindow::GetLut() const

void HOperatorSetX.GetLut(
[in] VARIANT WindowHandle, [out] VARIANT* LookUpTable)

VARIANT HWindowX.GetLut()

static void HOperatorSet.GetLut(HTuple windowHandle, out HTuple lookUpTable)

HTuple HWindow.GetLut()

Description

get_lutget_lutget_lutGetLutGetLut returns the name or the values of the look-up-table (lut) of the window, currently used by disp_imagedisp_imagedisp_imageDispImageDispImage (or indirectly by disp_regiondisp_regiondisp_regionDispRegionDispRegion, etc.) for output. To set a look-up-table use set_lutset_lutset_lutSetLutSetLut. If the current table is a system table without any modification ( by set_fixset_fixset_fixSetFixSetFix ), the name of the table is returned. If it is a modified table, a table read from a file or a table for output with pseudo real colors, the RGB-values of the table are returned.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Window identifier.

LookUpTableLookUpTableLookUpTableLookUpTablelookUpTable (output_control)  string-array HTupleHTupleVARIANTHtuple (string / integer) (string / int / long) (char* / Hlong) (BSTR / Hlong) (char* / Hlong)

Name of look-up-table or tuple of RGB-values.

Result

get_lutget_lutget_lutGetLutGetLut returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.

Possible Successors

draw_lutdraw_lutdraw_lutDrawLutDrawLut, set_lutset_lutset_lutSetLutSetLut

Alternatives

set_fixset_fixset_fixSetFixSetFix, get_pixelget_pixelget_pixelGetPixelGetPixel

See also

set_lutset_lutset_lutSetLutSetLut, draw_lutdraw_lutdraw_lutDrawLutDrawLut

Module

Foundation


Table of Contents / Graphics / LUT ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH