MATLAB Answers

Find boundaries of shapes in of black and white image

6 views (last 30 days)
I have a black and white image (see attached) that I am trying to find the boundaries of. I have used bwperim but this gives me the perimeter organized in a way that is not useful to me. I would like each shape's boundary seperately as stand alone arrays so that I could, for example, plot each shape seperatly. Any suggestions?

Accepted Answer

Abhishek Gupta
Abhishek Gupta on 15 Feb 2021
Referring to the following resources, which might help you in resolving the issue: -
  1. Boundary Tracing in Images
  2. Shape detection in image

More Answers (0)

Community Treasure Hunt

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

Start Hunting!