How to extract boundary of binary image in a fixed sequence ?

1 次查看(过去 30 天)
If I have a binary image like this, how to extract boundary in a certain order. For instance, I can extract boundary from left to right side, or from top to bottom side ?
When I use boundaries function, it gives me disordered sequences ? I really confused about how to solve this problem.
Testx.png

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by