point cloud find center
10 次查看(过去 30 天)
显示 更早的评论
I have a very large point cloud (42 million points), and I need to find the center of this cloud.
0 个评论
回答(2 个)
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.
0 个评论
Image Analyst
2016-5-8
Why can't you just average all of the components?
4 个评论
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
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 Exchange 中查找有关 Point Cloud Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!