ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

已知数据集位姿,直接Colmap稠密重建

2022-01-19 23:32:48  阅读:544  来源: 互联网

标签:Undistorted 稠密 14 image images dense Colmap 集位 dslr


新建colmap项目:Pipe,将数据集的真实位姿复制到/home/xzx/code/colmap/Pipe/created/sparse
在这里插入图片描述
不进行稀疏重建,直接执行MVS步骤生成深度图。

稀疏重建(三角剖分)对于稠密重建并不是必须的。在已知相机Pose的情况下可以直接进行稠密重建,首先在 Pipe目录下运行命令:
在这里插入图片描述
在这里插入图片描述

colmap image_undistorter --image_path images --input_path created/sparse --output_path dense
xzx@xzx-legion-ren7000p:~/code/colmap/Pipe$ colmap image_undistorter --image_path images --input_path created/sparse --output_path dense

==============================================================================
Reading reconstruction
==============================================================================

 => Reconstruction with 14 images and 2473 points

==============================================================================
Image undistortion
==============================================================================

Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0647.JPG
Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0646.JPG
Undistorted image found; copying to location: Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0643.JPGdense/images/dslr_images_undistorted/DSC_0644.JPG
Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0638.JPG
Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0636.JPG
Undistorting image [1/14]
Undistorted image found; copying to location: Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0641.JPG
Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0639.JPG

Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0635.JPG
Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0634.JPG
dense/images/dslr_images_undistorted/DSC_0642.JPG
Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0645.JPG
Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0640.JPG
Undistorted image found; copying to location: dense/images/dslr_images_undistorted/DSC_0637.JPG
Undistorting image [2/14]
Undistorting image [3/14]
Undistorting image [4/14]
Undistorting image [5/14]
Undistorting image [6/14]
Undistorting image [7/14]
Undistorting image [8/14]
Undistorting image [9/14]
Undistorting image [10/14]
Undistorting image [11/14]
Undistorting image [12/14]
Undistorting image [13/14]
Undistorting image [14/14]
Writing reconstruction...
Writing configuration...
Writing scripts...
Elapsed time: 0.000 [minutes]

我们需要指定最小深度 depth_min 和最大深度 depth_max 来执行mvs,具体数值根据场景来定:

colmap patch_match_stereo --workspace_path dense --PatchMatchStereo.depth_min 0.0 --PatchMatchStereo.depth_max 20.0

在这里插入图片描述
参考:

  1. COLMAP已知相机内外参数重建稀疏/稠密模型 http://www.mamicode.com/info-detail-2838274.html

标签:Undistorted,稠密,14,image,images,dense,Colmap,集位,dslr
来源: https://blog.csdn.net/qq_60225495/article/details/122591946

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有