How to get a region from points
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hg
le 21 Oct 2015
Réponse apportée : Walter Roberson
le 21 Oct 2015
Below is a scatter plot from array that I get using boundary(). How can I get a region so that I can use regionprops() to find the centroid, orientation etc.
0 commentaires
Réponse acceptée
Walter Roberson
le 21 Oct 2015
You could dilate the image repeatedly until the boundary closed (at which point there would be only one blob) and then erode it again maintaining continuity; see bwmorph() for useful functions.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!