How to find x y coordinates of detected blobs
Afficher commentaires plus anciens
Dear All,
Do you know how to find the center coordinate of a blob. That means after detected blobs i need to assign variables to that blob locations.
Réponse acceptée
Plus de réponses (1)
Nuwan Dassanayake
le 16 Sep 2013
0 votes
5 commentaires
Nuwan Dassanayake
le 17 Sep 2013
Image Analyst
le 17 Sep 2013
xy = [stats.Centroid];
x = xy(:,1);
y = xy(:,2);
Nuwan Dassanayake
le 20 Sep 2013
Modifié(e) : Nuwan Dassanayake
le 20 Sep 2013
Image Analyst
le 20 Sep 2013
You can't do things like a<x<b you need to do (a<x) && (x<b) .
Nuwan Dassanayake
le 23 Sep 2013
Catégories
En savoir plus sur Image Processing Toolbox 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!