Filter löschen
Filter löschen

How can I connect missing edge of a binary image?

1 Ansicht (letzte 30 Tage)
Casio Uploader
Casio Uploader am 29 Jan. 2018
Kommentiert: Casio Uploader am 29 Jan. 2018
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!

Antworten (1)

Image Analyst
Image Analyst am 29 Jan. 2018
Change (improve) your segmentation algorithm. For example, change the threshold. Otherwise, (only if that doesn't work) then you can try imclose().
  1 Kommentar
Casio Uploader
Casio Uploader am 29 Jan. 2018
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?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by