00. 目录

文章目录

  • 00. 目录
  • 01. 概述
  • 02. 签名
  • 03. 描述
  • 04. 注意
  • 05. 参数
  • 06. 结果
  • 07. 附录

01. 概述

dev_inspect_ctrl — 打开一个窗口来检查一个或多个控制变量。

02. 签名

dev_inspect_ctrl( : : Variable : )

03. 描述

ev_inspect_ctrl 打开一个变量检查对话框来显示一个或多个控制变量的内容。此操作的结果与从变量窗口中控制变量的上下文菜单中选择“检查”相同。

标准变量检查窗口显示表格中的值以及一些可选的统计信息。对于某些语义类型,例如矩阵,存在一种特殊表示并默认使用。有关更多信息,请参阅 HDevelop 用户指南中的“检查变量”一章。

您可以在 Variable 中传递一组变量以打开多个变量的检查窗口。还可以通过将字符串文字作为元组的第一个元素来覆盖默认检查模式:

dev_inspect_ctrl 打开一个变量检查对话框来显示一个或多个控制变量的内容。此操作的结果与从变量窗口中控制变量的上下文菜单中选择“检查”相同。

标准变量检查窗口显示表格中的值以及一些可选的统计信息。对于某些语义类型,例如矩阵,存在一种特殊表示并默认使用。有关更多信息,请参阅 HDevelop 用户指南中的“检查变量”一章。

您可以在 Variable 中传递一组变量以打开多个变量的检查窗口。还可以通过将字符串文字作为元组的第一个元素来覆盖默认检查模式:

“tuple”:
即使变量的语义类型具有特殊表示,也会在默认检查窗口中显示值。

‘plot’:
根据元组索引绘制数值变量的值。

‘plot_xy’:
将数值变量的值绘制为 X-Y 对。变量的数量必须是偶数,每对变量具有相同的长度。

通常,只要变量发生变化,对话框的内容就会更新。但是,更新行为可能会受到运算符 dev_update_var 和更新变量首选项的影响。

可以通过按下关闭按钮或调用 dev_close_inspect_ctrl 来关闭对话框。

原文描述

dev_inspect_ctrl opens a variable inspect dialog to display the contents of one or more control variables. The result of this action is identical to selecting Inspect from the context menu of control variables in the variable window.

The standard variable inspection window displays the values in a table with some optional statistics. For some semantic types, e.g. matrices, a special representation exists and is used by default. For more information, see the chapter “Inspecting Variables” in the HDevelop User’s Guide.

You can pass a tuple of variables in Variable to open an inspection window for multiple variables. It is also possible to override the default inspection mode by including a string literal as the first element of the tuple:

‘tuple’:
Show the values in the default inspection window even if the semantic type of the variable has a special representation.

‘plot’:
Plot the values of numeric variables against their tuple index.

‘plot_xy’:
Plot the values of numeric variables as X-Y pairs. The number of variables must be even, with each pair of variables having the same length.

Normally, the contents of the dialog will be updated whenever the variables change. However, the update behavior can be influenced by the operator dev_update_var and the Update Variable preference.

The dialog can be closed by pressing the Close button or by calling dev_close_inspect_ctrl.

04. 注意

使用HDevelop的代码导出功能,为该算子生成的代码可能与相关的HALCON算子具有不同的行为。 有关将HDevelop图形算子导出为不同编程语言的代码的详细说明,请参阅“HDevelop User’s Guide” 中的Code Export -> General Aspects of Code Generation -> Graphics Windows一章。

05. 参数

WindowHandle (output_control) window → (handle)
Window句柄.

06. 结果

如果指定参数的值正确,则 dev_get_window 返回 2 (H_MSG_TRUE)。 否则会引发异常并返回错误代码。

HDevelop例程

程序示例

read_image (Image,'mreut')
threshold (Image, Region, 100, 200)
dev_open_window (1, 1, 200, 200, 'black', WindowID1)
dev_open_window (1, 220, 200, 200, 'black', WindowID2)
dev_get_window (CurrentWindowID)
dev_set_window (WindowID1)
dev_set_color ('blue')
dev_display (Image)
dev_display (Region)
dev_set_window(CurrentWindowID)

