How to fill the interior of the boundary surface of the object?

조회 수: 3(최근 30일)
Hi dear community members,
i have an object whose boundary surface is filled as 1s and 3s. i want to fill the interior. using imfill() function, it filled the interior but it fills extra regions as well.
The file is attanced for the points of the objects. Thanks in advance for cooperation.

답변(1개)

darova
darova 2021년 3월 14일
use bwselect
  댓글 수: 7
Image Analyst
Image Analyst 2021년 3월 19일
bwselect() allows you to manually, or by code, select a particular blob(s) that you want to extract into a new image. It does not fill shapes.

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

Community Treasure Hunt

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

Start Hunting!

Translated by