Operator Reference

set_framegrabber_lutT_set_framegrabber_lutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut (Operator)

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

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_lutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut sets the look-up table (LUT) of the image acquisition device specified by AcqHandleAcqHandleAcqHandleacqHandleacq_handle. Note that this operation is not supported for all kinds of image acquisition devices.

Attention

For a multithreaded application, info_framegrabberinfo_framegrabberInfoFramegrabberInfoFramegrabberinfo_framegrabber, open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberopen_framegrabber, and close_framegrabberclose_framegrabberCloseFramegrabberCloseFramegrabberclose_framegrabber are executed exclusively.

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

Execution Information

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

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

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

Handle of the acquisition device to be used.

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

Red level of the LUT entries.

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

Green level of the LUT entries.

ImageBlueImageBlueImageBlueimageBlueimage_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_lutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut returns the value 2 ( H_MSG_TRUE) if the specified LUT is correct and the image acquisition device is open.

Possible Predecessors

open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberopen_framegrabber, get_framegrabber_lutget_framegrabber_lutGetFramegrabberLutGetFramegrabberLutget_framegrabber_lut

Possible Successors

grab_imagegrab_imageGrabImageGrabImagegrab_image, grab_datagrab_dataGrabDataGrabDatagrab_data, grab_image_startgrab_image_startGrabImageStartGrabImageStartgrab_image_start, grab_image_asyncgrab_image_asyncGrabImageAsyncGrabImageAsyncgrab_image_async, grab_data_asyncgrab_data_asyncGrabDataAsyncGrabDataAsyncgrab_data_async

See also

get_framegrabber_lutget_framegrabber_lutGetFramegrabberLutGetFramegrabberLutget_framegrabber_lut, open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberopen_framegrabber

Module

Foundation