colincsl / python-pcl

Python bindings to the pointcloud library (pcl)

Home Page:http://strawlab.github.com/python-pcl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fork me on GitHub

Introduction

This is a small python binding to the pointcloud library. Currently, the following parts of the API are wrapped (all methods operate on PointXYZ) point types

  • I/O and integration; saving and loading PCD files
  • segmentation
  • SAC
  • smoothing
  • filtering

The code tries to follow the Point Cloud API, and also provides helper function for interacting with numpy. For example (from tests/test.py)

or, for smoothing

More samples can be found in the examples directory, and in the unit tests.

This work was supported by Strawlab.

Requirements

This release has been tested on Ubuntu 12.10 with

  • pcl 1.5.1-1
  • Cython 0.16-1 (experimental)

A note about types

Point Cloud is a heavily templated API, and consequently mapping this into python using Cython is challenging.

It is written in Cython, and implements enough hard bits of the API (from Cythons perspective, i.e the template/smart_ptr bits) to provide a foundation for someone wishing to carry on.

API Documentation

pcl.PointCloud pcl.Segmentation pcl.SegmentationNormal pcl.StatisticalOutlierRemovalFilter pcl.MovingLeastSquares pcl.PassThroughFilter pcl.VoxelGridFilter

For deficiencies in this documentation, please consule the PCL API docs, and the PCL tutorials.

pcl

About

Python bindings to the pointcloud library (pcl)

http://strawlab.github.com/python-pcl/


Languages

Language:Python 95.6%Language:C++ 3.0%Language:C 1.4%