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!