set_framegrabber_lutT_set_framegrabber_lutSetFramegrabberLutSetFramegrabberLut (Operator)

Name

set_framegrabber_lutT_set_framegrabber_lutSetFramegrabberLutSetFramegrabberLut — Set look-up table of the image acquisition device.

Signature

set_framegrabber_lut( : : AcqHandle, ImageRed, ImageGreen, ImageBlue : )

Herror T_set_framegrabber_lut(const Htuple AcqHandle, const Htuple ImageRed, const Htuple ImageGreen, const Htuple ImageBlue)

void SetFramegrabberLut(const HTuple& AcqHandle, const HTuple& ImageRed, const HTuple& ImageGreen, const HTuple& ImageBlue)

void HFramegrabber::SetFramegrabberLut(const HTuple& ImageRed, const HTuple& ImageGreen, const HTuple& ImageBlue) const

static void HOperatorSet.SetFramegrabberLut(HTuple acqHandle, HTuple imageRed, HTuple imageGreen, HTuple imageBlue)

void HFramegrabber.SetFramegrabberLut(HTuple imageRed, HTuple imageGreen, HTuple imageBlue)

Description

The operator set_framegrabber_lutset_framegrabber_lutSetFramegrabberLutSetFramegrabberLutSetFramegrabberLut sets the look-up table (LUT) of the image acquisition device specified by AcqHandleAcqHandleAcqHandleAcqHandleacqHandle. Note that this operation is not supported for all kinds of image acquisition devices.

Attention

For a multithreaded application all image acquisition operators (as listed in open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabber) are an own group in which info_framegrabberinfo_framegrabberInfoFramegrabberInfoFramegrabberInfoFramegrabber, open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabber, close_framegrabberclose_framegrabberCloseFramegrabberCloseFramegrabberCloseFramegrabber and close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbersCloseAllFramegrabbers are executed exclusively.

set_framegrabber_lutset_framegrabber_lutSetFramegrabberLutSetFramegrabberLutSetFramegrabberLut runs in parallel with all non-exclusive operators inside and outside of this group.

Execution Information

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

AcqHandleAcqHandleAcqHandleAcqHandleacqHandle (input_control, state is modified)  framegrabber HFramegrabber, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the acquisition device to be used.

ImageRedImageRedImageRedImageRedimageRed (input_control)  integer-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Red level of the LUT entries.

ImageGreenImageGreenImageGreenImageGreenimageGreen (input_control)  integer-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Green level of the LUT entries.

ImageBlueImageBlueImageBlueImageBlueimageBlue (input_control)  integer-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Blue level of the LUT entries.

Result

The operator set_framegrabber_lutset_framegrabber_lutSetFramegrabberLutSetFramegrabberLutSetFramegrabberLut returns the value 2 (H_MSG_TRUE) if the specified LUT is correct and the image acquisition device is open.

Possible Predecessors

open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabber, get_framegrabber_lutget_framegrabber_lutGetFramegrabberLutGetFramegrabberLutGetFramegrabberLut

Possible Successors

grab_imagegrab_imageGrabImageGrabImageGrabImage, grab_datagrab_dataGrabDataGrabDataGrabData, grab_image_startgrab_image_startGrabImageStartGrabImageStartGrabImageStart, grab_image_asyncgrab_image_asyncGrabImageAsyncGrabImageAsyncGrabImageAsync, grab_data_asyncgrab_data_asyncGrabDataAsyncGrabDataAsyncGrabDataAsync

See also

get_framegrabber_lutget_framegrabber_lutGetFramegrabberLutGetFramegrabberLutGetFramegrabberLut, open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabber

Module

Foundation