当前位置:网站首页>【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.实例 
边栏推荐
- Time series anomaly detection
- 万字详解“用知识图谱驱动企业业绩增长”
- 数通基础-TCPIP参考模型
- Uniapp "no mobile phone or simulator detected, please try again later" and uniapp custom components and communication
- Why does new public chain Aptos meet market expectations?
- 30分钟彻底弄懂 synchronized 锁升级过程
- Vs Code configures go locale and successfully installs go related plug-ins in vscode problem: Tools failed to install
- Docker configuring MySQL Cluster
- 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
- SQL Server 2008 R2 installation problems
猜你喜欢

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

Session based recommendations with recurrent neural networks

新建福厦铁路全线贯通 这将给福建沿海带来什么?

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

Meeting OA project (III) -- my meeting (meeting seating and submission for approval)
![[datawhale] [machine learning] Diabetes genetic risk detection challenge](/img/98/7981af7948feb73168e5200b3dfac9.png)
[datawhale] [machine learning] Diabetes genetic risk detection challenge

Uni app learning summary

面试突击68:为什么 TCP 需要 3 次握手?

Draw arrows with openlayer

How to write a million reading article
随机推荐
Android greendao数据库的使用
Meeting OA project (III) -- my meeting (meeting seating and submission for approval)
Wechat H5 payment on WAP, for non wechat browsers
Leetcode 504. Hex number
Transform between tree and array in JS (hide the children field if the child node of the tree is empty)
面试突击68:为什么 TCP 需要 3 次握手?
Nodejs service background execution (forever)
Phpexcel export Emoji symbol error
[qualcomm][network] QTI service analysis
新建福厦铁路全线贯通 这将给福建沿海带来什么?
Sublime install plug-ins
Like, "new programmer" e-book is free for a limited time!
解释一下自动装箱和自动拆箱?
输入整数后输入整行字符串的解决方法
Study notes of the second week of sophomore year
Necessary for beginners: debug breakpoint debugging skills in idea and common breakpoint skills
简单化构造函数的继承方法(一)- 组合继承
Study notes of the third week of sophomore year
数据库的复习--1.概述
Leetcode 504. 七进制数