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

1 view (last 30 days)
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

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!