本文介绍了如何将边缘曲线转换为点列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个图像,并且正在对其应用边缘检测算法(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.
推荐答案
这篇关于如何将边缘曲线转换为点列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!