Pyntcloud

pyntcloud is a Python library for working with 3D point clouds.
Alternatives To Pyntcloud
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Pointnet3,907
6 months ago174otherPython
PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation
Awesome Point Cloud Analysis3,171
a year ago1
A list of papers and datasets about point cloud analysis (processing)
Cloudcompare2,617
3 days ago177otherC++
CloudCompare main repository
3d Pointcloud1,374
5 days ago2Python
Papers and Datasets about Point Cloud.
Votenet1,357
a year ago71mitPython
Deep Hough Voting for 3D Object Detection in Point Clouds
Polyscope1,336
2 days ago75mitC++
A C++ & Python viewer for 3D data like meshes and point clouds
Pyntcloud1,22382 months ago11May 27, 202249mitPython
pyntcloud is a Python library for working with 3D point clouds.
Pcl Learning957
8 days ago1mitC++
🔥PCL(Point Cloud Library)点云库学习记录
Easy3d938
21 days ago6gpl-3.0C++
A lightweight, easy-to-use, and efficient C++ library for processing and rendering 3D data
3d Shape Analysis Paper List818
11 days ago2Python
A list of recent papers, libraries and datasets about 3D shape/scene analysis (by topics, updating).
Alternatives To Pyntcloud
Select To Compare


Alternative Project Comparisons
Readme

Making point clouds fun again

Github Actions C.I. Documentation Status Launch Binder pyntcloud logo

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

Installation

conda install pyntcloud -c conda-forge

Or:

pip install pyntcloud

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")

Integration with other libraries

pyntcloud offers seamless integration with other 3D processing libraries.

You can create / convert PyntCloud instances from / to many 3D processing libraries using the from_instance / to_instance methods:

import open3d as o3d
from pyntcloud import PyntCloud

# FROM Open3D
original_triangle_mesh = o3d.io.read_triangle_mesh("diamond.ply")
cloud = PyntCloud.from_instance("open3d", original_triangle_mesh)

# TO Open3D
cloud = PyntCloud.from_file("diamond.ply")
converted_triangle_mesh = cloud.to_instance("open3d", mesh=True)  # mesh=True by default
import pyvista as pv
from pyntcloud import PyntCloud

# FROM PyVista
original_point_cloud = pv.read("diamond.ply")
cloud = PyntCloud.from_instance("pyvista", original_point_cloud)

# TO PyVista
cloud = PyntCloud.from_file("diamond.ply")
converted_triangle_mesh = cloud.to_instance("pyvista", mesh=True)
Popular Cloud Computing Projects
Popular 3d Graphics Projects
Popular Cloud Computing Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Deep Learning
Cloud
3d Graphics
3d
Processing
Python Library
Point Cloud
3d Models