边缘检测和脊检测有什么区别?

What is the difference between edge and ridge detection?

标题已经足够说明,但引用 Wikipedia:

The purpose of ridge detection is usually to capture the major axis of symmetry of an elongated object,[citation needed] whereas the purpose of edge detection is usually to capture the boundary of the object. However, some literature on edge detection erroneously[citation needed] includes the notion of ridges into the concept of edges, which confuses the situation.

但我仍然不清楚其中的区别。你能帮忙吗(最后举个例子)?

  • Edges:高灰度值区域和低灰度值区域之间的边界。
  • :细线比它们的邻域更暗或更亮。

通常,如果我们在脊区域进行边缘检测,我们会得到一条双线,一条来自脊的每一侧。

这个答案是基于this answer,它给出了更详细的解释。