GithubHelp home page GithubHelp logo

no-materials / deep-geometric-prior Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fwilliams/deep-geometric-prior

0.0 1.0 0.0 422 KB

The reference implementaiton for the paper "Deep Geometric Prior for Surface Reconstruction"

Python 100.00%

deep-geometric-prior's Introduction

Deep Geometric Prior for Surface Reconstruction

The reference implementaiton for the CVPR 2019 paper Deep Geometric Prior for Surface Reconstruction.

There are several programs in this repository explained in detail below. The documentation for each program can be seen by running it with the -h flag. The code is also extensively commented and should be easy to follow. Please create GitHub issues or reach out to me by email if you run into any problems.

  • reconstruct_surface.py:

    Compute a set of patches which represent a surface.

    This program produces a file (defaulting to out.pt) as output which can be used to upsample a point cloud with export_point_cloud.py. You can optionally plot the reconstruction with plot_reconstruction.py.

  • reconstruct_single_patch.py

    Compute a single surface patch fitted to a point cloud.

    As with reconstruct_surface.py, this program produces a file (defaulting to out.pt) as output which can be used to upsample a point cloud with export_point_cloud.py. You can optionally plot the reconstruction with plot_reconstruction.py.

  • plot_reconstruction.py

    Plots a reconstructed point cloud produced by reconstruct_surface.py or reconstruct_single_patch.py

  • export_point_cloud.py

    Exports a dense point cloud from a reconstruction file produced by reconstruct_surface.py or reconstruct_single_patch,py. This can be fed into a standard algorithm such as Screened Poisson Surface Reconstruction to extract a triangle mesh.

Dependencies

With conda (Recommended)

All dependencies can be automatically installed with conda using the provided environment.yml Simply run the following from the root of the repository:

conda env create -f environment.yml

This will create a conda environment named deep-surface-prior with all the correct dependencies installed. You can activate the environment by running:

conda activate deep-surface-prior

Note: this code will not work on Windows due to lack of support by the Point Cloud Utils dependency.

Installing Dependencies Manually (Not Recommended)

If you are not using Conda, you can manually install the following dependencies:

  • Python 3.6 (or later)
  • PyTorch 1.0
  • NumPy 1.15 (or later)
  • SciPy 1.1.0 (or later)
  • FML 0.1 (or later)
  • Point Cloud Utils 0.52 (or later)
  • Maxavi 4.6.2 (or later)

deep-geometric-prior's People

Contributors

fwilliams avatar

Watchers

 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.