point cloud find center

10 ビュー (過去 30 日間)
Evan
Evan 2016 年 5 月 8 日
コメント済み: Image Analyst 2016 年 5 月 8 日
I have a very large point cloud (42 million points), and I need to find the center of this cloud.

回答 (2 件)

Star Strider
Star Strider 2016 年 5 月 8 日
The centre (or more accurately in this example, ‘centroid’) is the mean of the individual x, y, and z coordinates for the cloud. So if each row of the matrix defining them is an individual point, and the columns define the position of each point, the coordinates of the centroid are the mean of the matrix.

Image Analyst
Image Analyst 2016 年 5 月 8 日
Why can't you just average all of the components?
  4 件のコメント
Walter Roberson
Walter Roberson 2016 年 5 月 8 日
What is the range of values? With 42 million of them, I would be concerned about exceeding (required precision)/eps when they are totaled
Image Analyst
Image Analyst 2016 年 5 月 8 日
Good point. Might be able to get pretty much the same centroid just by taking a subset of them.

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

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by