How can I connect missing edge of a binary image?

조회 수: 6 (최근 30일)
Casio Uploader
Casio Uploader 2018년 1월 29일
댓글: Casio Uploader 2018년 1월 29일
I want to use 'imfill()' function to fill the hole. But there are some small unconnected region in the hole(Please find the attached image). How to connect these unconnected holes?
Thanks!

답변 (1개)

Image Analyst
Image Analyst 2018년 1월 29일
Change (improve) your segmentation algorithm. For example, change the threshold. Otherwise, (only if that doesn't work) then you can try imclose().
  댓글 수: 1
Casio Uploader
Casio Uploader 2018년 1월 29일
Appreciate your help! Can you please give me an idea how to connect two edges 'C' (like attached image) shape bolb to make it 'D' or 'O' shape?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by