Use morphological operator imdilate to dilate the boundary, and then imfill. See documentation to get insights.
how can i fill this competent?
1 次查看(过去 30 天)
显示 更早的评论
I have a binary mask and I want to fill the hole but this hole is not connected. how can I do it?I attach this mask. thanks in advance.
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!