当前位置:网站首页>【Halcon视觉】算子的结构
【Halcon视觉】算子的结构
2022-07-26 10:16:00 【文布斯】
1.前言
Halcon中的算子将近两千个。我们按规律可进行分类。
2.根据算子的英文名称分类
含draw,表示界面互动的算子,需要人去画区域。
含gen,表示生成类算子,比如生成圆,生成矩形等。
含get,表示获取某些属性的算子。
含tuple,表示与数组有关的算子。
含select,表示与筛选有关的算子。
含contour,表示与轮廓有关的算子。
含gray,表示与灰度有关的算子。
含dev,表示与操作窗口有关的算子。
3.根据算子的参数进行分类
参数运算类,参数一般是数组等。
对象运算类,对象一般是图像,区域,轮廓等。
4.代码
*关闭窗口
dev_close_window ()
*打开窗口
dev_open_window (0, 0, 512, 512, 'black', WindowHandle)
*读取图像
read_image (Image, 'printer_chip/printer_chip_01')
*画矩形区域
draw_rectangle1 (WindowHandle, Row1, Column1, Row2, Column2)
*生成矩形区域
gen_rectangle1 (Rectangle, Row1, Column1, Row2, Column2)
*裁剪区域
reduce_domain (Image, Rectangle, ImageReduced)
*清理窗口
dev_clear_window ()
*显示区域
dev_display (ImageReduced)
5.缩略图

6.结语
算子分类,使程序员更方便记忆。
边栏推荐
- Draw arrows with openlayer
- 【Halcon视觉】图像滤波
- 【Halcon视觉】形态学膨胀
- Applet record
- Sqoop [put it into practice 02] sqoop latest version full database import + data filtering + field type support description and example code (query parameter and field type forced conversion)
- Keeping alive to realize MySQL automatic failover
- SPARK中 DS V2 push down(下推)的一些说明
- Installation and use of cocoapods
- 面试第一家公司的面试题及答案(一)
- 面试第二家公司的面试题及答案(二)
猜你喜欢

El table implements adding / deleting rows, and a parameter changes accordingly

Transform between tree and array in JS (hide the children field if the child node of the tree is empty)

分布式网络通信框架:本地服务怎么发布成RPC服务

Employee information management system based on Web

Installation and use of cocoapods

Learning about opencv (4)

【有奖提问】向图灵奖得主、贝叶斯网络之父 Judea Pearl 提问啦

SQL优化的魅力!从 30248s 到 0.001s

Beginner of flask framework-04-flask blueprint and code separation

Data communication foundation - layer 2 switching principle
随机推荐
The use of MySQL in nodejs
服务发现原理分析与源码解读
Usage of the formatter attribute of El table
面试突击68:为什么 TCP 需要 3 次握手?
在.NET 6.0中配置WebHostBuilder
Nodejs service background execution (forever)
Learning about opencv (1)
[award-winning question] ask Judea pearl, the Turing prize winner and the father of Bayesian networks
Wechat applet development
Docker configuring MySQL Cluster
PMM (percona monitoring and management) installation record
【Halcon视觉】仿射变换
Network related journals and conferences in CS
PHP one-time request lifecycle
数通基础-Telnet远程管理设备
Beginner of flask framework-04-flask blueprint and code separation
Study notes of the third week of sophomore year
Data communication foundation STP principle
Draw arrows with openlayer
Leetcode 504. Hex number