Coder Social home page Coder Social logo

saifaati / rec3d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rogermm14/rec3d

0.0 0.0 0.0 331.02 MB

Multi-view 3D Reconstruction via Depth Map Fusion

License: GNU Affero General Public License v3.0

Shell 3.13% C++ 82.77% Python 3.47% HTML 9.50% CMake 1.13%

rec3d's Introduction

Multi-view 3D Reconstruction via Depth Map Fusion


Linux compilation

This software was developed using Ubuntu 16.04

Required tools:

  • Cmake
  • C/C++ compiler

Required external libraries:

Python:

  • python-numpy
  • python-matplotlib
  • python-pyexiv2

You will need to apply some changes to the OpenMVG library to run the software successfully. All the necessary modifications and files are listed in modifications_openmvg.

You can use the INSTALL.sh script to compile the software after all the previous tools listed above are correctly setup. Alternatively, you can use the already compiled binaries instead.

Do not forget to change the necessary paths at the beginning of the following scripts:

  • reconstruct_dataset.sh
  • reconstruct_pipeline.sh
  • sfm.py

How to use the software

To reconstruct a dataset:

  1. Copy ONLY the collection of input images (.jpg and .png formats are accepted) in a folder located at the rec3D/data directory.

  2. Run the script reconstruct_dataset.sh passing as argument the name of the dataset folder. The default parameters will be used for the 3D reconstruction.

    • Example call: $ bash reconstruct_dataset.sh castle
  3. Feel free to modify the 3D reconstruction paramters in the reconstruct_pipeline.sh script. Read [2] for further information about the algorithms implemented in the software.

    • To see the list of available paramters for depth map generation and fusion: $ ./rec3D --help
    • To see the list of available paramters for mesh extraction: $ ./marchingCubes --help
    • To see the list of available paramters for mesh painting: $ ./paintMesh --help
    • To see the list of available paramters for bbox adjustment: $ ./adjustBox --help

Citations

[1] Moulon Pierre, Monasse Pascal, Marlet Renaud, et al. (2013). OpenMVG: an Open Multiple View Geometry library.

[2] Marí Roger (2017). Multi-view 3D Reconstruction via Depth Map Fusion for a Smartphone Application.

If you find this software or some part of it useful, please cite it as:

  @misc{mari2017depthfusion,
    author = "Roger Mar{\'i}",
    title = "Multi-view 3D Reconstruction via Depth Map Fusion for a Smartphone Application",
    year = "2017",
    howpublished = "\url{https://github.com/rogermm14/rec3D}" 
  }

rec3d's People

Contributors

rogermm14 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.