generate a point cloud from a given depth image-matlab Computer Vision System Toolbox

我只是一个虾纸丫 提交于 2019-12-22 12:18:46

问题


I am a beginner in matlab, I have purchased Computer Vision System Toolbox. I have being given 400 of depth images (.PNG images). I would like to create a point cloud for each image. I looked at the documentation of Computer Vision System Toolbox, and there is an example of converting depth image to point cloud (http://uk.mathworks.com/help/vision/ref/depthtopointcloud.html):

[xyzPoints,flippedDepthImage] = depthToPointCloud(depthImage,depthDevice)
depthDevice = imaq.VideoDevice('kinect',2)

but the thing that I don't understand is that it requires Kinect camera and connection. I am not connecting to Kinect, I don't have Kinect, I am just given the output of Kinect which are the depth images.

how to make use of the function(depthToPointCloud) in the toolbox in generating cloud points from already given depth images without connecting to Kinect camera?


回答1:


Unfortunately, the depthToPointCloud function only works with Kinect v1, and it requires a connection to the Kinect to get the camera parameters.



来源:https://stackoverflow.com/questions/32967842/generate-a-point-cloud-from-a-given-depth-image-matlab-computer-vision-system-to

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