Colmap在Ubuntu18.04下安装使用

官方教程链接
http://www.ceres-solver.org/installation.html

[安装]https://www.cnblogs.com/feifanrensheng/p/9119059.html

在make的时候出现以下问题

cd colmap
git checkout dev
mkdir build
cd build
cmake ..
make
sudo make install

问题:

/home/luckly/Code/COLMAP/ceres-solver/build/colmap/src/base/reconstruction.cc:1384:19: error: ‘Index’ is not a member of ‘Eigen’
       for (Eigen::Index i = 0; i < color.size(); ++i) {
                   ^~~~~
/home/luckly/Code/COLMAP/ceres-solver/build/colmap/src/base/reconstruction.cc:1384:32: error: ‘i’ was not declared in this scope
       for (Eigen::Index i = 0; i < color.size(); ++i) {
                                ^
src/CMakeFiles/colmap.dir/build.make:518: recipe for target 'src/CMakeFiles/colmap.dir/base/reconstruction.cc.o' failed
make[2]: *** [src/CMakeFiles/colmap.dir/base/reconstruction.cc.o] Error 1
CMakeFiles/Makefile2:968: recipe for target 'src/CMakeFiles/colmap.dir/all' failed
make[1]: *** [src/CMakeFiles/colmap.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

原因,Eigen版本低了,3.2->3.3
[报错解决]https://www.freesion.com/article/95351011438/

colmap使用教程
https://www.zhihu.com/zvideo/1303089274150068224

Run COLMAP:

colmap -h
colmap gui

运行colmap

多视图几何三维重建实战系列之COLMAP
https://zhuanlan.zhihu.com/p/184978050

数据集下载:
A number of different datasets are available for download at: https://demuc.de/colmap/datasets/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

R-G-B

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值