how to find centre of mass in each grid
2 ビュー (過去 30 日間)
古いコメントを表示
回答 (1 件)
Image Analyst
2017 年 3 月 11 日
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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!