00. 目录

文章目录

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

01. 概述

stop - 停止程序执行。

02. 签名

stop( : : : )

03. 描述

stop算子停止HDevelop程序的连续程序执行。 如果发生这种情况,即使下面有大量的注释或其他不可执行的程序行,PC(程序计数器)仍停留在stop语句(而不是放在下一个可执行程序行),以便直接显示程序中断的原因。

算子相当于菜单栏中的stop行动(F9)。 程序可以通过run(F5)继续。

可以通过在首选项对话框(preferences dialog)中设置时间参数来重新定义行为。 执行不会停止,而是在等待指定的时间段后继续执行。 在这段时间内,程序可以被F9中断或者由一个运行命令继续。 这由程序窗口第一列中的图标标记。

原文描述

The stop operator stops the continuous program execution of the HDevelop program. If this happens the PC remains on the stop statement (instead of being placed at the next executable program line) in order to show directly the reason for the program interruption even if numerous comments or other not executable program lines follow.

The operator is equivalent to the Stop action (F9) in the menu bar. The program can easily be continued by the Run action (F5).

It is possible to redefine the behavior by setting a time parameter in the preferences dialog. The execution will not stop but continue after waiting the specified period of time. Within this period of time the program can be interrupted by F9 or continued by one of the run commands. This is marked by an icon in the first column of the program window.

04. 注意

此算子不支持代码导出。

05. 参数

06. 结果

如果程序在stop语句处停止,则保留前一个算子的返回状态。 如果程序继续一个stop算子,stop总是返回2(H_MSG_TRUE)。

HDevelop例程

stop.hdev Stop the execution in a loop to view intermediate results
for.hdev Use a for loop to iterate over extracted blobs
display_operators.hdev Visualize results
crystal.hdev Extract hexagonally shaped crystals via local thresholding and region post-processing
comment.hdev Use comments and verbatim code export

程序示例

read_image (Image, 'fabrik')
regiongrowing (Image, Regions, 3, 3, 6, 100)
count_obj (Regions, Number)
dev_update_window ('off')
for i := 1 to Number by 1select_obj (Regions, RegionSelected, i)dev_clear_window ()dev_display (RegionSelected)stop ()
endfor

07. 附录

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

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

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

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

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

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

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

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

  4. 【机器视觉】 write_measure算子

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

  5. 【机器视觉】 translate_measure算子

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

  6. 【机器视觉】 set_fuzzy_measure_norm_pair算子

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

  7. 【机器视觉】 set_fuzzy_measure算子

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

  8. 【机器视觉】 serialize_measure算子

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

  9. 【机器视觉】 reset_fuzzy_measure算子

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

  10. 【机器视觉】 read_measure算子

    00. 目录 文章目录 00. 目录 01. 概述 02. 签名 03. 描述 04. 注意 05. 参数 06. 结果 07. 附录 01. 概述 read_measure - 从文件中读取一个me ...

最新文章

  1. python怎么读文件夹下的文件夹-python2.7读取文件夹下所有文件名称及内容的方法...
  2. 通过php获取文件后缀名怎么改,【转】PHP获取文件后缀名的几种方法
  3. 【解决方案】无法将grub-efi-amd64-signed软件包安装到/target/【安装Ubuntu】
  4. 多问问自己想成为什么样的人
  5. Linux远程访问及控制(SSH、TCP Wrappers 访问控制)
  6. 项目服务接口设计_Spring Boot Security 整合 OAuth2 设计安全API接口服务
  7. FRR BGP协议分析17 -- labeled-unicast
  8. git 回退上一个版本_世界上最流行的版本控制系统Git
  9. 从零玩转第三方登录之QQ登录
  10. html打开网页一段时间字幕滚动,网页代码:求一个隔段时间可停顿的滚动字幕代码...
  11. 怎么把磁盘合并成一个?两个硬盘分区合并,如何硬盘分区合并
  12. 六足机器人步态与动力学仿真
  13. html书写表单laber,laber(labelhood是什么意思)
  14. Git基本命令及缩写
  15. 从零开始的Android:Android应用程序开发概述
  16. 最吸引人的引流话术_抖音流广告引流【日引312人小白】
  17. mac 中通过终端快速用 VsCode 打开当前目录,出现 command not found: code 问题解决方案
  18. openwrt u盘扩容 程序装U盘
  19. php系统 房信erp_房信ERP下载-房信ERP下载V4.1.7 安卓版-西西软件下载
  20. [转载]Java嵌入式开发之一-简介使用Java编写Palm OS程序的解决方案

热门文章

  1. 详解C调用lua脚本效率测试
  2. 启动指定参数_SpringBoot的三种启动方式
  3. c++ string 堆还是栈_5 个刁钻的 String 面试题!你都遇到过哪些?
  4. java 压缩汉字字节_java中计算汉字的字节数
  5. java中的jre里面有什么_Java中JRE介绍,JRE是什么
  6. vat可以退税吗_【涨知识】企业对外投资可以申请出口退税吗?
  7. UML大战需求分析阅读笔记——03
  8. window 任务管理器
  9. 第六章 SpringCloud之Ribbon负载均衡
  10. 年报统计系统—基本信息模块的目标文档