当前位置:网站首页>[Halcon vision] morphological corrosion
[Halcon vision] morphological corrosion
2022-07-26 10:23:00 【Wenbus】
Catalog
- Concept
- operator
- Code
- example
1. Concept
Morphological corrosion : For the prominent part in the image , Edge burr part , To corrode , It can present a good smoothing effect .

2. operator
Corrosion classification : According to the shape of structural elements , It can be divided into circular corrosion , And rectangular corrosion .
erosion_circle () Circular corrosion
erosion_rectangle () Rectangular corrosion
3. Code
* Read images
read_image (Image, 'printer_chip/printer_chip_01')
* Threshold segmentation
threshold (Image, Region, 150, 255)
* Circular corrosion
erosion_circle (Region, RegionErosion, 5)
* Rectangular corrosion
erosion_rectangle1 (RegionErosion, RegionErosion1, 11, 11)
* Circular expansion
dilation_circle (RegionErosion1, RegionDilation, 5)
* Difference between two areas , Get the edge contour
difference (RegionDilation, RegionErosion1, RegionDifference)
4. example

边栏推荐
- 3.1 leetcode daily question 6
- 新建福厦铁路全线贯通 这将给福建沿海带来什么?
- Application of crosstab in SQL Server
- Strange Towers of Hanoi|汉诺塔4柱问题
- About automatic operation on Web pages
- 简单化构造函数的继承方法(一)- 组合继承
- Solution of inputting whole line string after inputting integer
- C language course design Tetris (Part 2)
- 【Halcon视觉】仿射变换
- 【Halcon视觉】图像滤波
猜你喜欢

Uniapp error 7 < Map >: marker ID should be a number

Li Kou daily question 917

Review of database -- 1. Overview

Learning about tensorflow (II)

Meeting OA project (III) -- my meeting (meeting seating and submission for approval)

Review of database -- 3. SQL language

Data communication foundation TCPIP reference model

【Halcon视觉】编程逻辑

Cause: could't make a guess for solution
![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](/img/21/5dceab9815b503f0b62d26a430d7eb.png)
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
随机推荐
Using undertow, Nacos offline logout delay after service stop
Interview shock 68: why does TCP need three handshakes?
Data communication foundation telnet remote management equipment
Learning about opencv (1)
Reproduce the snake game in C language (I) build pages and construct snakes
SQL优化的魅力!从 30248s 到 0.001s
Listening freely, the next stop of online text traffic competition?
微信公众号发布提醒(微信公众号模板消息接口)
数通基础-二层交换原理
3.1 leetcode daily question 6
Study notes of the third week of sophomore year
2022/07/25------字符串的排列
句句解析js中的完美 / 缓冲运动框架(新手专用)
Time series anomaly detection
Network related journals and conferences in CS
利用原生js实现自定义滚动条(可点击到达,拖动到达)
输入整数后输入整行字符串的解决方法
抓包工具fiddler和wireshark对比
【Halcon视觉】图像滤波
Review of database -- 3. SQL language