简体   繁体   中英

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

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?

不幸的是, depthToPointCloud函数只适用于 Kinect v1,它需要连接到 Kinect 才能获取相机参数。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM