如何将PointCloud移至坐标中心?
我有一个点云,上面有位置(x,y,z)和颜色(r,g,b) 但是积分距离坐标很远的距离很大:
问题是:哪种算法可以用来将所有点放置到坐标中心?我的猜测是创建翻译矩阵并乘以所有点云指向它,但是我无法确定此矩阵应包含的内容
I have a PointCloud which have points with position(x, y, z) and color(r, g, b)
But points lays in big distance from coordinates canter:
Question is: what algorithm can be used to place all points to coordinates center? My guess is to create translation matrix and multiply all pointCloud points to it, but I can't determine what this matrix should contain
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
刚找到答案。需要与这样的东西找到尖端的质量中心:
然后创建翻译矩阵
,最后将所有点乘以此矩阵
Just found an answer. Need to find center of mass of PointCloud with something like this:
Then create translation matrix
And finally multiply all points to this matrix