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!