colmap 初体验🫠🎶

安装:Installation — COLMAP 3.9-dev documentation
使用:Tutorial — COLMAP 3.9-dev documentation

准备数据集

下载一个小猫的RGB数据集 THU-MVS: Multi-View 3D Reconstruction Datasets
创建 project_cat 文件夹,把图片放 project_cat/images

启动程序

运行 COLMAP.bat启动程序,官方文档中有一些实用的操作说明:Graphical User Interface — COLMAP 3.9-dev documentation

  • Rotate model: Left-click and drag.

  • Shift model: Right-click or -click (-click) and drag.

  • Zoom model: Scroll.

  • Change point size: -scroll (-scroll).

  • Change camera size: -scroll. (红色的表示相机拍摄位置的符号)

  • Adjust clipping plane: -scroll. (距离观察视点一定距离的点会被 clipped)

  • Select point: Double-left-click point (change point size if too small). The green lines visualize the projections into the images that see the point. The opening window shows the projected locations of the point in all images.
    图片[1] - colmap 初体验🫠🎶 - MaxSSL

  • Select camera: Double-left-click camera (change camera size if too small). The purple lines visualize images that see at least one common point with the selected image. The opening window shows a few statistics of the image.

  • Reset view: To reset all viewing settings, choose Render > Reset view.

执行一次自动(默认行为)的重建

执行 Automatic reconstruction 进行一次
图片[2] - colmap 初体验🫠🎶 - MaxSSL
图片[3] - colmap 初体验🫠🎶 - MaxSSL

需要等待比较久的时间,最开始比较占用CPU,大概执行的是特征点计算和匹配一类的,后面会占用比较大的GPU使用率,GPU内存占用大概2G.

到下面的界面后表明完成。
图片[4] - colmap 初体验🫠🎶 - MaxSSL
同时介绍了可视化sparse, dense, mesh 模型结果的方法。
图片[5] - colmap 初体验🫠🎶 - MaxSSL

效果图
图片[6] - colmap 初体验🫠🎶 - MaxSSL

稀疏重建

图片[7] - colmap 初体验🫠🎶 - MaxSSL

稠密重建

图片[8] - colmap 初体验🫠🎶 - MaxSSL
图片[9] - colmap 初体验🫠🎶 - MaxSSL
凑近看是稠密点云
图片[10] - colmap 初体验🫠🎶 - MaxSSL
图片[11] - colmap 初体验🫠🎶 - MaxSSL

ground-truth

图片[12] - colmap 初体验🫠🎶 - MaxSSL
图片[13] - colmap 初体验🫠🎶 - MaxSSL

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享