连接边线段
我为一个项目编写了一个精明的边缘检测算法。我想知道是否有任何方法可以链接边缘的破损片段,因为我得到的单个边缘是几个片段的组合。我得到了大约 100 个片段,我相信通过一些智能可以减少这些片段。请帮忙。
I have written a canny edge detection algorithm for a project. I want to know is there any method to link the broken segments of an edge, since i am getting a single edge as a conglomeration of a few segments. I am getting around 100 segments, which i am sure can be decreased with some intelligence. Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用称为动态规划的方法。 Sonka 的数字图像处理书的第 6 章对此有很好的介绍
You can use a method named dynamic programming. A very good intro on this can be found on chapter 6 of Sonka's digital image processing book