07. 附录

7.1 机器视觉博客汇总
网址:https://dengjin.blog.csdn.net/article/details/116837497

【机器视觉】 dev_inspect_ctrl算子相关推荐

  1. 机器视觉 边缘检测算子

    1.实验目的 利用opencv python实现对下图实现边缘检测算子. 2.实验过程 (1)在python安装opencv库, pip install opencv-python. (2)在pyth ...

  2. 【机器视觉】机器视觉博客汇总

    00. 目录 文章目录 00. 目录 01. 机器视觉概述 02. 机器视觉环境搭建 03. Halcon初级教程 04. Halcon中级教程 05. Halcon高级教程 06. Halcon与Q ...

  3. 拉普拉斯噪声公式_高斯拉普拉斯算子(Laplace of Gaussian)

    高斯拉普拉斯(Laplace of Gaussian) Laplace算子作为一种优秀的边缘检测算子,在边缘检测中得到了广泛的应用.该方法通过对图像 求图像的二阶倒数的零交叉点来实现边缘的检测,公式表 ...

  4. 【机器视觉】 dev_close_inspect_ctrl算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 dev_close_inspect_ctrl - ...

  5. python 视觉技术_python+opencv实现机器视觉基础技术(边缘提取,图像滤波,边缘检测算子,投影,车牌字符分割)...

    机器视觉是人工智能正在快速发展的一个分支.简单说来,机器视觉就是用机器代替人眼来做测量和判断.它是一项综合技术,包括图像处理.机械工程技术.控制.电光源照明.光学成像.传感器.模拟与数字视频技术.计算 ...

  6. 【机器视觉】 write_measure算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 write_measure - 将measure对 ...

  7. 【机器视觉】 translate_measure算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 translate_measure - 转换一个m ...

  8. 【机器视觉】 set_fuzzy_measure_norm_pair算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 set_fuzzy_measure_norm_pa ...

  9. 【机器视觉】 set_fuzzy_measure算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 set_fuzzy_measure - 指定一个模 ...

最新文章

  1. Spring Boot集成Sharding-jdbc + Mybatis-Plus实现分库分表
  2. java struts2相关记录
  3. R与Python之间该如何选择
  4. vue学习笔记——路由
  5. 读博是围城吗?为什么很多读博的人都觉得自己很惨?可我真的羡慕啊!
  6. oracle按时间点还原数据
  7. 关于网页授权的两种scope的区别说明
  8. android led灯框架_LED面板灯的特点:应用领域、产品结构与产品分类
  9. 【李宏毅机器学习】Gradient Descent_1 梯度下降(p5、p6、p7 )学习笔记
  10. c++语言中如果调用函数时,需要改变实参或者返回多个值,应该采取,C++综合练习题2...
  11. uboot加载linux内核加载那些内容,几个地址参数及uboot加载启动内核过程的理解
  12. 基于连接跟踪机制的状态防火墙的设计与实现
  13. acr122ua9读写软件_NFC读卡器ACR122U-A9 非接触型IC读写器 龙杰读卡器 IC解密器
  14. Python安装Talib库
  15. openwrt添加SLM750模块驱动
  16. phpstud使用教程_phpstudy使用方法详细图文教程
  17. 从产品角度看滴滴事件,滴滴顺风车业务存在的问题
  18. [QT学习]-调色板|选择文件
  19. android 写出棋盘效果,Android五子棋棋盘的绘制
  20. “前浪”微博财报里的悲喜两极

热门文章

  1. 关于动画培养灵感的网站
  2. 使用Nexus2.x为Maven3.x搭建私服构件仓库
  3. 解决.NET CF 3.5 Bitmap(Stream)未处理异常问题
  4. 深入掌握JMS(六):消息头
  5. python如何离线安装第三方模块_扣丁学堂python开发之第三方模块pip离线安装
  6. php gdk,gdk.php
  7. 最短路径Dijkstra(静态邻接表+优先队列模板)+ 记忆化搜索
  8. Codeforces Round #491 (Div. 2) E - Bus Number + 反思
  9. Ajax(jquery)
  10. 列出文件夹下所有文件命令