Need help connecting edges after running an edge detection method on an image

3 views (last 30 days)
I have run my edge detection on my images, now i need to connect each vertices to form a definite shape. Is their any specif function or code?

Accepted Answer

Harshita Gupta
Harshita Gupta on 6 Mar 2019
As per my understanding you want to fetch the object boundaries.
If that is the question then instead of plotting the edges and then connecting them,I would suggest you to try using display boundaries feature of object analysis.
Below is the link to the documentation for the same.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!