我是matlab的初学者,我购买了计算机视觉系统工具箱。我得到了400张深度图像(.PNG图像)。我想为每个图像创建一个点云。我查看了计算机视觉系统工具箱的文档,并且有一个将深度图像转换为点云的示例(http://uk.mathworks.com/help/vision/ref/depthtopointcloud.html):
[xyzPoints,flippedDepthImage] = depthToPointCloud(depthImage,depthDevice)
depthDevice = imaq.VideoDevice('kinect',2)
但我不明白的是它需要Kinect camera
和connection
。我没有连接到Kinect,我没有Kinect,我只是给出了Kinect的输出,这是深度图像。
如何利用工具箱中的function(depthToPointCloud)
从已经给定的深度图像生成云点,而无需连接到Kinect摄像头?
答案 0 :(得分:1)
不幸的是,depthToPointCloud
功能仅适用于Kinect v1,它需要连接到Kinect才能获取摄像头参数。