how can I remove all the objects that are not connected to my central object in a binary image?
Mostra commenti meno recenti
I have a binary Image that includes some objects. the shape of these objects are irregular. the object that is in central of this image is important for me . how can I remove all the objects that are not connect to my central object? for example if this is my image:

I want to have this as output:

I have a lot of images that are like these example and I should separate central object.so I should find a general way for this.
thanks for your attention
1 Commento
sajid rahim
il 6 Lug 2017
hi i see ur comments can you plz send me the code plzzzzz
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Images in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!