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

2 visualizaciones (últimos 30 días)
M.S. Khan
M.S. Khan el 14 de Mzo. de 2021
Comentada: Image Analyst el 19 de Mzo. de 2021
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.

Respuestas (1)

darova
darova el 14 de Mzo. de 2021
use bwselect
  7 comentarios
M.S. Khan
M.S. Khan el 19 de Mzo. de 2021
Hi dear darova, after using bwselect(), B only shows zeros. Could you share your expert opinion? Regards!
Image Analyst
Image Analyst el 19 de Mzo. de 2021
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Feature Detection and Extraction en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by