set_framegrabber_lutT_set_framegrabber_lutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut (算子)
名称
set_framegrabber_lutT_set_framegrabber_lutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut — 设置图像采集设备的查找表。
签名
描述
算子 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.
注意
For a multithreaded application,
info_framegrabberinfo_framegrabberInfoFramegrabberInfoFramegrabberInfoFramegrabberinfo_framegrabber, open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabberopen_framegrabber, and
close_framegrabberclose_framegrabberCloseFramegrabberCloseFramegrabberCloseFramegrabberclose_framegrabber are executed exclusively.
set_framegrabber_lutset_framegrabber_lutSetFramegrabberLutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut runs in parallel with all non-exclusive
operators inside and outside of this group.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
此算子修改后续输入参数的状态:
在执行此算子时,若该参数值需在多个线程间使用,则必须对其访问进行同步。
参数
AcqHandleAcqHandleAcqHandleAcqHandleacqHandleacq_handle (输入控制,状态被修改) framegrabber → HFramegrabber, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the acquisition device to be used.
ImageRedImageRedImageRedImageRedimageRedimage_red (输入控制) integer-array → HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Red level of the LUT entries.
ImageGreenImageGreenImageGreenImageGreenimageGreenimage_green (输入控制) integer-array → HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Green level of the LUT entries.
ImageBlueImageBlueImageBlueImageBlueimageBlueimage_blue (输入控制) integer-array → HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Blue level of the LUT entries.
结果
算子 set_framegrabber_lutset_framegrabber_lutSetFramegrabberLutSetFramegrabberLutSetFramegrabberLutset_framegrabber_lut 返回值 2 (
H_MSG_TRUE)
if the specified LUT is correct and the image acquisition device is open.
可能的前趋
open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabberopen_framegrabber,
get_framegrabber_lutget_framegrabber_lutGetFramegrabberLutGetFramegrabberLutGetFramegrabberLutget_framegrabber_lut
可能的后继
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
另见
get_framegrabber_lutget_framegrabber_lutGetFramegrabberLutGetFramegrabberLutGetFramegrabberLutget_framegrabber_lut,
open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabberopen_framegrabber
模块
基础