本文介绍了从给定的深度图像生成点云image-matlab计算机视觉系统工具箱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Matlab的初学者,已经购买了Computer Vision System Toolbox.我已经得到了400张深度图像(.PNG图像).我想为每个图像创建一个点云.我查看了Computer Vision System Toolbox的文档,并有一个将深度图像转换为点云的示例( http://uk.mathworks.com/help/vision/ref/depthtopointcloud.html ):

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)

但是我不明白的是它需要Kinect cameraconnection.我没有连接到Kinect,没有Kinect,仅得到了Kinect的输出,即深度图像.

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.

如何在不连接Kinect相机的情况下利用工具箱中的function(depthToPointCloud)从已经给定的深度图像生成浊点?

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才能获取相机参数.

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

这篇关于从给定的深度图像生成点云image-matlab计算机视觉系统工具箱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-14 00:46