Hello Mat

 找回密码
 立即注册
查看: 6958|回复: 7

形态学算子:开运算

[复制链接]

1294

主题

1520

帖子

110

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
22633
发表于 2020-2-9 20:01:19 | 显示全部楼层 |阅读模式
  1. dev_update_window ('off')
  2. read_image (Bond, 'die/die_03')
  3. threshold (Bond, Bright, 100, 255)
  4. shape_trans (Bright, Die, 'rectangle2')
  5. reduce_domain (Bond, Die, DieGrey)
  6. threshold (DieGrey, Wires, 0, 50)
  7. fill_up_shape (Wires, WiresFilled, 'area', 1, 100)
  8. stop ()
  9. opening_circle (WiresFilled, Balls, 15.5)
  10. stop ()
  11. connection (Balls, SingleBalls)
  12. select_shape (SingleBalls, IntermediateBalls, 'circularity', 'and', 0.85, 1.0)
  13. sort_region (IntermediateBalls, FinalBalls, 'first_point', 'true', 'column')
  14. smallest_circle (FinalBalls, Row, Column, Radius)
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
算法QQ  3283892722
群智能算法链接http://halcom.cn/forum.php?mod=forumdisplay&fid=73
回复

使用道具 举报

0

主题

11

帖子

1

金钱

新手上路

Rank: 1

积分
12
发表于 2020-6-9 09:59:53 | 显示全部楼层
全网唯一的这个介绍了吧,棒!
回复 支持 反对

使用道具 举报

0

主题

11

帖子

1

金钱

新手上路

Rank: 1

积分
12
发表于 2020-6-9 10:00:31 | 显示全部楼层
加油,很厉害
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Python|Opencv|MATLAB|Halcom.cn ( 蜀ICP备16027072号 )

GMT+8, 2024-4-20 05:07 , Processed in 0.247275 second(s), 28 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表