当前位置:网站首页>【Halcon视觉】形态学膨胀
【Halcon视觉】形态学膨胀
2022-07-26 10:15:00 【文布斯】
目录
- 概念
- 算子
- 代码
- 实例
1.概念
形态学膨胀:通过结构元素,与目标图像运算,使图像中的空洞,和凹凸不平的边缘,产生膨胀的效果。

2.算子
膨胀分类:根据结构元的形状,分为圆形膨胀和矩形膨胀等。
dilation_cicle() 圆形膨胀
dilation_rectanglel() 矩形膨胀
3.代码
*读图
read_image (Image, 'printer_chip/printer_chip_01')
*阈值化
threshold (Image, Region, 128, 255)
*圆形膨胀
dilation_circle (Region, RegionDilation, 3.5)
*矩形膨胀
dilation_rectangle1 (RegionDilation, RegionDilation1, 11, 11)
4.实例 
边栏推荐
- Wu Enda linear regression of machine learning
- SSG framework Gatsby accesses the database and displays it on the page
- Some descriptions of DS V2 push down in spark
- Tableviewcell highly adaptive
- Principle analysis and source code interpretation of service discovery
- 在.NET 6.0中配置WebHostBuilder
- protobuf的基本用法
- 输入整数后输入整行字符串的解决方法
- Use of pclint in vs2013
- Learning about tensorflow (II)
猜你喜欢

Distributed network communication framework: how to publish local services into RPC services

The charm of SQL optimization! From 30248s to 0.001s

Draw arrows with openlayer

30分钟彻底弄懂 synchronized 锁升级过程

Common errors when starting projects in uniapp ---appid

Flask框架初学-03-模板

Solve proxyerror: CONDA cannot proceed due to an error in your proxy configuration

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

数通基础-Telnet远程管理设备

I finished watching this video on my knees at station B
随机推荐
Learning about opencv (2)
Use of selectors
Uniapp common error [wxml file compilation error]./pages/home/home Wxml and using MySQL front provided by phpstudy to establish an independent MySQL database and a detailed tutorial for independent da
SSG framework Gatsby accesses the database and displays it on the page
Flask框架初学-04-flask蓝图及代码抽离
Use of tabbarcontroller
Redis realizes the correct posture of token bucket
Sqoop [environment setup 01] CentOS Linux release 7.5 installation configuration sqoop-1.4.7 resolve warnings and verify (attach sqoop 1 + sqoop 2 Latest installation package +mysql driver package res
在.NET 6.0中配置WebHostBuilder
Applet record
30 minutes to thoroughly understand the synchronized lock upgrade process
The use of MySQL in nodejs
Data communication foundation - layer 2 switching principle
论文笔记(SESSION-BASED RECOMMENDATIONS WITHRECURRENT NEURAL NETWORKS)
Using undertow, Nacos offline logout delay after service stop
IEEE conference upload font problem
Li Kou - binary tree pruning
Okaleido ecological core equity Oka, all in fusion mining mode
regular expression
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)