How to fill the interior of the boundary surface of the object?
Mostra commenti meno recenti
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.
Risposte (1)
darova
il 14 Mar 2021
1 voto
use bwselect
7 Commenti
M.S. Khan
il 15 Mar 2021
darova
il 15 Mar 2021
Did you use row and column properly? Can you show the code?
M.S. Khan
il 17 Mar 2021
darova
il 17 Mar 2021
You should pass r and c coordinates you want to pick
B = bwselect(A,round(c/2),round(r/2),4)
M.S. Khan
il 17 Mar 2021
M.S. Khan
il 19 Mar 2021
Image Analyst
il 19 Mar 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.
Categorie
Scopri di più su Image Category Classification in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!