问题描述
我读了一篇有关三角符号检测的研究论文,该论文先使用canny edge detection
,然后应用Ramer-Douglas-Peucker
从图像中检测出三角形符号,如下图所示.
I read a research paper about triangular sign detection that used canny edge detection
and then applied Ramer-Douglas-Peucker
to detect the triangle shaped sign from an image, like in the below photo.
我设法为图像应用了canny edge detection
,但是我非常困惑如何应用Ramer-Douglas-Peucker
来获得如上图所示的输出结果.
I managed to apply canny edge detection
for my image, but i am super confused how to apply Ramer-Douglas-Peucker
to get output results like in the above photo.
推荐答案
Douglas-Peucker算法可用于简化行.意思是它使直线几乎是笔直的.看看
The Douglas-Peucker algorithm can be used for line simplification. Meaning it makes lines which are almost straight, straight. Have a look at
如果您想了解它.
因此,该算法可帮助您消除噪音.关于三角形,除了它们具有直线之外,没有其他具体说明.
So the algorithm helps you by removing noise. It's nothing specific about triangles, except that they have straight lines.
这篇关于如何将Ramer-Douglas-Peucker应用于图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!