英特尔
直播中

乐骞添

7年用户 1011经验值
私信 关注
[问答]

怎么将RealSense D415包文件转换为PCD

我10天前收到了我的RealSense D415(我不是开发人员),我正试图用它进行房间扫描。
我通过查看器和Unity包装器记录了一个* .bag文件,我正在尝试将.bag文件转换为点云;
我尝试过使用ROS:
rosrun pcl_ros bag_to_pcd
但是输出目录总是空的,那么有没有办法可以用来从D415获得点云(然后创建一个网格)?
顺便说一句:我在观众中尝试了* .PLY,这不是3D扫描,它只是一个深度拍摄/拍摄直接在相机前面而不是真正的3D扫描。
可以使用RecFusion,但它对要扫描的对象的大小有限制。
提前致谢。

以上来自于谷歌翻译


以下为原文

I've received my RealSense D415 10 days ago (I'm not a developer) and I was trying to use it for room scanning. I've recorded a *.bag file through the viewer and the Unity wrapper and I'm trying to convert the .bag file to a point cloud; I've tried using ROS:

rosrun pcl_ros bag_to_pcd

But the output directory is always empty, so is there a way that I can use to get a point cloud (then create a mesh) from the D415?

BTW: I've tried the *.PLY in the viewer and that's not a 3D scan it's simply a depth snap/shot of what is directly in-front of the camera not a real 3D scan. RecFusion can be used but it has limitations on the size of the object you want to scan.

Thanks in advance.

回帖(36)

卿洁

2018-11-23 11:49:35
以下链接包含有关将RealSense点云数据转换为PCD的长篇讨论。
将RealSense Pointcloud转换为PCL Pointcloud
或者,一旦您记录了.ply点云,您就可以将其转换为3D软件(如MeshLab或Blender)中的实体网格。
下面的链接提供了指向MeshLab中指南的链接。
Re:有没有用于realsense D400的3D扫描软件???
我不是开发人员

以上来自于谷歌翻译


以下为原文

The link below contains a long discussion about converting RealSense point cloud data to PCD.
 
Converting RealSense Pointcloud to PCL Pointcloud
 
Alternatively, once you have a .ply point cloud recorded then you can convert it to a solid mesh in 3D software such as MeshLab or Blender.  The link below has linkages to guides to doing so in MeshLab.
 
Re: is there any 3d scanning software for  realsense D400??? I AM  NOT A DEVELOPER
举报

乐骞添

2018-11-23 12:00:28
引用: nywerwer 发表于 2018-11-23 19:22
以下链接包含有关将RealSense点云数据转换为PCD的长篇讨论。
将RealSense Pointcloud转换为PCL Pointcloud
或者,一旦您记录了.ply点云,您就可以将其转换为3D软件(如MeshLab或Blender)中的实体网格。

感谢MartyG的回复,我在研究中发现了这两个链接,并没有解决我想要解决的问题:
1.第一个链接没有解决将包文件转换为PCD的问题,它只涉及使用PCL和涉及它,我认为它只覆盖单个帧而不是多个帧。
2.第二个链接(正如我在我的问题中所述)涵盖了.PLY,它适用于单个框架,与扫描对象(正面,背面)和为其创建模型无关。
我想将包转换为PCD,以便能够从包文件中记录的所有帧创建网格,而不是从单个帧创建。
再次感谢,如果您有解决方案,请通知我,我将非常感激。

以上来自于谷歌翻译


以下为原文

Thanks MartyG for your reply, I've found these two links in my research and both don't address the problem I'm trying to solve:
1. The first link doesn't address converting the bag file to PCD, it's only covering using the PCL and from dabbling with it, i reckon that it only covers a single frame not multiple frames.
 
2. The second link (as I've said in my question) covers the .PLY which is for a single frame and that has nothing to do with scanning an object (front, back sides) and creating a model for it.
 
I want to convert the bag to PCD to be able to create a mesh from all of the frames recorded in the bag file not from a single frame.
 
Thanks again, please if you've a solution for that inform me about it, I'd be very grateful.
举报

卿洁

2018-11-23 12:11:33
引用: iujwers 发表于 2018-11-23 19:33
感谢MartyG的回复,我在研究中发现了这两个链接,并没有解决我想要解决的问题:
1.第一个链接没有解决将包文件转换为PCD的问题,它只涉及使用PCL和涉及它,我认为它只覆盖单个帧而不是多个帧。
2.第二个链接(正如我在我的问题中所述)涵盖了.PLY,它适用于单个框架,与扫描对象(正面,背面)和为其创建模型无关。

可以使用SDK的“转换”工具将包转换成其他格式(例如袋到层)以满足您的需求吗?
librealsense / tools / convert at master·IntelRealSense / librealsense·GitHub

以上来自于谷歌翻译


以下为原文

Might the SDK's 'Convert' tool for converting a bag into other formats (e.g bag to ply) suit your needs?
 
librealsense/tools/convert at master · IntelRealSense/librealsense · GitHub
举报

乐骞添

2018-11-23 12:28:49
引用: nywerwer 发表于 2018-11-23 19:44
可以使用SDK的“转换”工具将包转换成其他格式(例如袋到层)以满足您的需求吗?
librealsense / tools / convert at master·IntelRealSense / librealsense·GitHub

感谢MartyG没有看到那个:-)我将尝试并在此处说明结果,因为这可能对社区中的其他人有所帮助,再次感谢:-)

以上来自于谷歌翻译


以下为原文

Thanks  MartyG haven't seen that one:-) I'm going to try it and state the outcome here, as that might be helpful for others in the community, thanks again :-)
举报

更多回帖

发帖
×
20
完善资料,
赚取积分