GithubHelp home page GithubHelp logo

clouds1997 / pointcloudregistration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skunne/pointcloudregistration

0.0 0.0 0.0 8.75 MB

Registering two 3d point clouds

Shell 0.20% C++ 60.65% Python 16.11% C 0.98% Makefile 20.36% CMake 1.70%

pointcloudregistration's Introduction

Point Cloud Registration

Based on Huang et al, 2017 (1). Using the Point Cloud Library, and in particular code from J. Papon and W. Wohlkinger.

  • Input: two point clouds
  • For each point cloud:
    • Supervoxel Clustering following Papon et al, 2013 (2)
    • For each cluster:
      • Compute the 640 ESF descriptors of the cluster following Wohlkinger & Vincze, 2011 (3)
    • For each edge between adjacent clusters:
      • Compute the 4 descriptors (angle_x, angle_y, angle_z, distance) following Huang et al, 2017 (1)
  • Build vertex similarity matrix using distance between ESF descriptors
  • Build edge similarity matrix using distance between 4-descriptors
  • Match the two resulting graphs using Frank-Wolfe algorithm for quadratic programming (5)
  • Apply RANSAC algorithm (6) to the graph vertices to remove outliers [currently in https://github.com/skunne/pointcloudregistration/tree/develop/tests/maketests]
  • Find a rigid geometric transform to map the first set of graph vertices to the second set [currently in https://github.com/skunne/pointcloudregistration/tree/develop/tests/maketests]
  • TODO Apply ICP algorithm (7, 8) to the graph vertices as a final refinement

Dependencies

Install

git clone https://github.com/skunne/pointcloudregistration.git
cd pointcloudregistration
cmake .
make

Usage

The executable expects two arguments. Each argument is the name of a metadata file. A metadata file contains the name of a pointcloud file in .vtk, .pcd or .ply format, along with parameters for the supervoxel clustering algorithm. Examples of metadata files can be found in the metadata/ subfolder, and the corresponding point cloud files in the pointclouds/ subfolder. For an overview of the parameters, please refer to http://pointclouds.org/documentation/tutorials/supervoxel_clustering.php and to the corresponding paper (2).

Example use:

./register_pointclouds metadata/big1.meta metadata/rot.meta

References

(1) "A Systematic Approach for Cross-Source Point Cloud Registration by Preserving Macro and Micro Structures", Huang, Zhang, Fan, Wu, Yuan, IEEE Transactions on Image Processing, 2017

(2) "Voxel Cloud Connectivity Segmentation - Supervoxels for Point Clouds", Papon, Abramov, Schoeler, Wörgötter, IEEE Conference on Computer Vision and Pattern Recognition, 2013

(3) "Ensemble of Shape Functions for 3D Object Classification", Wohlkinger, Vincze, IEEE International Conference on Robotics and Biomimetics, 2011

(4) "A Path Following Algorithm for the Graph Matching Problem", Zaslavskiy, Bach, Vert, IEEE Transactions on Pattern Analysis and Machine Intelligence, 2009

(5) "An Algorithm for Quadratic Programming", Frank, Wolfe, Naval research logistics quarterly, 1956

(6) "Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography.", Fischler, Bolles, Communications of the ACM, 1981

(7) "A Method for Registration of 3-D Shapes", Besl, McKay, IEEE Trans. Pattern Anal. Mach. Intell., 1992

(8) "Object modeling by registration of multiple range images", Chen, Medioni, 1991

pointcloudregistration's People

Contributors

skunne avatar

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.