Is there a way to direct an algorithm in edge detection, or correct my drawing outline of the edge?

I have some images that are difficult to detect the edges but I only need some simple selections done. I have written something that I can use ginput to outline the edge I wish to make but looking if there is any way to correct it using an edge detection, kind of line snapping a line to a grid?

 Akzeptierte Antwort

David Young
David Young am 24 Jun. 2015
Bearbeitet: David Young am 24 Jun. 2015
This is exactly what active contours, or snakes, were originally designed for. If you have the Image Processing Toolbox, have a look at activecontour.

2 Kommentare

Great, thanks! I actually found that already and am trying that out now.
You might like to try my attached activecontour demo.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by