如何将边缘曲线转换为点列表 [英] How to convert edge curve to a list of points

查看:151
本文介绍了如何将边缘曲线转换为点列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个图像,并且正在对其应用边缘检测算法(Canny).

我得到了图像中的边缘,但是对于我的工作,我需要将检测到的边缘作为点列表,特别是连接的点. (轮廓列表),以便在检测到的边缘上执行有意义的操作.

如果有人可以指出一些相关的算法/论文/方法,我将非常感激.
如果您可以在OpenCV中建议一些相关功能,那也会有很大帮助.

I have an Image and I am applying an edge detection algorithm (Canny) to it.

I get the edges in image but for my work I need to get the detected edges as a list of points, specially the ones that are connected. (list of contours), in order to perform meaningful operations on the detected edges.

If anyone can point me to some relevant algorithm/ paper/ method, i ll be very thankful.
If u can suggest some relevant function in OpenCV, that would be big help also.

推荐答案

CodeProject上有以下资源:

1.区分轮廓(形状),这是我认为的要求:[ ^ ].

2.有关使用Canny,Susan和Prewitt进行边缘检测的几篇文章:[
There are resources here on CodeProject for:

1. Discriminating contours (shapes) which is what I think you are after : [^].

2. several articles on edge-detection using Canny, Susan, Prewitt: [^]


这篇关于如何将边缘曲线转换为点列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