Python library for working with 3D point clouds.
Project description
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_id=voxelgrid_id, as_PyntCloud=True)
new_cloud.to_file("out_file.npz")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyntcloud-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 290749acbdee3f78bd497eb0d1acabe3b7378ee69c294f9a6e77feb78b8abc14 |
|
MD5 | 3097126d65d53ac9a358ba35c96b1416 |
|
BLAKE2b-256 | add4ccbbef40c284dda62d9133a79ffa9fdf3bbe2ce5fcd6d7d06e9a677b8336 |