Skip to content

set_framegrabber_lutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lutT_set_framegrabber_lut🔗

Short description🔗

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

Signature🔗

set_framegrabber_lut( framegrabber AcqHandle, integer ImageRed, integer ImageGreen, integer ImageBlue )void SetFramegrabberLut( const HTuple& AcqHandle, const HTuple& ImageRed, const HTuple& ImageGreen, const HTuple& ImageBlue )static void HOperatorSet.SetFramegrabberLut( HTuple acqHandle, 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

Herror T_set_framegrabber_lut( 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

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

Description🔗

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

Attention🔗

For a multithreaded application, info_framegrabberInfoFramegrabber, open_framegrabberOpenFramegrabber, and close_framegrabberCloseFramegrabber are executed exclusively.

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

Execution information🔗

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🔗

AcqHandleacqHandleacq_handle (input_control, state is modified) framegrabber → (handle)HTuple (HHandle)HFramegrabber, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the acquisition device to be used.

ImageRedimageRedimage_red (input_control) integer-array → (integer)HTuple (Hlong)HTuple (int / long)Sequence[int]Htuple (Hlong)

Red level of the LUT entries.

ImageGreenimageGreenimage_green (input_control) integer-array → (integer)HTuple (Hlong)HTuple (int / long)Sequence[int]Htuple (Hlong)

Green level of the LUT entries.

ImageBlueimageBlueimage_blue (input_control) integer-array → (integer)HTuple (Hlong)HTuple (int / long)Sequence[int]Htuple (Hlong)

Blue level of the LUT entries.

Result🔗

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

Combinations with other operators🔗

Combinations

Possible predecessors

open_framegrabberOpenFramegrabber, get_framegrabber_lutGetFramegrabberLut

Possible successors

grab_imageGrabImage, grab_dataGrabData, grab_image_startGrabImageStart, grab_image_asyncGrabImageAsync, grab_data_asyncGrabDataAsync

See also

get_framegrabber_lutGetFramegrabberLut, open_framegrabberOpenFramegrabber

Module🔗

Foundation