当前位置:网站首页>【Halcon视觉】编程逻辑
【Halcon视觉】编程逻辑
2022-07-26 10:16:00 【文布斯】
Halcon编程中,主要有三种逻辑。
(1)顺序结构:从上到下,单步运行。
(2)选择结构:if...endif...
(3)循环结构:for...endfor... while...endwhile...

*编程逻辑
a:=2
b:=6
c:=8
d:=0
*选择逻辑
if ((a<b or a<c) and a>0 )
d:=a
endif
*循环逻辑
My_MaxVal:=0
k:=[a,b,c,d]
for Index := 0 to |k|-1 by 1
if (My_MaxVal<k[Index])
My_MaxVal:=k[Index]
endif
endfor
边栏推荐
- RecyclerView最后一条显示不全或显示部分的问题解决
- Introduction to latex, EPS picture bounding box
- 面试第一家公司的面试题及答案(一)
- Study notes at the end of summer vacation
- Azkaban [basic knowledge 01] core concepts + features +web interface + Architecture +job type (you can get started with Azkaban workflow scheduling system in one article)
- Learning about tensorflow (I)
- 30 minutes to thoroughly understand the synchronized lock upgrade process
- Basics of data communication - basic knowledge of network
- Leetcode 504. 七进制数
- 【Halcon视觉】极坐标变换
猜你喜欢

Data communication foundation STP principle

Common errors when starting projects in uniapp ---appid

Vs Code configures go locale and successfully installs go related plug-ins in vscode problem: Tools failed to install

【Halcon视觉】形态学膨胀

Data communication foundation TCPIP reference model

Learning about opencv (2)
![Azkaban [basic knowledge 01] core concepts + features +web interface + Architecture +job type (you can get started with Azkaban workflow scheduling system in one article)](/img/f9/c86ccbb0967894d370498c3a9630eb.png)
Azkaban [basic knowledge 01] core concepts + features +web interface + Architecture +job type (you can get started with Azkaban workflow scheduling system in one article)

Uniapp error 7 < Map >: marker ID should be a number

服务发现原理分析与源码解读

【Halcon视觉】图像滤波
随机推荐
Opencv image processing
What will the new Fuzhou Xiamen railway bring to Fujian coastal areas?
30分钟彻底弄懂 synchronized 锁升级过程
Show default image when wechat applet image cannot be displayed
Principle analysis and source code interpretation of service discovery
Use of pclint in vs2013
Interview shock 68: why does TCP need three handshakes?
The charm of SQL optimization! From 30248s to 0.001s
C language course design Tetris (Part 2)
Study notes of the fifth week of sophomore year
INSTALL_ FAILED_ SHARED_ USER_ Incompatible error resolution
Production of a-modal drag function in antui
Set view dynamic picture
Tower of Hanoi II | tower of Hanoi 4 columns
Use of tabbarcontroller
面试突击68:为什么 TCP 需要 3 次握手?
[qualcomm][network] QTI service analysis
The practice of OpenCV -- bank card number recognition
Azkaban [basic knowledge 01] core concepts + features +web interface + Architecture +job type (you can get started with Azkaban workflow scheduling system in one article)
The problem of four columns of Hanoi Tower