halcon中面到面的距离_HALCON基础知识

HALCON

1.语法范式Syntax Style

1.1.基本格式

1.1.1.算子格式

算子(输入图像参数:输出图像参数:输入控制参数:输出控制参数)

其中四个参数任意一个可以为空

** threshold算子,1 Image Para input : Image ;2 Image Para output :Region ;

**3 Control Para input : MinGray,MaxGray4 Control Para output :无

2.get_image_pointer1(: : :,,,)

** threshold算子,1 Image Para input : Image ;2 Image Para output :无;

**3 Control Para input : 无4 Control Para output :,,,

1.1.2.程序结构

HDEV即HALCONDevelop,相当于VC中sln,solution。dev下面有很多窗口。

Switches the update of the PC during program execution on or off.

Switch time measurement for operators on or off.

Switches the update of the variable window during program execution on or off.

Switches the automatic output of iconic output objects into the graphics window during program execution on or off.

1.1.3.符号

这里主要列出一些和C/C++含义不同的符号,以及HALCON中一些重要符号。

编号

符号

符号含义

1

*

注释符号

2

:=

赋值符号,和C中不同

3

=

逻辑符号,判断相等,相对于C中的’==’

4

\

转义符号,至少可以在用于换行的转义,’\+Enter’就可以续行了

5

$

变量指示符号,e.g. +Distance$'.3'表示将变量Distance写成3个字长的字符串形式

6

F1

Help文档,直接看算子

7

F2

回滚到程序头

8

F3/F4

激活/注销此行代码

9

F5

运行程

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值