GithubHelp home page GithubHelp logo

acschaefer / ppe Goto Github PK

View Code? Open in Web Editor NEW
23.0 5.0 8.0 3.9 MB

Probabilistic plane extraction

License: MIT License

CMake 3.92% C++ 28.08% C 0.77% MATLAB 34.46% Cuda 32.17% Objective-C 0.60%
lidar-point-cloud probabilistic plane extraction ppe ground-truth-segmentation segcomp synpeb

ppe's Introduction

PPE: Probabilistic Plane Extraction

Ground-truth segmentation of a SynPEB scan Corresponding PPE segmentation
Ground-truth segmentation of a SynPEB scan Corresponding PPE segmentation

This repository contains the implementation of the plane extraction algorithm presented in the following paper:

Alexander Schaefer, Johan Vertens, Daniel Büscher, Wolfram Burgard:
A Maximum Likelihood Approach to Extract Finite Planes from 3-D Laser Scans.
Proceedings of the IEEE International Conference on Robotics and Automation, Montreal, Canada, May 2019.

[BibTeX]

This plane extraction algorithm takes an organized 3-D point cloud as input and outputs a set of planes that approximate the geometry underlying the point cloud.

How to extract planes

To extract planes from an organized point cloud, use the function pcextrpln. For details about how to use pcextrpln, please refer to the detailed documentation in the function header.

In order to accelerate the plane extraction process, it is recommended to compile the CUDA code in the gpufit folder. For instructions, see the corresponding readme file. Make sure the resulting mex files are on the MATLAB path.

To test the plane extractor, run the following code, which extracts planes from the test data we provide:

% Read the point cloud.
pc = pcread('../data/test_100.pcd')

% Extract planes.
res = pcextrpln(pc, 'e', 0.1, 'device', 'gpu')

% Visually compare ground truth and the computed segmentation.
plotseg(pc, res.plane)

While testing our plane extraction algorithm and comparing it to other methods, we found out that the well established SegComp dataset exhibits several deficiencies, which are described in our paper. In order to create a new strong baseline, we created the Synthetic Plane Extraction Benchmark: SynPEB. The SynPEB dataset can be downloaded at http://synpeb.cs.uni-freiburg.de/.

Side view of the ground-truth segmentation of a SegComp scan
Side view of the ground-truth segmentation of a SegComp scan

How to repeat our experiments

To verify our experimental results, follow the steps below. They have been tested for MATLAB R2018a.

  1. Open MATLAB and navigate to the matlab folder.
  2. Add all files in this folder to the MATLAB path.
  3. Run the script gendata.m to download the SegComp and SynPEB dataset.
  4. Run the script runexp.m to perform the experiments.
  5. To trigger the automatic evaluation of the data generated during the experiments, start the script evalexp.m.
  6. Visualize the evaluation results by executing the script ploteval.m.

ppe's People

Contributors

acschaefer avatar adrianjp88 avatar jkfindeisen avatar superchromix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ppe's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.