Projection and View matrices to match the Kinect RGB camera perspective

早过忘川 提交于 2020-01-15 09:54:32

问题


Does anybody know what are the correct values to setup the projection and view matrix for a XNA rendering in order to match with the Kinect RGB camera?

For example, if the skeleton head joint coordinates are (X,Y,Z) then if I draw a sphere at these coordinates in my 3D space, the rendering should overlap the head in the RGB image.


回答1:


In the end I took a trial and error approach and determined the parameters. You can find more details here: http://www.mindtreatstudios.com/our-projects/kinect-3d-view-projection-matrix-rgb-camera/

I'm sure this is not the most scientific way of reconstructing the 3D space, but given the time-frame I had available and the needs of my project, they work well and I'm happy with the results.



来源:https://stackoverflow.com/questions/8818285/projection-and-view-matrices-to-match-the-kinect-rgb-camera-perspective

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