How to project point cloud onto the ground plane and transfer it into an 2D image (OpenCV Mat) in Point Cloud Library?

情到浓时终转凉″ 提交于 2019-11-30 16:44:52

when you're talking about projecting something into the ground plane, usually you will need the projection matrix (K [R|t]). In your case, if I understood correctly, you want to do a orthogonal projection, which means you want to loose the Z coordinate: http://en.wikipedia.org/wiki/Orthographic_projection

Now, the equation for you case will be something like this

z_max = max z(Pts[x,y,z])
im[x,y] = z_max

Notice here that you will need to search for the max height (Z) in a given x-y point in your cloud.

I hope this helps you...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!