当前位置:网站首页>Structure of [Halcon vision] operator
Structure of [Halcon vision] operator
2022-07-26 10:22:00 【Wenbus】
1. Preface
Halcon There are nearly 2000 operators in . We can classify according to the law .
2. According to the English names of operators
contain draw, Operator representing interface interaction , Someone needs to draw the area .
contain gen, Represents the generating class operator , For example, generate a circle , Generate rectangle, etc .
contain get, Represents the operator that gets some attributes .
contain tuple, Represents an operator related to an array .
contain select, Represents the operator related to filtering .
contain contour, Represent operators related to contour .
contain gray, Represents the operator related to gray .
contain dev, Represents the operator related to the operation window .
3. Classify according to the parameters of the operator
Parameter operation class , Parameters are generally arrays, etc .
Object operation class , The object is usually an image , Area , Outline, etc .
4. Code
* close window
dev_close_window ()
* open windows
dev_open_window (0, 0, 512, 512, 'black', WindowHandle)
* Read images
read_image (Image, 'printer_chip/printer_chip_01')
* Draw a rectangular area
draw_rectangle1 (WindowHandle, Row1, Column1, Row2, Column2)
* Generate a rectangular area
gen_rectangle1 (Rectangle, Row1, Column1, Row2, Column2)
* Cutting area
reduce_domain (Image, Rectangle, ImageReduced)
* Clean the window
dev_clear_window ()
* Display area
dev_display (ImageReduced)
5. thumbnail

6. Conclusion
Operator classification , Make it easier for programmers to remember .
边栏推荐
- 在.NET 6.0中配置WebHostBuilder
- Distributed network communication framework: how to publish local services into RPC services
- El table implements adding / deleting rows, and a parameter changes accordingly
- Self encapsulated database dbutils universal template
- Review of database -- 1. Overview
- 【Halcon视觉】图像滤波
- Study notes of the first week of sophomore year
- AirTest
- Jpg to EPS
- In Net 6.0
猜你喜欢

The practice of OpenCV -- bank card number recognition

Data communication foundation telnet remote management equipment

【Halcon视觉】图像滤波

数据库的复习--1.概述
![[award-winning question] ask Judea pearl, the Turing prize winner and the father of Bayesian networks](/img/0f/01d6e49fff80a325b667784e40bff3.png)
[award-winning question] ask Judea pearl, the Turing prize winner and the father of Bayesian networks

【Halcon视觉】数组

AirTest

我们的Web3创业项目,黄了

Deduct daily question 838 of a certain day

Vs Code configures go locale and successfully installs go related plug-ins in vscode problem: Tools failed to install
随机推荐
数据库的复习--1.概述
How to use Gmail to pick up / send mail on Foxmail
Study notes of the second week of sophomore year
Learning about tensor (III)
Beginner of flask framework-04-flask blueprint and code separation
【Halcon视觉】图像滤波
Distributed network communication framework: how to publish local services into RPC services
30 minutes to thoroughly understand the synchronized lock upgrade process
Learning about opencv (3)
抓包工具fiddler和wireshark对比
Using undertow, Nacos offline logout delay after service stop
Redis realizes distributed lock and gets a watchdog
Li Kou - binary tree pruning
PTA class a 1001
Solution of inputting whole line string after inputting integer
Wu Enda linear regression of machine learning
Learning about opencv (1)
Cause: couldn‘t make a guess for 解决方法
函数模板参数(函数参数在哪)
Netease cloud UI imitation -- & gt; sidebar