当前位置:网站首页>[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
边栏推荐
猜你喜欢
Learning about tensor (III)
Cause: couldn‘t make a guess for 解决方法
Distributed network communication framework: how to publish local services into RPC services
How to write a million reading article
【Halcon视觉】图像滤波
Uniapp error 7 < Map >: marker ID should be a number
Okaleido ecological core equity Oka, all in fusion mining mode
equals与==的区别
【Halcon视觉】编程逻辑
[qualcomm][network] QTI service analysis
随机推荐
Cause: couldn‘t make a guess for 解决方法
Kaptcha image verification code integration
PTA class a 1001
Flask框架初学-03-模板
Review of database -- 1. Overview
Opencv image processing
【socket】三次握手是在listen中完成,accept只从完成连接的队列中拿出一个连接
The problem of four columns of Hanoi Tower
【Halcon视觉】形态学膨胀
Draco developed by Google and Pixar supports USD format to accelerate 3D object transmission & lt; Forward & gt;
El table implements adding / deleting rows, and a parameter changes accordingly
All codes of Tetris
Formwork (III)
Prevent XSS attacks
INSTALL_FAILED_SHARED_USER_INCOMPATIBLE错误解决方式
IEEE conference upload font problem
MySQL function
30 minutes to thoroughly understand the synchronized lock upgrade process
面试突击68:为什么 TCP 需要 3 次握手?
Time series anomaly detection