point cloud find center
显示 更早的评论
I have a very large point cloud (42 million points), and I need to find the center of this cloud.
回答(2 个)
Star Strider
2016-5-8
1 个投票
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
2016-5-8
0 个投票
Why can't you just average all of the components?
4 个评论
Evan
2016-5-8
Image Analyst
2016-5-8
Why do you say it's not right? I know there may be some reasons (and I can think of some) but I want to hear your reason.
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Point Cloud Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!