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?

 Réponse acceptée

David Young
David Young le 24 Juin 2015
Modifié(e) : David Young le 24 Juin 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 commentaires

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

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by