Skip to main content

Analyze large datasets of point clouds recorded over time in an efficient way

Project description

test status test coverage https://github.com/virtual-vehicle/pointcloudset/actions/workflows/doc.yml/badge.svg Docker release PyPi badge PyPi badge

Analyze large datasets of point clouds recorded over time in an efficient way.

Features

  • Handles pointclouds over time

  • Building complex pipelines with a clean and maintainable code

newpointcloud = pointcloud.limit("x",-5,5).filter("quantile","reflectivity", ">",0.5)
  • Apply arbitrary functions to datasets of pointclouds

def isolate_target(frame: PointCloud) -> PointCloud:
   return frame.limit("x",0,1).limit("y",0,1)

def diff_to_pointcloud(pointcloud: PointCloud, to_compare: PointCloud) -> PointCloud:
   return pointcloud.diff("pointcloud", to_compare)

result = dataset.apply(isolate_target).apply(diff_to_pointcloud, to_compare=dataset[0])
  • Support for large files with lazy evaluation and parallel processing

https://raw.githubusercontent.com/virtual-vehicle/pointcloudset/master/images/dask.gif
  • Support for numerical data per point (intensity, range, noise …)

  • Interactive 3D visualisation

https://raw.githubusercontent.com/virtual-vehicle/pointcloudset/master/images/plot_3d.gif
  • High level processing based on dask, pandas, open3D and pyntcloud

  • Docker image is available

  • Optimised - but not limited to - automotive lidar

  • Directly read ROS bagfiles and many pointcloud file formats

  • A commandline tool to convert ROS bagfiles

Use case examples

  • Post processing and analytics of a lidar dataset recorded by ROS

  • A collection of multiple lidar scans from a terrestrial laser scanner

  • Comparison of mutliple pointclouds to a ground truth

  • Analytics of pointclouds over time

  • Developing algorithms on a single frame and then applying them to huge datasets

Installation with pip

Install python package with pip:

pip install pointcloudset

Installation with Docker

The easiest way to get started is to use the pre-build docker tgoelles/pointcloudset or use tgoelles/pointcloudset_base to get a container with all dependencies and install pointcloudset there.

Quickstart

from pointcloudset import Dataset, PointCloud
from pathlib import Path

dataset = Dataset.from_file(Path("rosbag_file.bag"), topic="/os1_cloud_node/points", keep_zeros=False)
pointcloud = dataset[42]
pointcloud2 = PointCloud.from_file(Path("lasfile.las"))
  • Read the html documentation.

  • Have a look at the tuturial notebooks in the documentation folder

  • For even more usage examples you can have a look at the tests

Citation and contact

orcid Thomas Gölles email: thomas.goelles@v2c2.at

ADD link to JOSS paper here and DOI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pointcloudset-0.2.3.tar.gz (28.2 kB view hashes)

Uploaded Source

Built Distribution

pointcloudset-0.2.3-py3-none-any.whl (35.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page