How to find x y coordinates of detected blobs
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Nuwan Dassanayake
el 16 de Sept. de 2013
0 votos
5 comentarios
Nuwan Dassanayake
el 17 de Sept. de 2013
Image Analyst
el 17 de Sept. de 2013
xy = [stats.Centroid];
x = xy(:,1);
y = xy(:,2);
Nuwan Dassanayake
el 20 de Sept. de 2013
Editada: Nuwan Dassanayake
el 20 de Sept. de 2013
Image Analyst
el 20 de Sept. de 2013
You can't do things like a<x<b you need to do (a<x) && (x<b) .
Nuwan Dassanayake
el 23 de Sept. de 2013
Categorías
Más información sobre Image Arithmetic en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!