set_framegrabber_lutT_set_framegrabber_lutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut (Operator)

Name

set_framegrabber_lutT_set_framegrabber_lutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut — 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)

def set_framegrabber_lut(acq_handle: HHandle, image_red: Sequence[int], image_green: Sequence[int], image_blue: Sequence[int]) -> None

Description

The operator set_framegrabber_lutset_framegrabber_lutSetFramegrabberLutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut sets the look-up table (LUT) of the image acquisition device specified by AcqHandleAcqHandleAcqHandleAcqHandleacqHandleacq_handle. 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_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabberopen_framegrabber) are an own group in which info_framegrabberinfo_framegrabberInfoFramegrabberInfoFramegrabberInfoFramegrabberinfo_framegrabber, open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabberopen_framegrabber, close_framegrabberclose_framegrabberCloseFramegrabberCloseFramegrabberCloseFramegrabberclose_framegrabber and close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbersCloseAllFramegrabbersclose_all_framegrabbers are executed exclusively.

set_framegrabber_lutset_framegrabber_lutSetFramegrabberLutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut 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

AcqHandleAcqHandleAcqHandleAcqHandleacqHandleacq_handle (input_control, state is modified)  framegrabber HFramegrabber, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the acquisition device to be used.

ImageRedImageRedImageRedImageRedimageRedimage_red (input_control)  integer-array HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Red level of the LUT entries.

ImageGreenImageGreenImageGreenImageGreenimageGreenimage_green (input_control)  integer-array HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Green level of the LUT entries.

ImageBlueImageBlueImageBlueImageBlueimageBlueimage_blue (input_control)  integer-array HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Blue level of the LUT entries.

Result

The operator set_framegrabber_lutset_framegrabber_lutSetFramegrabberLutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut returns the value TRUE if the specified LUT is correct and the image acquisition device is open.

Possible Predecessors

open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabberopen_framegrabber, get_framegrabber_lutget_framegrabber_lutGetFramegrabberLutGetFramegrabberLutGetFramegrabberLutget_framegrabber_lut

Possible Successors

grab_imagegrab_imageGrabImageGrabImageGrabImagegrab_image, grab_datagrab_dataGrabDataGrabDataGrabDatagrab_data, grab_image_startgrab_image_startGrabImageStartGrabImageStartGrabImageStartgrab_image_start, grab_image_asyncgrab_image_asyncGrabImageAsyncGrabImageAsyncGrabImageAsyncgrab_image_async, grab_data_asyncgrab_data_asyncGrabDataAsyncGrabDataAsyncGrabDataAsyncgrab_data_async

See also

get_framegrabber_lutget_framegrabber_lutGetFramegrabberLutGetFramegrabberLutGetFramegrabberLutget_framegrabber_lut, open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabberopen_framegrabber

Module

Foundation