Patch an image with lots of holes
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Given the binary attached, I'm look for a way to patch those white part without using contourf function.
My routine is: bwboudaries => get edge coordinates => Loop through each detected edge, patch(x,y, [0.5 0.5 0.5]). However, such method fills the holes as well. The reason I want edge coordinates is that I can choose a segment to patch. But contourf function doesn't give me such flexibility.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148901/image.png)
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Polygons in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!