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

2 views (last 30 days)
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?

Accepted Answer

David Young
David Young on 24 Jun 2015
Edited: David Young on 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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!