项目作者: mitjap

项目描述 :
CPU implementation of "Pixelwise View Selection for Unstructured Multi-View Stereo (Schönberger et al.)"
高级语言: C++
项目地址: git://github.com/mitjap/pwmvs.git
创建时间: 2018-07-18T09:21:19Z
项目社区:https://github.com/mitjap/pwmvs

开源协议:Mozilla Public License 2.0

下载


PWMVS

CPU implementation of “Pixelwise View Selection for Unstructured Multi-View Stereo (Schönberger et al.)”

For GPU implementation go to https://github.com/colmap/colmap.

How to build

Dependencies

First make sure you have all dependencies installed on your system.

sudo apt-get install libomp-dev

sudo apt-get install libeigen3-dev

To build OpenMVG follow these instructions. I will refer to OpenMVG installation directory as <OpenMVG_install_dir>.

  1. git clone git@github.com:mitjap/pwmvs.git
  2. mkdir pwmvs-build && cd pwmvs-build
  3. cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../ pwmvs-install -DOpenMVG_DIR=<OpenMVG_install_dir>/share/openMVG/cmake ../pwmvs
  4. cmake --build . --target install

How to include PWMVS to your software

Including PWMVS in your software should be fairly simple. I’ll refer to PWMVS installation directory as <PWMVS_install_dir>

Just add this to your CMakeLists.txt file:

  1. find_package(pwmvs)
  2. target_link_libraries(<your_target> PRIVATE pwmvs)

You will also need to specify PWMVS installation directory with:

  1. pwmvs_DIR=<PWMVS_install_dir>/share/pwmvs/cmake

How to use PWMVS

For complete example take a look at main.cpp. To run dense reconstruction on your OpenMVG project export sfm_data.json in same folder as images, set proper path in main.cpp and run.