connecting image extreme (end) boundries
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I have edge detected image. I want to connect all the pixels at extreme edges and fill the region inside, so that i have a binary mask of this image without any gaps. I used imdilate but this introduce thickness in boundries that i do not want in image. Can anyone please guide how I can do it. thanks
0 件のコメント
採用された回答
Image Analyst
2020 年 5 月 27 日
Try
mask = bwconvhull(mask, 'union');
or else try imclose() followed by imfill(), or try activecontour() (demo attached).
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!