How to find x y coordinates of detected blobs
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
Nuwan Dassanayake
am 16 Sep. 2013
0 Stimmen
5 Kommentare
Nuwan Dassanayake
am 17 Sep. 2013
Image Analyst
am 17 Sep. 2013
xy = [stats.Centroid];
x = xy(:,1);
y = xy(:,2);
Nuwan Dassanayake
am 20 Sep. 2013
Bearbeitet: Nuwan Dassanayake
am 20 Sep. 2013
Image Analyst
am 20 Sep. 2013
You can't do things like a<x<b you need to do (a<x) && (x<b) .
Nuwan Dassanayake
am 23 Sep. 2013
Kategorien
Mehr zu Image Arithmetic finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!