Find boundaries of shapes in of black and white image

조회 수: 6(최근 30일)
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?

채택된 답변

Abhishek Gupta
Abhishek Gupta 2021년 2월 15일
Referring to the following resources, which might help you in resolving the issue: -
  1. Boundary Tracing in Images
  2. Shape detection in image
  댓글 수: 1
Pieter Boersma
Pieter Boersma 2021년 2월 15일
Thanks, boundary tracing has worked perfectly!

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by