admin管理员组文章数量:1598075
近期因为想要入选学校某位很厉害的老师的某个项目,布置的小任务就是先把colmap以及openMVS跑一跑。我就记录了一下学习的经过。
一、Ubuntu上源码编译colmap:
参考网址:https://colmap.github.io/install.html
1、获取源码:
git clone https://github/colmap/colmap
2、安装依赖项:
sudo apt-get install \
git \
cmake \
build-essential \
libboost-program-options-dev \
libboost-filesystem-dev \
libboost-graph-dev \
libboost-regex-dev \
libboost-system-dev \
libboost-test-dev \
libeigen3-dev \
libsuitesparse-dev \
libfreeimage-dev \
libgoogle-glog-dev \
libgflags-dev \
libglew-dev \
qtbase5-dev \
libqt5opengl5-dev \
libcgal-dev
PS:在Ubuntu16.04下,CGAL的cmake配置是损坏的,必须安装CGAL的qt5包:
sudo apt-get install libcgal-qt5-dev
3、编译安装Ceres-Solver:
sudo apt-get install libatlas-base-dev libsuitesparse-dev
git clone https://ceres-solver.googlesource/ceres-solver
cd ceres-solver
git checkout $(git describe --tags) # Checkout the latest release
mkdir build
cd build
cmake .. -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
make -j12
sudo make install
4、配置和编译colmap:
git clone https://github/colmap/colmap.git
cd colmap
git checkout dev
mkdir build
cd build
cmake ..
make -j12
sudo make install
好了到这里为止就安装完colmap了。运行一下,
colamp gui
成功打开一个colmap的窗口就说明安装成功
版权声明:本文标题:三维重建_COLMAP安装、使用和参数说明(翻译自官方文档) 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1728299057a1152791.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论