Issues with imfill() function
2 ビュー (過去 30 日間)
古いコメントを表示

I am trying to fill in objects like the above. I think that the function 'imfill()' is not working because the hole is technically open - the boundary of the object does not completely surround the "hole" inside. My goal is to completely fill in the holes (so that I can later automatically segment them). Any recommendations are appreciated!
0 件のコメント
回答 (1 件)
Tomás Franco
2020 年 11 月 11 日
Have you considered performing morphological operations such as closing, to close that gap?
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!