GithubHelp home page GithubHelp logo

1054948579 / pyntcloud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daavoo/pyntcloud

0.0 0.0 0.0 14.82 MB

pyntcloud is a Python library for working with 3D point clouds.

Home Page: http://pyntcloud.readthedocs.io

License: Other

Python 81.76% JavaScript 13.46% HTML 4.78%

pyntcloud's Introduction

Making point clouds fun again

Travis Build Status Start in Binder

/docs/images/pyntcloud_logo.png

pyntcloud is a Python 3 library for working with 3D point clouds leveraging the power of the Python scientific stack.

Quick Overview

You can access most of pyntcloud's functionality from its core class: PyntCloud.

With PyntCloud you can perform complex 3D processing operations with minimum lines of code. For example you can:

  • Load a PLY point cloud from disk.
  • Add 3 new scalar fields by converting RGB to HSV.
  • Build a grid of voxels from the point cloud.
  • Build a new point cloud keeping only the nearest point to each occupied voxel center.
  • Save the new point cloud in numpy's NPZ format.

With the following concise code:

from pyntcloud import PyntCloud

cloud = PyntCloud.from_file("some_file.ply")

cloud.add_scalar_field("hsv")

voxelgrid_id = cloud.add_structure("voxelgrid", n_x=32, n_y=32, n_z=32)

new_cloud = cloud.get_sample("voxelgrid_nearest", voxelgrid=voxelgrid_id, as_PyntCloud=True)

new_cloud.to_file("out_file.npz")

pyntcloud's People

Contributors

daavoo avatar kmader avatar threerivers3d-jc avatar nicholas-autio-mitchell avatar saurabhjadhav1911 avatar benitezdemiguel avatar antonmil avatar gsganden avatar justbuchanan avatar n-mca avatar ravijo avatar iindovina avatar jackhadfield avatar joskaaaa 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.