Giter VIP home page Giter VIP logo

pypoisson's Introduction

Poisson Surface Reconstruction Python Binding

Poisson Surface Reconstruction v6.13

Python Binding of Poisson Reconstruction by [Michael Kazhdan] (http://www.cs.jhu.edu/~misha/Code/PoissonRecon/Version6.13/) for C++ GNU Compilation PoissonRecon_v6_13 based on the MATLAB MEX-File bindings by Daeyun Shin


Installation

$ git clone --recursive git://github.com/mmolero/pypoisson.git
$ cd pypoisson
$ python setup.py build
$ python setup.py install

tested on Windows, OSX & Linux

Go to the example folder

from pypoisson import poisson_reconstruction
from ply_from_array import points_normals_from, ply_from_array

filename = "horse_with_normals.xyz"
output_file = "horse_reconstruction.ply"

#Helper Function to read the xyz-normals point cloud file
points, normals = points_normals_from(filename)

faces, vertices = poisson_reconstruction(points, normals, depth=10)

#Helper function to save mesh to PLY Format
ply_from_array(vertices, faces, output_file=output_file)
 

Development

This python binding is still in progress, any feedback is welcome

pypoisson's People

Contributors

bhatiaharsh avatar hendrikf avatar miguelmolero avatar mmolero avatar vwvw 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.