How to find x y coordinates of detected blobs
显示 更早的评论
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.
采纳的回答
更多回答(1 个)
Nuwan Dassanayake
2013-9-16
0 个投票
5 个评论
Nuwan Dassanayake
2013-9-17
Image Analyst
2013-9-17
xy = [stats.Centroid];
x = xy(:,1);
y = xy(:,2);
Nuwan Dassanayake
2013-9-20
编辑:Nuwan Dassanayake
2013-9-20
Image Analyst
2013-9-20
You can't do things like a<x<b you need to do (a<x) && (x<b) .
Nuwan Dassanayake
2013-9-23
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!