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

1 次查看(过去 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 个评论
M.S. Khan
M.S. Khan 2021-3-19
Hi dear darova, after using bwselect(), B only shows zeros. Could you share your expert opinion? Regards!
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by