工控编程吧

标题: halcon eliminate_runs函数介绍 [打印本页]

作者: qq263946146    时间: 2019-5-15 00:13
标题: halcon eliminate_runs函数介绍
eliminate_runs(Region : RegionClipped : ElimShorter, ElimLonger : )
eliminate_runs消除输入区域的游程长度编码满足条件的游程,
比elimshort短或比ElimLonger长的去除掉
可运行下面例程
read_image (Die2, 'die/die_02')
threshold (Die2, Region, 0, 60)
gen_circle (Circle, 200, 200, 15.5)
eliminate_runs (Circle, CircleRed, 14, 1000)

查看Circle, CircleRed两个区域的区别。

[halcon]1[/halcon]






欢迎光临 工控编程吧 (https://www.gkbc8.com/) Powered by Discuz! X3.4