且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

opencv用于查找轮廓的算法是什么?

更新时间:2022-06-25 10:41:22

如果您阅读了文档,提到此函数实现以下算法:

If you read the documentation it is mentioned this function implements the algorithm of:


Suzuki,S.和Abe,K.,Topological数字化的结构分析
边界的二进制图像下面。 CVGIP 30 1,pp 32-46(1985)

Suzuki, S. and Abe, K., Topological Structural Analysis of Digitized Binary Images by Border Following. CVGIP 30 1, pp 32-46 (1985)

OpenCV是开源的,如果你想看看如何实现只需要请阅读代码:
https:/ /github.com/opencv/opencv/blob/master/modules/imgproc/src/contours.cpp#L1655

OpenCV is open source if you want to see how this is implemented just need to read the code: https://github.com/opencv/opencv/blob/master/modules/imgproc/src/contours.cpp#L1655

其中一个答案到此问题的链接指向相关论文 ,那个链接已经死了,并且纸张在支付墙后面,也许google可以帮助找到一个免费副本。

One of the answers to this question has the link to the paper in question, that link is dead and the paper is behind a pay wall, perhaps google can help with finding a free copy.