Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between edge and ridge detection?

The title is tells already enough, but citing 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.

But the difference is still not clear to me. Can you help (eventually with some example)?

like image 439
justHelloWorld Avatar asked May 29 '16 06:05

justHelloWorld


1 Answers

  • Edges: Borders between areas of high and low gray value.
  • Ridges: Thin lines darker or brighter than their neighborhood.

Usually, if we do an edge detection on a ridge area we will get a double line, one from each side of the ridge.

enter image description here

This answer is based on this answer, which gives a much more detailed explanation.

like image 79
Elad Joseph Avatar answered Sep 28 '22 09:09

Elad Joseph