【问题标题】:generate a point cloud from a given depth image-matlab Computer Vision System Toolbox从给定的深度图像生成点云-matlab 计算机视觉系统工具箱
【发布时间】:2016-01-03 05:53:22
【问题描述】:

我是 matlab 的初学者,我购买了 Computer Vision System Toolbox。我收到了 400 张深度图像(.PNG 图像)。我想为每个图像创建一个点云。看了Computer Vision System Toolbox的文档,里面有一个深度图转点云的例子(http://uk.mathworks.com/help/vision/ref/depthtopointcloud.html):

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

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

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

【问题讨论】:

  • @gregswiss 能否解释一下 RGB-D 相机常量:'center = [320 240];' '常数 = 570.3; ''MM_PER_M = 1000;'深度图像来自 Kinect v2
  • 这不是我的代码,但这就是我解释它的方式。 center 是以像素为单位的相机中心,MM_PER_M 是每米的毫米数。常数必须是以像素为单位的焦距(我相信)。

标签: matlab kinect matlab-cvst depth point-clouds


【解决方案1】:

很遗憾,depthToPointCloud 函数仅适用于 Kinect v1,它需要连接到 Kinect 才能获取相机参数。

【讨论】:

  • 你能解释一下RGBD对象数据集的depthToPointCloud函数中的三个参数是什么意思吗?
猜你喜欢
  • 2011-09-13
  • 2015-01-30
  • 2014-07-02
  • 2014-12-10
  • 1970-01-01
  • 2020-04-22
  • 2013-12-18
  • 2014-09-22
  • 1970-01-01
相关资源
最近更新 更多