地址:https://github.com/strawlab/python-pcl
Python支持的pcl模块比较少:
- I/O and integration
- segmentation
- SAC
- smoothing
- filtering
- registration (ICP, GICP, ICP_NL)
The code tries to follow the Point Cloud API, and also provides helper function for interacting with NumPy. For example (from tests/test.py):
import pcl import numpy as np p = pcl.PointCloud(np.array([[1, 2, 3], [3, 4, 5]], dtype=np.float32)) seg = p.make_segmenter() seg.set_model_type(pcl.SACMODEL_PLANE) seg.set_method_type(pcl.SAC_RANSAC) indices, model = seg.segment()