how can i fill this competent?

1 回表示 (過去 30 日間)
nadia
nadia 2016 年 10 月 7 日
回答済み: Massimo Zanetti 2016 年 10 月 7 日
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.

回答 (1 件)

Massimo Zanetti
Massimo Zanetti 2016 年 10 月 7 日
Use morphological operator imdilate to dilate the boundary, and then imfill. See documentation to get insights.

Community Treasure Hunt

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

Start Hunting!

Translated by