美文网首页
3D点云投影到2D

3D点云投影到2D

作者: Aries32 | 来源:发表于2017-11-28 17:04 被阅读0次

空间类有一个点云,需要将其投影到任意的一个平面上。

这个平面确定如下:

U = {-sin(theta), cos(theta), 0}

V = {cos(theta)*sin(phi), sin(theta)*sin(phi), cos(phi)}

Center = {cos(theta)*cos(phi), sin(theta)*cos(phi), sin(phi)}*r

每个点P在平面自身上的投影坐标[U, V]由下式给出

[x', y'] = [dot(P - Center, U), dot(P - Center, V)]

相关文章

网友评论

      本文标题:3D点云投影到2D

      本文链接:https://www.haomeiwen.com/subject/tqeebxtx.html