フィルターのクリア

how to find centre of mass in each grid

1 回表示 (過去 30 日間)
Raghu Rao
Raghu Rao 2017 年 3 月 11 日
編集済み: Raghu Rao 2017 年 3 月 12 日
help me to find centre of mass in each grid in a image

回答 (1 件)

Image Analyst
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 件のコメント
Raghu Rao
Raghu Rao 2017 年 3 月 12 日
thank you image Analyst,
Raghu Rao
Raghu Rao 2017 年 3 月 12 日
編集済み: Raghu Rao 2017 年 3 月 12 日
  • after editing my code am not getting proper results i want to point center of mass in each grid on image.but am not getting the results. please help me.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeModify Image Colors についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by