查看: 4797|回复: 0
打印 上一主题 下一主题

[计算机视觉] 基于RGB-D相机的三维物体建模(代码下载)

[复制链接]

146

主题

3

听众

1503

积分

助理设计师

Rank: 4

纳金币
1794
精华
4
跳转到指定楼层
楼主
发表于 2018-6-4 10:06:48 |只看该作者 |倒序浏览
这是一个基于RGB-D相机的三维物体建模的简单演示。
ClaireXie/modeling_3d
语言:C++
如果您使用此代码进行研究,请引用以下文章:
[1] J. Xie, Y.F. Hsu, R. Feris, M.T. Sun, "Fine registration of 3D point clouds fusing structural and photometric information using an RGB-D camera," Journal of Visual Communication and Image Representation (JVCI), vol. 32, pp. 194-204, Oct. 2015.
[2] M. Jaiswal, J. Xie and M.T. Sun, "3D Object Modeling with a kinect Camera," Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (ApsIPA ASC) 2014.
构建环境
Building requires CMake, OpenCV, and PCL cross platform toolkit. The recommended OpenCV version is 2.4.x (3.x may not work!) and the recommended PCL version is 1.7. The program has been tested to successfully build on Ubuntu 14.04 with OPENCV 2.4.9, PCL 1.7.1 installed.

运行
  1. $reconstruct -[dir of txt file for the input image names]  [options]
复制代码
  1. //<span style="display: inline !important; float: none; background-color: transparent; color: rgb(0, 96, 0); font-family: -apple-system,BlinkMacSystemFont,; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">  [options]//</span>
  2. -r   <threhold_r>       adjust registration threshold (DEFAULT=0.0035f)
  3. -h                      this help
  4. -g                      global Alignment
  5. -lcoff                  turn off loop detection switch (DEFAULT=1)
  6. -m                      moving least square surface smoothing
  7. -dn                     de-noising (statistic outlier removal)
  8. -vd  <threshold_vd>     voxel down sampling (DEFAULT=0.002f)
  9. -iter <# of iterations> global alignment iterations (DEFAULT=3)
  10. -hessian <threshold_h>  SIFT matching threshold (DEFAULT=200f), lower-> more matches
复制代码
TXT文件将指向一个目录,并列出用于输入图像名称的TXT文件的重构格式的图像名称应该是:
  1. dir/frame1
  2. dir/frame2
  3. ...
  4. dir/frame N (without format extension)
复制代码
对于每个图像名称,它应该指向四个文件,具有以下名称:
  1. Depth image:     framex_depth.png
  2. RGB image:       framex_rgb.png
  3. Mask image:      framex_mask.png    #pre-Segmentated mask, segmentation is not included in the source code
  4. Location file:   framex_loc.txt     #(optional) cropping location indication if the image is cropped
复制代码
命令是/:
  1. $reconstruct ../resources/ -g -dn -vd 0.001 -m
复制代码
modeling_3d-master.zip (2.9 MB, 下载次数: 0, 售价: 10 纳金币)

分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2024-11-11 09:04 , Processed in 0.092888 second(s), 34 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部