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

4 次查看(过去 30 天)
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?

采纳的回答

Harshita Gupta
Harshita Gupta 2019-3-6
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.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by