当前位置:网站首页>[Halcon vision] programming logic
[Halcon vision] programming logic
2022-07-26 10:22:00 【Wenbus】
Halcon Programming , There are three main kinds of logic .
(1) Sequential structure : From top to bottom , One step operation .
(2) Selection structure :if...endif...
(3) Loop structure :for...endfor... while...endwhile...

* Programming logic
a:=2
b:=6
c:=8
d:=0
* Choice logic
if ((a<b or a<c) and a>0 )
d:=a
endif
* Circular logic
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
边栏推荐
- 【Halcon视觉】仿射变换
- Mlx90640 infrared thermal imager temperature sensor module development notes (6)
- INSTALL_ FAILED_ SHARED_ USER_ Incompatible error resolution
- MLX90640 红外热成像仪测温传感器模块开发笔记(六)
- Under win10 64 bit, matlab fails to configure notebook
- 【Halcon视觉】编程逻辑
- Necessary for beginners: debug breakpoint debugging skills in idea and common breakpoint skills
- [award-winning question] ask Judea pearl, the Turing prize winner and the father of Bayesian networks
- Closure of go (cumulative sum)
- [Qualcomm][Network] qti服务分析
猜你喜欢
随机推荐
Distributed network communication framework: how to publish local services into RPC services
Data communication foundation - layer 2 switching principle
[qualcomm][network] QTI service analysis
How to write a million reading article
数通基础-STP原理
我们的Web3创业项目,黄了
Function templates and non template functions with the same name cannot be overloaded (definition of overloads)
Learning about tensor (III)
【Halcon视觉】极坐标变换
Time series anomaly detection
点赞,《新程序员》电子书限时免费领啦!
Dynamically determine file types through links
Learning about opencv (2)
Prevent XSS attacks
Beginner of flask framework-04-flask blueprint and code separation
30 minutes to thoroughly understand the synchronized lock upgrade process
SPARK中 DS V2 push down(下推)的一些说明
Interview shock 68: why does TCP need three handshakes?
【Halcon视觉】图像灰度变化
Learning about opencv (4)

![[qualcomm][network] QTI service analysis](/img/76/49054ff8c7215eca98cc479ab1d986.png)







