how to find centre of mass in each grid
1 view (last 30 days)
Show older comments
Answers (1)
Image Analyst
on 11 Mar 2017
Extract each grid into a small subimage, then sum up the x and y
[rows, columns] = find(~subImage);
meanRow = mean(rows);
meanColumn = mean(columns);
4 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!