Filling objects that share a border
Afficher commentaires plus anciens
Hi,
I have a question about filling in objects that share a border with the perimeter of an image.
Consider a case such as the one shown at: http://i43.tinypic.com/2nq9ua.jpg. If I run the imfill function to fill in the holes, I don’t get the five objects that touch the border of the image filled (I have pointed out the specific areas I am talking about, in this image: http://i41.tinypic.com/5afeo4.jpg).
Is there any strategy I could follow to fill holes in those areas that are outlined using the arrows?
Thanks in advance!
1 commentaire
Ashish Uthama
le 6 Sep 2013
Good question (nice image!)
Réponse acceptée
Plus de réponses (1)
Anand
le 6 Sep 2013
0 votes
Steve Eddins just posted about this. Here's an alternative approach:
Catégories
En savoir plus sur Interpolation of 2-D Selections in 3-D Grids dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!